diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2011-10-21 17:16:48 -0400 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2011-10-21 17:16:48 -0400 |
commit | ad95bc05f498d1748299fa1ea6838d16f03064be (patch) | |
tree | 5b57c7d2649f8d51724761920db4a51b7a6106b8 /bootloaders/nuevo_diskloader | |
parent | 13c5eccbe37e939350846559930edc3781a5817e (diff) |
Enumerates! used inline ASM for operation which moves interrupts to boot section
Diffstat (limited to 'bootloaders/nuevo_diskloader')
-rw-r--r-- | bootloaders/nuevo_diskloader/DiskLoader.elf.hex | 229 | ||||
-rw-r--r-- | bootloaders/nuevo_diskloader/DiskLoader.hex | 229 | ||||
-rw-r--r-- | bootloaders/nuevo_diskloader/src/DiskLoader.cpp | 12 |
3 files changed, 313 insertions, 157 deletions
diff --git a/bootloaders/nuevo_diskloader/DiskLoader.elf.hex b/bootloaders/nuevo_diskloader/DiskLoader.elf.hex index be4d6d1..cd2ae00 100644 --- a/bootloaders/nuevo_diskloader/DiskLoader.elf.hex +++ b/bootloaders/nuevo_diskloader/DiskLoader.elf.hex @@ -1,78 +1,155 @@ -:1070000058C000007BC0000079C0000077C00000BD
-:1070100075C0000073C0000071C000006FC00000A8
-:107020006DC000006BC000000FC20000F9C100007D
-:1070300065C0000063C0000061C000005FC00000C8
-:107040005DC000005BC0000059C0000057C00000D8
-:1070500055C0000053C0000051C000004FC00000E8
-:107060004DC000004BC0000049C0000047C00000F8
-:1070700045C0000043C0000041C000003FC0000008
-:107080003DC000003BC0000039C0000037C0000018
-:1070900035C0000033C0000031C000002FC0000028
-:1070A0002DC000002BC0000029C0000091C09838FE
-:1070B000443A11241FBECFEFDAE0DEBFCDBF11E0AE
-:1070C000A0E0B1E0EAE9F4E702C005900D92A83132
-:1070D000B107D9F711E0A8E1B1E001C01D92AE31CE
-:1070E000B107E1F710E7C2EBD0E703C02297FE013A
-:1070F000CED1CE3AD107D1F76BD0CDC15EC0DC0185
-:1071000080910001909101018F5F9F4F61F4ED919B
-:10711000FC9111970480F581E02DCD0109959093A4
-:107120000101809300018091000190910101089577
-:107130008EE091E090931901809318010895DF93F8
-:10714000CF930F92CDB7DEB7698380910901882371
-:1071500051F083E0BE016F5F7F4F41E050E0CED041
-:107160001816190614F080E090E00F90CF91DF918F
-:10717000089583E05FC120910001309101018FEFFC
-:107180002F3F380739F08FEF9FEF909301018093E5
-:10719000000103C082E08AD09C01C901089582E009
-:1071A00048D0282F80910001909101018F5F9F4F5F
-:1071B00009F02F5F822F90E008951F920F920FB673
-:1071C0000F921124479A0F900FBE0F901F901895A1
-:1071D00081E085BF82E085BF88E10FB6F894809397
-:1071E0006000109260000FBE3F9A209A6E9A90E85D
-:1071F000909361001092610081E885BF95BF769AF7
-:10720000289A47988DE191E029D1789420E931E0DE
-:10721000479A84EC99E0F9013197F1F70197D9F792
-:10722000479884EC99E0F9013197F1F70197D9F784
-:10723000EFCF9FB7F89487708093E9008091F200B8
-:107240009FBF0895282F80911C018823C1F057FF0C
-:107250001AC015C0289890931B018091F10081936A
-:10726000E217F307B9F74115510539F08091F200A3
-:10727000882319F48BE68093E800AFBF02C04FEF7C
-:107280005FEFCA010895AFB7F89427702093E90023
-:107290008091F200282F30E0241735070CF4A90163
-:1072A000FB019B01240F311D94E6DACFDF93CF93CE
-:1072B0000F92CDB7DEB7BE016F5F7F4F41E050E068
-:1072C000C1DF019719F08FEF9FEF02C0898190E035
-:1072D0000F90CF91DF9108952FB7F8948770809326
-:1072E000E9008091E80085FD02C090E004C0809133
-:1072F000F20090E4981B2FBF892F08954F925F9260
-:107300006F927F928F929F92AF92BF92CF92DF92B5
-:10731000EF92FF920F931F93CF93DF93F82E6A01A2
-:1073200080911C01882309F18B01EA016AEFE62EA6
-:1073300057E0552E5F208F2D90E040E2842E912C57
-:10734000882299223AE3432E20E4A22EB12CA822CF
-:10735000B92280EA682E8FE0782E48C08F2DBCDFDE
-:10736000282F882349F4EA9419F44FEF5FEF46C0C1
-:10737000C3010197F1F73AC090E0C817D9070CF4A0
-:107380002C2FC21BD1094FB7F8945092E9008114F9
-:10739000910421F406C01092F10021502223D9F764
-:1073A00019C0F7FC03C0F801922F10C0C801322F9A
-:1073B00006C0FC010196E491E093F10031503323C3
-:1073C000C1F706C081918093F10091509923D1F7C4
-:1073D000020F111D8091E80085FF05C0209729F458
-:1073E000A114B10411F04092E8004FBF209709F0BA
-:1073F000B5CF769884E680931A01A601CA01DF9181
-:10740000CF911F910F91FF90EF90DF90CF90BF90A1
-:10741000AF909F908F907F906F905F904F90089566
-:107420001F920F920FB60F9211240F900FBE0F9064
-:107430001F9018958093E9008091F200882319F03D
-:107440008AE38093E80008951F920F920FB60F927F
-:1074500011240F900FBE0F901F90189510921C01D1
-:1074600081E08093D70080EA8093D80082E189BDD3
-:1074700009B400FEFDCF80E98093D8008CE08093B2
-:10748000E2001092E00008950895EE0FFF1F0590AE
-:0A749000F491E02D0994F894FFCF69
-:10749A00FFFF00E100000000000000000000CF38FC
-:0874AA007F38BB38B9389F3868
+:10700000ACC00000CFC00000CDC00000CBC000006D
+:10701000C9C00000C7C00000C5C00000C3C0000058
+:10702000C1C00000BFC00000FCC200006FC3000070
+:10703000B9C00000B7C00000B5C00000B3C0000078
+:10704000B1C00000AFC00000ADC00000ABC0000088
+:10705000A9C00000A7C00000A5C00000A3C0000098
+:10706000A1C000009FC000009DC000009BC00000A8
+:1070700099C0000097C0000095C0000093C00000B8
+:1070800091C000008FC000008DC000008BC00000C8
+:1070900089C0000087C0000085C0000083C00000D8
+:1070A00081C000007FC000007DC000002DC1080B22
+:1070B00000020202010009040000010202000005B2
+:1070C0002400100105240101010424020605240600
+:1070D00000010705810310004009040100020A00B5
+:1070E000000007050202400000070583024000007F
+:1070F0000403090422034100720064007500690062
+:107100006E006F0020004C0065006F006E00610093
+:10711000720064006F001803410072006400750083
+:1071200069006E006F0020004C004C00430012010B
+:107130000002000000404123340000010102000170
+:10714000120100020200004041233400000101024C
+:10715000000100C18081EC38763B11241FBECFEFC7
+:10716000DAE0DEBFCDBF11E0A0E0B1E0E8E6F9E78C
+:1071700002C005900D92A831B107D9F711E0A8E13E
+:10718000B1E001C01D92A332B107E1F711E7CAE5F2
+:10719000D1E703C02297FE01E1D3C635D107D1F76D
+:1071A000B3D0E0C3A6C0DC01809100019091010141
+:1071B0008F5F9F4F61F4ED91FC9111970480F581F1
+:1071C000E02DCD01099590930101809300018091FC
+:1071D00000019091010108958EE091E090931901D2
+:1071E000809318010895DF93CF930F92CDB7DEB748
+:1071F000698380910901882351F083E0BE016F5FAC
+:107200007F4F41E050E023D11816190614F080E0BA
+:1072100090E00F90CF91DF91089583E0F8C1209125
+:107220000001309101018FEF2F3F380739F08FEFC8
+:107230009FEF909301018093000103C082E0DFD0B3
+:107240009C01C901089582E09DD0282F8091000102
+:10725000909101018F5F9F4F09F02F5F822F90E087
+:107260000895FC0180818E5F808380E86EEA70E77C
+:1072700042E450E07EC182E291E037D2F8940C946F
+:10728000003C0895CF93DF93EC0189819881913A76
+:1072900049F4813251F580E062E071E047E050E06E
+:1072A00068D121C0913209F5803231F482E091E059
+:1072B00067E070E09AD117C08232B9F48091090179
+:1072C000882371F08091020190910301A091040143
+:1072D000B0910501805B9440A040B04009F4CBDF41
+:1072E0008A818093090181E001C080E0DF91CF9124
+:1072F00008951F920F920FB60F921124479A0F9084
+:107300000FBE0F901F90189588E10FB6F8948093E8
+:107310006000109260000FBE3F9A209A6E9A90E82B
+:10732000909361001092610081E885BF95BF01E0F4
+:1073300005BF02E005BF769A289A479882E291E05D
+:10734000BED1789420E931E0479A84EC99E0F901C4
+:107350003197F1F70197D9F7479884EC99E0F90153
+:107360003197F1F70197D9F7EFCFFC0104C0809175
+:10737000F100819361506623D1F7289884E68093C9
+:107380001B0108959FB7F89487708093E90080915E
+:10739000F2009FBF0895282F80911C018823C1F01F
+:1073A00057FF1AC015C0289890931B018091F100D7
+:1073B0008193E217F307B9F74115510539F0809130
+:1073C000F200882319F48BE68093E800AFBF02C077
+:1073D0004FEF5FEFCA010895AFB7F894277020937D
+:1073E000E9008091F200282F30E0241735070CF4D3
+:1073F000A901FB019B01240F311D94E6DACFDF9335
+:10740000CF930F92CDB7DEB7BE016F5F7F4F41E0E4
+:1074100050E0C1DF019719F08FEF9FEF02C0898123
+:1074200090E00F90CF91DF9108952FB7F894877077
+:107430008093E9008091E80085FD02C090E004C0DF
+:107440008091F20090E4981B2FBF892F08954F92EE
+:107450005F926F927F928F929F92AF92BF92CF92E4
+:10746000DF92EF92FF920F931F93CF93DF93F82E4B
+:107470006A0180911C01882309F18B01EA016AEFFE
+:10748000E62E57E0552E5F208F2D90E040E2842EAF
+:10749000912C882299223AE3432E20E4A22EB12C8B
+:1074A000A822B92280EA682E8FE0782E48C08F2D5E
+:1074B000BCDF282F882349F4EA9419F44FEF5FEFDB
+:1074C00046C0C3010197F1F73AC090E0C817D90749
+:1074D0000CF42C2FC21BD1094FB7F8945092E9003D
+:1074E0008114910421F406C01092F100215022234E
+:1074F000D9F719C0F7FC03C0F801922F10C0C801DA
+:10750000322F06C0FC010196E491E093F100315066
+:107510003323C1F706C081918093F10091509923E4
+:10752000D1F7020F111D8091E80085FF05C020975B
+:1075300029F4A114B10411F04092E8004FBF209744
+:1075400009F0B5CF769884E680931A01A601CA01A6
+:10755000DF91CF911F910F91FF90EF90DF90CF902F
+:10756000BF90AF909F908F907F906F905F904F9063
+:1075700008950F931F93182FFB01A0911F01B09145
+:107580002001BA010EEF2AC017FF02C0949101C07A
+:10759000908120911D0130911E012A173B07ACF408
+:1075A0008091E8008570E1F38091E80082FF03C0DC
+:1075B0004FEF5FEF16C09093F100C90101968F73F2
+:1075C0009070892B11F40093E8002F5F3F4F3093A8
+:1075D0001E0120931D0161507040319661157105A7
+:1075E00099F6CA011F910F910895CF93DF939C01E3
+:1075F000EB018091E80082FFFCCFC9016C2FB5DE62
+:107600008BEF8093E800CE01DF91CF9108958093B6
+:10761000E9008091F200882319F08AE38093E80062
+:1076200008951F920F920FB60F9211242F933F933C
+:107630008F938091E1001092E100282F83FF0FC00B
+:107640001092E90081E08093EB001092EC0082E35D
+:107650008093ED0010921C0188E08093F00022FFDF
+:1076600026C083E08093E9008091F200882319F01E
+:107670008AE38093E80080911A01882351F0809179
+:107680001A01815080931A0180911A01882309F40C
+:10769000769A80911B01882351F080911B018150C3
+:1076A00080931B0180911B01882309F4289A8F91F4
+:1076B0003F912F910F900FBE0F901F901895109231
+:1076C0001C0181E08093D70080EA8093D80082E19A
+:1076D00089BD09B400FEFDCF80E98093D8008CE01D
+:1076E0008093E2001092E000089508950895DF93DA
+:1076F000CF930F92CDB7DEB71982CE010196B1DDDF
+:10770000898190E00F90CF91DF9108951F920F92A1
+:107710000FB60F921124EF92FF921F932F933F9376
+:107720004F935F936F937F938F939F93AF93BF9389
+:10773000EF93FF93DF93CF93CDB7DEB76197DEBFB3
+:10774000CDBF1092E9008091E80083FFECC0CE012C
+:10775000019668E00ADE82EF8093E800998197FF46
+:1077600005C08091E80080FFFCCF03C08EEF8093BE
+:10777000E800292F30E0C90180769070892B09F04C
+:10778000B3C08A81882329F41092F1001092F1008D
+:10779000BFC0813009F4BCC0833009F4B9C0853062
+:1077A00049F48091E80080FFFCCF8B818068809352
+:1077B000E300AEC0863009F06DC01C81EF80F88414
+:1077C0001230A9F51092E90010921E0110921D01CD
+:1077D0001092200110921F018ADF99E0FE01399674
+:1077E000DF01292F1D922A95E9F799871A8791E0E1
+:1077F0009E8790E8988B9AEF998B20911D0130918C
+:107800001E01275F3F4F3C872B878D871092E90031
+:1078100010921E0110921D01F0922001E0921F01B2
+:1078200080E0BF0149E050E0A4DE61DF71C010924A
+:10783000E90010921E0110921D01F0922001E092C9
+:107840001F01113071F488E0E816F10411F410936F
+:10785000210180912101882309F062C0EEE2F1E765
+:1078600013C0133009F058C08B81882319F4E0EF5E
+:10787000F0E70AC0823019F4E4EFF0E705C0813088
+:1078800009F04AC0E6E1F1E7449150E080E8BF0129
+:1078900070DE3EC0873009F43FC0883021F481E0BB
+:1078A0008093F10035C0893099F523703070232B17
+:1078B00099F5E3E5F1E791E031E026E39093E90003
+:1078C0003093EB0084918093EC002093ED009F5F58
+:1078D0003196943099F78EE78093EA001092EA008F
+:1078E0008B8180931C0114C08F8198851092E900D0
+:1078F00010921E0110921D019093200180931F0190
+:107900008D81882349F4CE010196BCDC882321F0C7
+:107910008EEF8093E80007C081E28093EB0003C004
+:10792000E0E4F1E7B1CF6196DEBFCDBFCF91DF914B
+:10793000FF91EF91BF91AF919F918F917F916F9147
+:107940005F914F913F912F911F91FF90EF900F907A
+:107950000FBE0F901F901895EE0FFF1F0590F4912A
+:08796000E02D0994F894FFCF1B
+:10796800FFFF00E1000000000000000000002339D4
+:08797800D3380F390D39F33843
:040000030000700089
:00000001FF
diff --git a/bootloaders/nuevo_diskloader/DiskLoader.hex b/bootloaders/nuevo_diskloader/DiskLoader.hex index be4d6d1..cd2ae00 100644 --- a/bootloaders/nuevo_diskloader/DiskLoader.hex +++ b/bootloaders/nuevo_diskloader/DiskLoader.hex @@ -1,78 +1,155 @@ -:1070000058C000007BC0000079C0000077C00000BD
-:1070100075C0000073C0000071C000006FC00000A8
-:107020006DC000006BC000000FC20000F9C100007D
-:1070300065C0000063C0000061C000005FC00000C8
-:107040005DC000005BC0000059C0000057C00000D8
-:1070500055C0000053C0000051C000004FC00000E8
-:107060004DC000004BC0000049C0000047C00000F8
-:1070700045C0000043C0000041C000003FC0000008
-:107080003DC000003BC0000039C0000037C0000018
-:1070900035C0000033C0000031C000002FC0000028
-:1070A0002DC000002BC0000029C0000091C09838FE
-:1070B000443A11241FBECFEFDAE0DEBFCDBF11E0AE
-:1070C000A0E0B1E0EAE9F4E702C005900D92A83132
-:1070D000B107D9F711E0A8E1B1E001C01D92AE31CE
-:1070E000B107E1F710E7C2EBD0E703C02297FE013A
-:1070F000CED1CE3AD107D1F76BD0CDC15EC0DC0185
-:1071000080910001909101018F5F9F4F61F4ED919B
-:10711000FC9111970480F581E02DCD0109959093A4
-:107120000101809300018091000190910101089577
-:107130008EE091E090931901809318010895DF93F8
-:10714000CF930F92CDB7DEB7698380910901882371
-:1071500051F083E0BE016F5F7F4F41E050E0CED041
-:107160001816190614F080E090E00F90CF91DF918F
-:10717000089583E05FC120910001309101018FEFFC
-:107180002F3F380739F08FEF9FEF909301018093E5
-:10719000000103C082E08AD09C01C901089582E009
-:1071A00048D0282F80910001909101018F5F9F4F5F
-:1071B00009F02F5F822F90E008951F920F920FB673
-:1071C0000F921124479A0F900FBE0F901F901895A1
-:1071D00081E085BF82E085BF88E10FB6F894809397
-:1071E0006000109260000FBE3F9A209A6E9A90E85D
-:1071F000909361001092610081E885BF95BF769AF7
-:10720000289A47988DE191E029D1789420E931E0DE
-:10721000479A84EC99E0F9013197F1F70197D9F792
-:10722000479884EC99E0F9013197F1F70197D9F784
-:10723000EFCF9FB7F89487708093E9008091F200B8
-:107240009FBF0895282F80911C018823C1F057FF0C
-:107250001AC015C0289890931B018091F10081936A
-:10726000E217F307B9F74115510539F08091F200A3
-:10727000882319F48BE68093E800AFBF02C04FEF7C
-:107280005FEFCA010895AFB7F89427702093E90023
-:107290008091F200282F30E0241735070CF4A90163
-:1072A000FB019B01240F311D94E6DACFDF93CF93CE
-:1072B0000F92CDB7DEB7BE016F5F7F4F41E050E068
-:1072C000C1DF019719F08FEF9FEF02C0898190E035
-:1072D0000F90CF91DF9108952FB7F8948770809326
-:1072E000E9008091E80085FD02C090E004C0809133
-:1072F000F20090E4981B2FBF892F08954F925F9260
-:107300006F927F928F929F92AF92BF92CF92DF92B5
-:10731000EF92FF920F931F93CF93DF93F82E6A01A2
-:1073200080911C01882309F18B01EA016AEFE62EA6
-:1073300057E0552E5F208F2D90E040E2842E912C57
-:10734000882299223AE3432E20E4A22EB12CA822CF
-:10735000B92280EA682E8FE0782E48C08F2DBCDFDE
-:10736000282F882349F4EA9419F44FEF5FEF46C0C1
-:10737000C3010197F1F73AC090E0C817D9070CF4A0
-:107380002C2FC21BD1094FB7F8945092E9008114F9
-:10739000910421F406C01092F10021502223D9F764
-:1073A00019C0F7FC03C0F801922F10C0C801322F9A
-:1073B00006C0FC010196E491E093F10031503323C3
-:1073C000C1F706C081918093F10091509923D1F7C4
-:1073D000020F111D8091E80085FF05C0209729F458
-:1073E000A114B10411F04092E8004FBF209709F0BA
-:1073F000B5CF769884E680931A01A601CA01DF9181
-:10740000CF911F910F91FF90EF90DF90CF90BF90A1
-:10741000AF909F908F907F906F905F904F90089566
-:107420001F920F920FB60F9211240F900FBE0F9064
-:107430001F9018958093E9008091F200882319F03D
-:107440008AE38093E80008951F920F920FB60F927F
-:1074500011240F900FBE0F901F90189510921C01D1
-:1074600081E08093D70080EA8093D80082E189BDD3
-:1074700009B400FEFDCF80E98093D8008CE08093B2
-:10748000E2001092E00008950895EE0FFF1F0590AE
-:0A749000F491E02D0994F894FFCF69
-:10749A00FFFF00E100000000000000000000CF38FC
-:0874AA007F38BB38B9389F3868
+:10700000ACC00000CFC00000CDC00000CBC000006D
+:10701000C9C00000C7C00000C5C00000C3C0000058
+:10702000C1C00000BFC00000FCC200006FC3000070
+:10703000B9C00000B7C00000B5C00000B3C0000078
+:10704000B1C00000AFC00000ADC00000ABC0000088
+:10705000A9C00000A7C00000A5C00000A3C0000098
+:10706000A1C000009FC000009DC000009BC00000A8
+:1070700099C0000097C0000095C0000093C00000B8
+:1070800091C000008FC000008DC000008BC00000C8
+:1070900089C0000087C0000085C0000083C00000D8
+:1070A00081C000007FC000007DC000002DC1080B22
+:1070B00000020202010009040000010202000005B2
+:1070C0002400100105240101010424020605240600
+:1070D00000010705810310004009040100020A00B5
+:1070E000000007050202400000070583024000007F
+:1070F0000403090422034100720064007500690062
+:107100006E006F0020004C0065006F006E00610093
+:10711000720064006F001803410072006400750083
+:1071200069006E006F0020004C004C00430012010B
+:107130000002000000404123340000010102000170
+:10714000120100020200004041233400000101024C
+:10715000000100C18081EC38763B11241FBECFEFC7
+:10716000DAE0DEBFCDBF11E0A0E0B1E0E8E6F9E78C
+:1071700002C005900D92A831B107D9F711E0A8E13E
+:10718000B1E001C01D92A332B107E1F711E7CAE5F2
+:10719000D1E703C02297FE01E1D3C635D107D1F76D
+:1071A000B3D0E0C3A6C0DC01809100019091010141
+:1071B0008F5F9F4F61F4ED91FC9111970480F581F1
+:1071C000E02DCD01099590930101809300018091FC
+:1071D00000019091010108958EE091E090931901D2
+:1071E000809318010895DF93CF930F92CDB7DEB748
+:1071F000698380910901882351F083E0BE016F5FAC
+:107200007F4F41E050E023D11816190614F080E0BA
+:1072100090E00F90CF91DF91089583E0F8C1209125
+:107220000001309101018FEF2F3F380739F08FEFC8
+:107230009FEF909301018093000103C082E0DFD0B3
+:107240009C01C901089582E09DD0282F8091000102
+:10725000909101018F5F9F4F09F02F5F822F90E087
+:107260000895FC0180818E5F808380E86EEA70E77C
+:1072700042E450E07EC182E291E037D2F8940C946F
+:10728000003C0895CF93DF93EC0189819881913A76
+:1072900049F4813251F580E062E071E047E050E06E
+:1072A00068D121C0913209F5803231F482E091E059
+:1072B00067E070E09AD117C08232B9F48091090179
+:1072C000882371F08091020190910301A091040143
+:1072D000B0910501805B9440A040B04009F4CBDF41
+:1072E0008A818093090181E001C080E0DF91CF9124
+:1072F00008951F920F920FB60F921124479A0F9084
+:107300000FBE0F901F90189588E10FB6F8948093E8
+:107310006000109260000FBE3F9A209A6E9A90E82B
+:10732000909361001092610081E885BF95BF01E0F4
+:1073300005BF02E005BF769A289A479882E291E05D
+:10734000BED1789420E931E0479A84EC99E0F901C4
+:107350003197F1F70197D9F7479884EC99E0F90153
+:107360003197F1F70197D9F7EFCFFC0104C0809175
+:10737000F100819361506623D1F7289884E68093C9
+:107380001B0108959FB7F89487708093E90080915E
+:10739000F2009FBF0895282F80911C018823C1F01F
+:1073A00057FF1AC015C0289890931B018091F100D7
+:1073B0008193E217F307B9F74115510539F0809130
+:1073C000F200882319F48BE68093E800AFBF02C077
+:1073D0004FEF5FEFCA010895AFB7F894277020937D
+:1073E000E9008091F200282F30E0241735070CF4D3
+:1073F000A901FB019B01240F311D94E6DACFDF9335
+:10740000CF930F92CDB7DEB7BE016F5F7F4F41E0E4
+:1074100050E0C1DF019719F08FEF9FEF02C0898123
+:1074200090E00F90CF91DF9108952FB7F894877077
+:107430008093E9008091E80085FD02C090E004C0DF
+:107440008091F20090E4981B2FBF892F08954F92EE
+:107450005F926F927F928F929F92AF92BF92CF92E4
+:10746000DF92EF92FF920F931F93CF93DF93F82E4B
+:107470006A0180911C01882309F18B01EA016AEFFE
+:10748000E62E57E0552E5F208F2D90E040E2842EAF
+:10749000912C882299223AE3432E20E4A22EB12C8B
+:1074A000A822B92280EA682E8FE0782E48C08F2D5E
+:1074B000BCDF282F882349F4EA9419F44FEF5FEFDB
+:1074C00046C0C3010197F1F73AC090E0C817D90749
+:1074D0000CF42C2FC21BD1094FB7F8945092E9003D
+:1074E0008114910421F406C01092F100215022234E
+:1074F000D9F719C0F7FC03C0F801922F10C0C801DA
+:10750000322F06C0FC010196E491E093F100315066
+:107510003323C1F706C081918093F10091509923E4
+:10752000D1F7020F111D8091E80085FF05C020975B
+:1075300029F4A114B10411F04092E8004FBF209744
+:1075400009F0B5CF769884E680931A01A601CA01A6
+:10755000DF91CF911F910F91FF90EF90DF90CF902F
+:10756000BF90AF909F908F907F906F905F904F9063
+:1075700008950F931F93182FFB01A0911F01B09145
+:107580002001BA010EEF2AC017FF02C0949101C07A
+:10759000908120911D0130911E012A173B07ACF408
+:1075A0008091E8008570E1F38091E80082FF03C0DC
+:1075B0004FEF5FEF16C09093F100C90101968F73F2
+:1075C0009070892B11F40093E8002F5F3F4F3093A8
+:1075D0001E0120931D0161507040319661157105A7
+:1075E00099F6CA011F910F910895CF93DF939C01E3
+:1075F000EB018091E80082FFFCCFC9016C2FB5DE62
+:107600008BEF8093E800CE01DF91CF9108958093B6
+:10761000E9008091F200882319F08AE38093E80062
+:1076200008951F920F920FB60F9211242F933F933C
+:107630008F938091E1001092E100282F83FF0FC00B
+:107640001092E90081E08093EB001092EC0082E35D
+:107650008093ED0010921C0188E08093F00022FFDF
+:1076600026C083E08093E9008091F200882319F01E
+:107670008AE38093E80080911A01882351F0809179
+:107680001A01815080931A0180911A01882309F40C
+:10769000769A80911B01882351F080911B018150C3
+:1076A00080931B0180911B01882309F4289A8F91F4
+:1076B0003F912F910F900FBE0F901F901895109231
+:1076C0001C0181E08093D70080EA8093D80082E19A
+:1076D00089BD09B400FEFDCF80E98093D8008CE01D
+:1076E0008093E2001092E000089508950895DF93DA
+:1076F000CF930F92CDB7DEB71982CE010196B1DDDF
+:10770000898190E00F90CF91DF9108951F920F92A1
+:107710000FB60F921124EF92FF921F932F933F9376
+:107720004F935F936F937F938F939F93AF93BF9389
+:10773000EF93FF93DF93CF93CDB7DEB76197DEBFB3
+:10774000CDBF1092E9008091E80083FFECC0CE012C
+:10775000019668E00ADE82EF8093E800998197FF46
+:1077600005C08091E80080FFFCCF03C08EEF8093BE
+:10777000E800292F30E0C90180769070892B09F04C
+:10778000B3C08A81882329F41092F1001092F1008D
+:10779000BFC0813009F4BCC0833009F4B9C0853062
+:1077A00049F48091E80080FFFCCF8B818068809352
+:1077B000E300AEC0863009F06DC01C81EF80F88414
+:1077C0001230A9F51092E90010921E0110921D01CD
+:1077D0001092200110921F018ADF99E0FE01399674
+:1077E000DF01292F1D922A95E9F799871A8791E0E1
+:1077F0009E8790E8988B9AEF998B20911D0130918C
+:107800001E01275F3F4F3C872B878D871092E90031
+:1078100010921E0110921D01F0922001E0921F01B2
+:1078200080E0BF0149E050E0A4DE61DF71C010924A
+:10783000E90010921E0110921D01F0922001E092C9
+:107840001F01113071F488E0E816F10411F410936F
+:10785000210180912101882309F062C0EEE2F1E765
+:1078600013C0133009F058C08B81882319F4E0EF5E
+:10787000F0E70AC0823019F4E4EFF0E705C0813088
+:1078800009F04AC0E6E1F1E7449150E080E8BF0129
+:1078900070DE3EC0873009F43FC0883021F481E0BB
+:1078A0008093F10035C0893099F523703070232B17
+:1078B00099F5E3E5F1E791E031E026E39093E90003
+:1078C0003093EB0084918093EC002093ED009F5F58
+:1078D0003196943099F78EE78093EA001092EA008F
+:1078E0008B8180931C0114C08F8198851092E900D0
+:1078F00010921E0110921D019093200180931F0190
+:107900008D81882349F4CE010196BCDC882321F0C7
+:107910008EEF8093E80007C081E28093EB0003C004
+:10792000E0E4F1E7B1CF6196DEBFCDBFCF91DF914B
+:10793000FF91EF91BF91AF919F918F917F916F9147
+:107940005F914F913F912F911F91FF90EF900F907A
+:107950000FBE0F901F901895EE0FFF1F0590F4912A
+:08796000E02D0994F894FFCF1B
+:10796800FFFF00E1000000000000000000002339D4
+:08797800D3380F390D39F33843
:040000030000700089
:00000001FF
diff --git a/bootloaders/nuevo_diskloader/src/DiskLoader.cpp b/bootloaders/nuevo_diskloader/src/DiskLoader.cpp index 6dda4ae..10544d1 100644 --- a/bootloaders/nuevo_diskloader/src/DiskLoader.cpp +++ b/bootloaders/nuevo_diskloader/src/DiskLoader.cpp @@ -27,13 +27,15 @@ ISR(BADISR_vect) int main(void) __attribute__ ((naked)); int main() { - /* Enable change of interrupt vectors */ - MCUCR = (1<<IVCE); - /* Move interrupts to boot flash section */ - MCUCR = (1<<IVSEL); - + wdt_disable(); BOARD_INIT(); + asm volatile ( + "ldi r16, 0x01\n" // (1<<IVCE) /* Enable change of interrupt vectors */ + "out 0x35, r16\n" // MCUCR + "ldi r16, 0x02\n" // (1<<IVSEL) /* Move interrupts to boot flash section */ + "out 0x35, r16\n" // MCUCR + ); TX_LED_OFF(); RX_LED_OFF(); L_LED_OFF(); |