diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2011-10-21 18:03:34 -0400 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2011-10-21 18:03:34 -0400 |
commit | 4498bc7ca7d6817198948d583910dd806f7fb982 (patch) | |
tree | 18bebfd19c73399971b37720110174c4c35ed924 | |
parent | 146922e21147baef802aba5cd3eb5ae0f75b545e (diff) |
starting to port bootloader programming code - testing as I go
-rw-r--r-- | bootloaders/nuevo_diskloader/DiskLoader.elf.hex | 227 | ||||
-rw-r--r-- | bootloaders/nuevo_diskloader/DiskLoader.hex | 227 | ||||
-rw-r--r-- | bootloaders/nuevo_diskloader/src/DiskLoader.cpp | 21 |
3 files changed, 243 insertions, 232 deletions
diff --git a/bootloaders/nuevo_diskloader/DiskLoader.elf.hex b/bootloaders/nuevo_diskloader/DiskLoader.elf.hex index 95b848a..b73b4b2 100644 --- a/bootloaders/nuevo_diskloader/DiskLoader.elf.hex +++ b/bootloaders/nuevo_diskloader/DiskLoader.elf.hex @@ -1,6 +1,6 @@ :10700000ACC00000CFC00000CDC00000CBC000006D
:10701000C9C00000C7C00000C5C00000C3C0000058
-:10702000C1C00000BFC00000F1C2000064C3000086
+:10702000C1C00000BFC00000EFC2000062C300008A
:10703000B9C00000B7C00000B5C00000B3C0000078
:10704000B1C00000AFC00000ADC00000ABC0000088
:10705000A9C00000A7C00000A5C00000A3C0000098
@@ -19,136 +19,135 @@ :1071200069006E006F0020004C004C00430012010B
:107130000002000000404123340000010102000170
:10714000120100020200004041233400000101024C
-:10715000000100C18081EC386B3B11241FBECFEFD2
-:10716000DAE0DEBFCDBF11E0A0E0B1E0E2E5F9E793
+:10715000000100C18081EC38693B11241FBECFEFD4
+:10716000DAE0DEBFCDBF11E0A0E0B1E0EEE4F9E788
:1071700002C005900D92A831B107D9F711E0A8E13E
:10718000B1E001C01D92A332B107E1F711E7CAE5F2
-:10719000D1E703C02297FE01D6D3C635D107D1F778
-:1071A000A8D0D5C32DCFDC018091000190910101C1
+:10719000D1E703C02297FE01D4D3C635D107D1F77A
+:1071A000A8D0D3C32DCFDC018091000190910101C3
:1071B0008F5F9F4F61F4ED91FC9111970480F581F1
:1071C000E02DCD01099590930101809300018091FC
:1071D00000019091010108958EE091E090931901D2
:1071E000809318010895DF93CF930F92CDB7DEB748
:1071F000698380910901882351F083E0BE016F5FAC
-:107200007F4F41E050E018D11816190614F080E0C5
-:1072100090E00F90CF91DF91089583E0EDC1209130
+:107200007F4F41E050E016D11816190614F080E0C7
+:1072100090E00F90CF91DF91089583E0EBC1209132
:107220000001309101018FEF2F3F380739F08FEFC8
-:107230009FEF909301018093000103C082E0D4D0BE
-:107240009C01C901089582E092D0282F809100010D
+:107230009FEF909301018093000103C082E0D2D0C0
+:107240009C01C901089582E090D0282F809100010F
:10725000909101018F5F9F4F09F02F5F822F90E087
:107260000895FC0180818E5F808380E86EEA70E77C
-:1072700042E450E073C182E291E02CD2F8940C9485
+:1072700042E450E071C182E291E02AD2F8940C9489
:10728000003C0895CF93DF93EC0189819881913A76
:1072900049F4813251F580E062E071E047E050E06E
-:1072A0005DD121C0913209F5803231F482E091E064
-:1072B00067E070E08FD117C08232B9F48091090184
+:1072A0005BD121C0913209F5803231F482E091E066
+:1072B00067E070E08DD117C08232B9F48091090186
:1072C000882371F08091020190910301A091040143
:1072D000B0910501805B9440A040B04009F4CBDF41
:1072E0008A818093090181E001C080E0DF91CF9124
:1072F000089588E10FB6F8948093600010926000C2
:107300000FBE3F9A209A6E9A90E890936100109277
:10731000610081E885BF95BF01E005BF02E005BFC0
-:10732000769A289A479882E291E0BED1789420E933
-:1073300031E0479A84EC99E0F9013197F1F7019730
-:10734000D9F7479884EC99E0F9013197F1F7019763
-:10735000D9F7EFCFFC0104C08091F1008193615017
-:107360006623D1F7289884E680931B0108959FB780
-:10737000F89487708093E9008091F2009FBF089590
-:10738000282F80911C018823C1F057FF1AC015C017
-:10739000289890931B018091F1008193E217F307E5
-:1073A000B9F74115510539F08091F200882319F49D
-:1073B0008BE68093E800AFBF02C04FEF5FEFCA01DA
-:1073C0000895AFB7F89427702093E9008091F200F8
-:1073D000282F30E0241735070CF4A901FB019B018D
-:1073E000240F311D94E6DACFDF93CF930F92CDB700
-:1073F000DEB7BE016F5F7F4F41E050E0C1DF019714
-:1074000019F08FEF9FEF02C0898190E00F90CF912C
-:10741000DF9108952FB7F89487708093E9008091E9
-:10742000E80085FD02C090E004C08091F20090E485
-:10743000981B2FBF892F08954F925F926F927F9272
-:107440008F929F92AF92BF92CF92DF92EF92FF9274
-:107450000F931F93CF93DF93F82E6A0180911C0145
-:10746000882309F18B01EA016AEFE62E57E0552ED9
-:107470005F208F2D90E040E2842E912C882299226B
-:107480003AE3432E20E4A22EB12CA822B92280EAAE
-:10749000682E8FE0782E48C08F2DBCDF282F8823E0
-:1074A00049F4EA9419F44FEF5FEF46C0C301019726
-:1074B000F1F73AC090E0C817D9070CF42C2FC21B83
-:1074C000D1094FB7F8945092E9008114910421F446
-:1074D00006C01092F10021502223D9F719C0F7FC01
-:1074E00003C0F801922F10C0C801322F06C0FC0162
-:1074F0000196E491E093F10031503323C1F706C0C7
-:1075000081918093F10091509923D1F7020F111DC1
-:107510008091E80085FF05C0209729F4A114B104EB
-:1075200011F04092E8004FBF209709F0B5CF769850
-:1075300084E680931A01A601CA01DF91CF911F91C1
-:107540000F91FF90EF90DF90CF90BF90AF909F9002
-:107550008F907F906F905F904F9008950F931F933F
-:10756000182FFB01A0911F01B0912001BA010EEF6D
-:107570002AC017FF02C0949101C0908120911D0183
-:1075800030911E012A173B07ACF48091E80085700A
-:10759000E1F38091E80082FF03C04FEF5FEF16C078
-:1075A0009093F100C90101968F739070892B11F4AB
-:1075B0000093E8002F5F3F4F30931E0120931D0181
-:1075C0006150704031966115710599F6CA011F919D
-:1075D0000F910895CF93DF939C01EB018091E80018
-:1075E00082FFFCCFC9016C2FB5DE8BEF8093E800E2
-:1075F000CE01DF91CF9108958093E9008091F20050
-:10760000882319F08AE38093E80008951F920F926F
-:107610000FB60F9211242F933F938F938091E10027
-:107620001092E100282F83FF0FC01092E90081E043
-:107630008093EB001092EC0082E38093ED001092B7
-:107640001C0188E08093F00022FF26C083E0809335
-:10765000E9008091F200882319F08AE38093E80022
-:1076600080911A01882351F080911A0181508093F2
-:107670001A0180911A01882309F4769A80911B01DE
-:10768000882351F080911B01815080931B018091D0
-:107690001B01882309F4289A8F913F912F910F9015
-:1076A0000FBE0F901F90189510921C0181E08093DF
-:1076B000D70080EA8093D80082E189BD09B400FE3A
-:1076C000FDCF80E98093D8008CE08093E200109297
-:1076D000E000089508950895DF93CF930F92CDB7FA
-:1076E000DEB71982CE010196BCDD898190E00F9052
-:1076F000CF91DF9108951F920F920FB60F92112430
-:10770000EF92FF921F932F933F934F935F936F934B
-:107710007F938F939F93AF93BF93EF93FF93DF93E9
-:10772000CF93CDB7DEB76197DEBFCDBF1092E90032
-:107730008091E80083FFECC0CE01019668E00ADE8C
-:1077400082EF8093E800998197FF05C08091E8005F
-:1077500080FFFCCF03C08EEF8093E800292F30E03C
-:10776000C90180769070892B09F0B3C08A81882383
-:1077700029F41092F1001092F100BFC0813009F499
-:10778000BCC0833009F4B9C0853049F48091E80069
-:1077900080FFFCCF8B8180688093E300AEC0863091
-:1077A00009F06DC01C81EF80F8841230A9F51092A9
-:1077B000E90010921E0110921D01109220011092FA
-:1077C0001F018ADF99E0FE013996DF01292F1D9202
-:1077D0002A95E9F799871A8791E09E8790E8988B18
-:1077E0009AEF998B20911D0130911E01275F3F4F29
-:1077F0003C872B878D871092E90010921E01109212
-:107800001D01F0922001E0921F0180E0BF0149E0DC
-:1078100050E0A4DE61DF71C01092E90010921E01F9
-:1078200010921D01F0922001E0921F01113071F4BD
-:1078300088E0E816F10411F41093210180912101F0
-:10784000882309F062C0EEE2F1E713C0133009F0BB
-:1078500058C08B81882319F4E0EFF0E70AC082302A
-:1078600019F4E4EFF0E705C0813009F04AC0E6E121
-:10787000F1E7449150E080E8BF0170DE3EC0873000
-:1078800009F43FC0883021F481E08093F10035C0D5
-:10789000893099F523703070232B99F5E3E5F1E7F2
-:1078A00091E031E026E39093E9003093EB0084917E
-:1078B0008093EC002093ED009F5F3196943099F710
-:1078C0008EE78093EA001092EA008B8180931C017E
-:1078D00014C08F8198851092E90010921E011092B9
-:1078E0001D019093200180931F018D81882349F40D
-:1078F000CE010196C7DC882321F08EEF8093E8004B
-:1079000007C081E28093EB0003C0E0E4F1E7B1CF70
-:107910006196DEBFCDBFCF91DF91FF91EF91BF9117
-:10792000AF919F918F917F916F915F914F913F9117
-:107930002F911F91FF90EF900F900FBE0F901F900F
-:107940001895EE0FFF1F0590F491E02D0994F8941F
-:02795000FFCF67
-:10795200FFFF00E1000000000000000000002339EA
-:08796200D3380F390D39F33859
+:10732000769A289A479882E291E0BCD1789488E1D5
+:1073300091E089DF18161906D4F788E191E06FDF34
+:10734000803311F44798F3CF813389F7479AEFCF11
+:10735000FC0104C08091F100819361506623D1F754
+:10736000289884E680931B0108959FB7F89487704E
+:107370008093E9008091F2009FBF0895282F8091AB
+:107380001C018823C1F057FF1AC015C0289890939C
+:107390001B018091F1008193E217F307B9F74115C2
+:1073A000510539F08091F200882319F48BE680931F
+:1073B000E800AFBF02C04FEF5FEFCA010895AFB75B
+:1073C000F89427702093E9008091F200282F30E094
+:1073D000241735070CF4A901FB019B01240F311D73
+:1073E00094E6DACFDF93CF930F92CDB7DEB7BE012D
+:1073F0006F5F7F4F41E050E0C1DF019719F08FEFE1
+:107400009FEF02C0898190E00F90CF91DF910895A6
+:107410002FB7F89487708093E9008091E80085FD8C
+:1074200002C090E004C08091F20090E4981B2FBF4E
+:10743000892F08954F925F926F927F928F929F92C1
+:10744000AF92BF92CF92DF92EF92FF920F931F9372
+:10745000CF93DF93F82E6A0180911C01882309F1F4
+:107460008B01EA016AEFE62E57E0552E5F208F2D43
+:1074700090E040E2842E912C882299223AE3432E18
+:1074800020E4A22EB12CA822B92280EA682E8FE037
+:10749000782E48C08F2DBCDF282F882349F4EA942A
+:1074A00019F44FEF5FEF46C0C3010197F1F73AC0FF
+:1074B00090E0C817D9070CF42C2FC21BD1094FB785
+:1074C000F8945092E9008114910421F406C01092BE
+:1074D000F10021502223D9F719C0F7FC03C0F801AD
+:1074E000922F10C0C801322F06C0FC010196E49112
+:1074F000E093F10031503323C1F706C081918093AE
+:10750000F10091509923D1F7020F111D8091E800ED
+:1075100085FF05C0209729F4A114B10411F0409211
+:10752000E8004FBF209709F0B5CF769884E68093A6
+:107530001A01A601CA01DF91CF911F910F91FF900F
+:10754000EF90DF90CF90BF90AF909F908F907F9003
+:107550006F905F904F9008950F931F93182FFB012A
+:10756000A0911F01B0912001BA010EEF2AC017FFB0
+:1075700002C0949101C0908120911D0130911E01A3
+:107580002A173B07ACF48091E8008570E1F3809105
+:10759000E80082FF03C04FEF5FEF16C09093F10049
+:1075A000C90101968F739070892B11F40093E80044
+:1075B0002F5F3F4F30931E0120931D01615070409B
+:1075C00031966115710599F6CA011F910F910895C1
+:1075D000CF93DF939C01EB018091E80082FFFCCF09
+:1075E000C9016C2FB5DE8BEF8093E800CE01DF91EF
+:1075F000CF9108958093E9008091F200882319F0DB
+:107600008AE38093E80008951F920F920FB60F92BD
+:1076100011242F933F938F938091E1001092E1000A
+:10762000282F83FF0FC01092E90081E08093EB00C8
+:107630001092EC0082E38093ED0010921C0188E030
+:107640008093F00022FF26C083E08093E9008091C0
+:10765000F200882319F08AE38093E80080911A01F0
+:10766000882351F080911A01815080931A018091F2
+:107670001A01882309F4769A80911B01882351F01E
+:1076800080911B01815080931B0180911B018823F5
+:1076900009F4289A8F913F912F910F900FBE0F9070
+:1076A0001F90189510921C0181E08093D70080EA0A
+:1076B0008093D80082E189BD09B400FEFDCF80E946
+:1076C0008093D8008CE08093E2001092E00008954F
+:1076D00008950895DF93CF930F92CDB7DEB7198247
+:1076E000CE010196BEDD898190E00F90CF91DF91B0
+:1076F00008951F920F920FB60F921124EF92FF92EE
+:107700001F932F933F934F935F936F937F938F9329
+:107710009F93AF93BF93EF93FF93DF93CF93CDB737
+:10772000DEB76197DEBFCDBF1092E9008091E8001F
+:1077300083FFECC0CE01019668E00ADE82EF809301
+:10774000E800998197FF05C08091E80080FFFCCF99
+:1077500003C08EEF8093E800292F30E0C9018076C6
+:107760009070892B09F0B3C08A81882329F4109284
+:10777000F1001092F100BFC0813009F4BCC0833029
+:1077800009F4B9C0853049F48091E80080FFFCCF4E
+:107790008B8180688093E300AEC0863009F06DC0B5
+:1077A0001C81EF80F8841230A9F51092E900109244
+:1077B0001E0110921D011092200110921F018ADFFC
+:1077C00099E0FE013996DF01292F1D922A95E9F7EC
+:1077D00099871A8791E09E8790E8988B9AEF998B0A
+:1077E00020911D0130911E01275F3F4F3C872B8761
+:1077F0008D871092E90010921E0110921D01F092E7
+:107800002001E0921F0180E0BF0149E050E0A4DECA
+:1078100061DF71C01092E90010921E0110921D01EB
+:10782000F0922001E0921F01113071F488E0E81617
+:10783000F10411F41093210180912101882309F0B2
+:1078400062C0EEE2F1E713C0133009F058C08B813B
+:10785000882319F4E0EFF0E70AC0823019F4E4EF6E
+:10786000F0E705C0813009F04AC0E6E1F1E7449154
+:1078700050E080E8BF0170DE3EC0873009F43FC0B1
+:10788000883021F481E08093F10035C0893099F58A
+:1078900023703070232B99F5E3E5F1E791E031E0B7
+:1078A00026E39093E9003093EB0084918093EC0001
+:1078B0002093ED009F5F3196943099F78EE7809387
+:1078C000EA001092EA008B8180931C0114C08F8122
+:1078D00098851092E90010921E0110921D0190935C
+:1078E000200180931F018D81882349F4CE010196E8
+:1078F000C9DC882321F08EEF8093E80007C081E285
+:107900008093EB0003C0E0E4F1E7B1CF6196DEBF06
+:10791000CDBFCF91DF91FF91EF91BF91AF919F913B
+:107920008F917F916F915F914F913F912F911F9117
+:10793000FF90EF900F900FBE0F901F901895EE0FD5
+:0E794000FF1F0590F491E02D0994F894FFCFFD
+:10794E00FFFF00E1000000000000000000002339EE
+:08795E00D3380F390D39F3385D
:040000030000700089
:00000001FF
diff --git a/bootloaders/nuevo_diskloader/DiskLoader.hex b/bootloaders/nuevo_diskloader/DiskLoader.hex index 95b848a..b73b4b2 100644 --- a/bootloaders/nuevo_diskloader/DiskLoader.hex +++ b/bootloaders/nuevo_diskloader/DiskLoader.hex @@ -1,6 +1,6 @@ :10700000ACC00000CFC00000CDC00000CBC000006D
:10701000C9C00000C7C00000C5C00000C3C0000058
-:10702000C1C00000BFC00000F1C2000064C3000086
+:10702000C1C00000BFC00000EFC2000062C300008A
:10703000B9C00000B7C00000B5C00000B3C0000078
:10704000B1C00000AFC00000ADC00000ABC0000088
:10705000A9C00000A7C00000A5C00000A3C0000098
@@ -19,136 +19,135 @@ :1071200069006E006F0020004C004C00430012010B
:107130000002000000404123340000010102000170
:10714000120100020200004041233400000101024C
-:10715000000100C18081EC386B3B11241FBECFEFD2
-:10716000DAE0DEBFCDBF11E0A0E0B1E0E2E5F9E793
+:10715000000100C18081EC38693B11241FBECFEFD4
+:10716000DAE0DEBFCDBF11E0A0E0B1E0EEE4F9E788
:1071700002C005900D92A831B107D9F711E0A8E13E
:10718000B1E001C01D92A332B107E1F711E7CAE5F2
-:10719000D1E703C02297FE01D6D3C635D107D1F778
-:1071A000A8D0D5C32DCFDC018091000190910101C1
+:10719000D1E703C02297FE01D4D3C635D107D1F77A
+:1071A000A8D0D3C32DCFDC018091000190910101C3
:1071B0008F5F9F4F61F4ED91FC9111970480F581F1
:1071C000E02DCD01099590930101809300018091FC
:1071D00000019091010108958EE091E090931901D2
:1071E000809318010895DF93CF930F92CDB7DEB748
:1071F000698380910901882351F083E0BE016F5FAC
-:107200007F4F41E050E018D11816190614F080E0C5
-:1072100090E00F90CF91DF91089583E0EDC1209130
+:107200007F4F41E050E016D11816190614F080E0C7
+:1072100090E00F90CF91DF91089583E0EBC1209132
:107220000001309101018FEF2F3F380739F08FEFC8
-:107230009FEF909301018093000103C082E0D4D0BE
-:107240009C01C901089582E092D0282F809100010D
+:107230009FEF909301018093000103C082E0D2D0C0
+:107240009C01C901089582E090D0282F809100010F
:10725000909101018F5F9F4F09F02F5F822F90E087
:107260000895FC0180818E5F808380E86EEA70E77C
-:1072700042E450E073C182E291E02CD2F8940C9485
+:1072700042E450E071C182E291E02AD2F8940C9489
:10728000003C0895CF93DF93EC0189819881913A76
:1072900049F4813251F580E062E071E047E050E06E
-:1072A0005DD121C0913209F5803231F482E091E064
-:1072B00067E070E08FD117C08232B9F48091090184
+:1072A0005BD121C0913209F5803231F482E091E066
+:1072B00067E070E08DD117C08232B9F48091090186
:1072C000882371F08091020190910301A091040143
:1072D000B0910501805B9440A040B04009F4CBDF41
:1072E0008A818093090181E001C080E0DF91CF9124
:1072F000089588E10FB6F8948093600010926000C2
:107300000FBE3F9A209A6E9A90E890936100109277
:10731000610081E885BF95BF01E005BF02E005BFC0
-:10732000769A289A479882E291E0BED1789420E933
-:1073300031E0479A84EC99E0F9013197F1F7019730
-:10734000D9F7479884EC99E0F9013197F1F7019763
-:10735000D9F7EFCFFC0104C08091F1008193615017
-:107360006623D1F7289884E680931B0108959FB780
-:10737000F89487708093E9008091F2009FBF089590
-:10738000282F80911C018823C1F057FF1AC015C017
-:10739000289890931B018091F1008193E217F307E5
-:1073A000B9F74115510539F08091F200882319F49D
-:1073B0008BE68093E800AFBF02C04FEF5FEFCA01DA
-:1073C0000895AFB7F89427702093E9008091F200F8
-:1073D000282F30E0241735070CF4A901FB019B018D
-:1073E000240F311D94E6DACFDF93CF930F92CDB700
-:1073F000DEB7BE016F5F7F4F41E050E0C1DF019714
-:1074000019F08FEF9FEF02C0898190E00F90CF912C
-:10741000DF9108952FB7F89487708093E9008091E9
-:10742000E80085FD02C090E004C08091F20090E485
-:10743000981B2FBF892F08954F925F926F927F9272
-:107440008F929F92AF92BF92CF92DF92EF92FF9274
-:107450000F931F93CF93DF93F82E6A0180911C0145
-:10746000882309F18B01EA016AEFE62E57E0552ED9
-:107470005F208F2D90E040E2842E912C882299226B
-:107480003AE3432E20E4A22EB12CA822B92280EAAE
-:10749000682E8FE0782E48C08F2DBCDF282F8823E0
-:1074A00049F4EA9419F44FEF5FEF46C0C301019726
-:1074B000F1F73AC090E0C817D9070CF42C2FC21B83
-:1074C000D1094FB7F8945092E9008114910421F446
-:1074D00006C01092F10021502223D9F719C0F7FC01
-:1074E00003C0F801922F10C0C801322F06C0FC0162
-:1074F0000196E491E093F10031503323C1F706C0C7
-:1075000081918093F10091509923D1F7020F111DC1
-:107510008091E80085FF05C0209729F4A114B104EB
-:1075200011F04092E8004FBF209709F0B5CF769850
-:1075300084E680931A01A601CA01DF91CF911F91C1
-:107540000F91FF90EF90DF90CF90BF90AF909F9002
-:107550008F907F906F905F904F9008950F931F933F
-:10756000182FFB01A0911F01B0912001BA010EEF6D
-:107570002AC017FF02C0949101C0908120911D0183
-:1075800030911E012A173B07ACF48091E80085700A
-:10759000E1F38091E80082FF03C04FEF5FEF16C078
-:1075A0009093F100C90101968F739070892B11F4AB
-:1075B0000093E8002F5F3F4F30931E0120931D0181
-:1075C0006150704031966115710599F6CA011F919D
-:1075D0000F910895CF93DF939C01EB018091E80018
-:1075E00082FFFCCFC9016C2FB5DE8BEF8093E800E2
-:1075F000CE01DF91CF9108958093E9008091F20050
-:10760000882319F08AE38093E80008951F920F926F
-:107610000FB60F9211242F933F938F938091E10027
-:107620001092E100282F83FF0FC01092E90081E043
-:107630008093EB001092EC0082E38093ED001092B7
-:107640001C0188E08093F00022FF26C083E0809335
-:10765000E9008091F200882319F08AE38093E80022
-:1076600080911A01882351F080911A0181508093F2
-:107670001A0180911A01882309F4769A80911B01DE
-:10768000882351F080911B01815080931B018091D0
-:107690001B01882309F4289A8F913F912F910F9015
-:1076A0000FBE0F901F90189510921C0181E08093DF
-:1076B000D70080EA8093D80082E189BD09B400FE3A
-:1076C000FDCF80E98093D8008CE08093E200109297
-:1076D000E000089508950895DF93CF930F92CDB7FA
-:1076E000DEB71982CE010196BCDD898190E00F9052
-:1076F000CF91DF9108951F920F920FB60F92112430
-:10770000EF92FF921F932F933F934F935F936F934B
-:107710007F938F939F93AF93BF93EF93FF93DF93E9
-:10772000CF93CDB7DEB76197DEBFCDBF1092E90032
-:107730008091E80083FFECC0CE01019668E00ADE8C
-:1077400082EF8093E800998197FF05C08091E8005F
-:1077500080FFFCCF03C08EEF8093E800292F30E03C
-:10776000C90180769070892B09F0B3C08A81882383
-:1077700029F41092F1001092F100BFC0813009F499
-:10778000BCC0833009F4B9C0853049F48091E80069
-:1077900080FFFCCF8B8180688093E300AEC0863091
-:1077A00009F06DC01C81EF80F8841230A9F51092A9
-:1077B000E90010921E0110921D01109220011092FA
-:1077C0001F018ADF99E0FE013996DF01292F1D9202
-:1077D0002A95E9F799871A8791E09E8790E8988B18
-:1077E0009AEF998B20911D0130911E01275F3F4F29
-:1077F0003C872B878D871092E90010921E01109212
-:107800001D01F0922001E0921F0180E0BF0149E0DC
-:1078100050E0A4DE61DF71C01092E90010921E01F9
-:1078200010921D01F0922001E0921F01113071F4BD
-:1078300088E0E816F10411F41093210180912101F0
-:10784000882309F062C0EEE2F1E713C0133009F0BB
-:1078500058C08B81882319F4E0EFF0E70AC082302A
-:1078600019F4E4EFF0E705C0813009F04AC0E6E121
-:10787000F1E7449150E080E8BF0170DE3EC0873000
-:1078800009F43FC0883021F481E08093F10035C0D5
-:10789000893099F523703070232B99F5E3E5F1E7F2
-:1078A00091E031E026E39093E9003093EB0084917E
-:1078B0008093EC002093ED009F5F3196943099F710
-:1078C0008EE78093EA001092EA008B8180931C017E
-:1078D00014C08F8198851092E90010921E011092B9
-:1078E0001D019093200180931F018D81882349F40D
-:1078F000CE010196C7DC882321F08EEF8093E8004B
-:1079000007C081E28093EB0003C0E0E4F1E7B1CF70
-:107910006196DEBFCDBFCF91DF91FF91EF91BF9117
-:10792000AF919F918F917F916F915F914F913F9117
-:107930002F911F91FF90EF900F900FBE0F901F900F
-:107940001895EE0FFF1F0590F491E02D0994F8941F
-:02795000FFCF67
-:10795200FFFF00E1000000000000000000002339EA
-:08796200D3380F390D39F33859
+:10732000769A289A479882E291E0BCD1789488E1D5
+:1073300091E089DF18161906D4F788E191E06FDF34
+:10734000803311F44798F3CF813389F7479AEFCF11
+:10735000FC0104C08091F100819361506623D1F754
+:10736000289884E680931B0108959FB7F89487704E
+:107370008093E9008091F2009FBF0895282F8091AB
+:107380001C018823C1F057FF1AC015C0289890939C
+:107390001B018091F1008193E217F307B9F74115C2
+:1073A000510539F08091F200882319F48BE680931F
+:1073B000E800AFBF02C04FEF5FEFCA010895AFB75B
+:1073C000F89427702093E9008091F200282F30E094
+:1073D000241735070CF4A901FB019B01240F311D73
+:1073E00094E6DACFDF93CF930F92CDB7DEB7BE012D
+:1073F0006F5F7F4F41E050E0C1DF019719F08FEFE1
+:107400009FEF02C0898190E00F90CF91DF910895A6
+:107410002FB7F89487708093E9008091E80085FD8C
+:1074200002C090E004C08091F20090E4981B2FBF4E
+:10743000892F08954F925F926F927F928F929F92C1
+:10744000AF92BF92CF92DF92EF92FF920F931F9372
+:10745000CF93DF93F82E6A0180911C01882309F1F4
+:107460008B01EA016AEFE62E57E0552E5F208F2D43
+:1074700090E040E2842E912C882299223AE3432E18
+:1074800020E4A22EB12CA822B92280EA682E8FE037
+:10749000782E48C08F2DBCDF282F882349F4EA942A
+:1074A00019F44FEF5FEF46C0C3010197F1F73AC0FF
+:1074B00090E0C817D9070CF42C2FC21BD1094FB785
+:1074C000F8945092E9008114910421F406C01092BE
+:1074D000F10021502223D9F719C0F7FC03C0F801AD
+:1074E000922F10C0C801322F06C0FC010196E49112
+:1074F000E093F10031503323C1F706C081918093AE
+:10750000F10091509923D1F7020F111D8091E800ED
+:1075100085FF05C0209729F4A114B10411F0409211
+:10752000E8004FBF209709F0B5CF769884E68093A6
+:107530001A01A601CA01DF91CF911F910F91FF900F
+:10754000EF90DF90CF90BF90AF909F908F907F9003
+:107550006F905F904F9008950F931F93182FFB012A
+:10756000A0911F01B0912001BA010EEF2AC017FFB0
+:1075700002C0949101C0908120911D0130911E01A3
+:107580002A173B07ACF48091E8008570E1F3809105
+:10759000E80082FF03C04FEF5FEF16C09093F10049
+:1075A000C90101968F739070892B11F40093E80044
+:1075B0002F5F3F4F30931E0120931D01615070409B
+:1075C00031966115710599F6CA011F910F910895C1
+:1075D000CF93DF939C01EB018091E80082FFFCCF09
+:1075E000C9016C2FB5DE8BEF8093E800CE01DF91EF
+:1075F000CF9108958093E9008091F200882319F0DB
+:107600008AE38093E80008951F920F920FB60F92BD
+:1076100011242F933F938F938091E1001092E1000A
+:10762000282F83FF0FC01092E90081E08093EB00C8
+:107630001092EC0082E38093ED0010921C0188E030
+:107640008093F00022FF26C083E08093E9008091C0
+:10765000F200882319F08AE38093E80080911A01F0
+:10766000882351F080911A01815080931A018091F2
+:107670001A01882309F4769A80911B01882351F01E
+:1076800080911B01815080931B0180911B018823F5
+:1076900009F4289A8F913F912F910F900FBE0F9070
+:1076A0001F90189510921C0181E08093D70080EA0A
+:1076B0008093D80082E189BD09B400FEFDCF80E946
+:1076C0008093D8008CE08093E2001092E00008954F
+:1076D00008950895DF93CF930F92CDB7DEB7198247
+:1076E000CE010196BEDD898190E00F90CF91DF91B0
+:1076F00008951F920F920FB60F921124EF92FF92EE
+:107700001F932F933F934F935F936F937F938F9329
+:107710009F93AF93BF93EF93FF93DF93CF93CDB737
+:10772000DEB76197DEBFCDBF1092E9008091E8001F
+:1077300083FFECC0CE01019668E00ADE82EF809301
+:10774000E800998197FF05C08091E80080FFFCCF99
+:1077500003C08EEF8093E800292F30E0C9018076C6
+:107760009070892B09F0B3C08A81882329F4109284
+:10777000F1001092F100BFC0813009F4BCC0833029
+:1077800009F4B9C0853049F48091E80080FFFCCF4E
+:107790008B8180688093E300AEC0863009F06DC0B5
+:1077A0001C81EF80F8841230A9F51092E900109244
+:1077B0001E0110921D011092200110921F018ADFFC
+:1077C00099E0FE013996DF01292F1D922A95E9F7EC
+:1077D00099871A8791E09E8790E8988B9AEF998B0A
+:1077E00020911D0130911E01275F3F4F3C872B8761
+:1077F0008D871092E90010921E0110921D01F092E7
+:107800002001E0921F0180E0BF0149E050E0A4DECA
+:1078100061DF71C01092E90010921E0110921D01EB
+:10782000F0922001E0921F01113071F488E0E81617
+:10783000F10411F41093210180912101882309F0B2
+:1078400062C0EEE2F1E713C0133009F058C08B813B
+:10785000882319F4E0EFF0E70AC0823019F4E4EF6E
+:10786000F0E705C0813009F04AC0E6E1F1E7449154
+:1078700050E080E8BF0170DE3EC0873009F43FC0B1
+:10788000883021F481E08093F10035C0893099F58A
+:1078900023703070232B99F5E3E5F1E791E031E0B7
+:1078A00026E39093E9003093EB0084918093EC0001
+:1078B0002093ED009F5F3196943099F78EE7809387
+:1078C000EA001092EA008B8180931C0114C08F8122
+:1078D00098851092E90010921E0110921D0190935C
+:1078E000200180931F018D81882349F4CE010196E8
+:1078F000C9DC882321F08EEF8093E80007C081E285
+:107900008093EB0003C0E0E4F1E7B1CF6196DEBF06
+:10791000CDBFCF91DF91FF91EF91BF91AF919F913B
+:107920008F917F916F915F914F913F912F911F9117
+:10793000FF90EF900F900FBE0F901F901895EE0FD5
+:0E794000FF1F0590F491E02D0994F894FFCFFD
+:10794E00FFFF00E1000000000000000000002339EE
+:08795E00D3380F390D39F3385D
:040000030000700089
:00000001FF
diff --git a/bootloaders/nuevo_diskloader/src/DiskLoader.cpp b/bootloaders/nuevo_diskloader/src/DiskLoader.cpp index efd386f..2c91367 100644 --- a/bootloaders/nuevo_diskloader/src/DiskLoader.cpp +++ b/bootloaders/nuevo_diskloader/src/DiskLoader.cpp @@ -68,9 +68,22 @@ int main() for (;;) { - L_LED_ON(); - _delay_ms(250); - L_LED_OFF(); - _delay_ms(250); +// L_LED_ON(); +// _delay_ms(250); +// L_LED_OFF(); +// _delay_ms(250); + u8* packet = _flashbuf; + u16 address = 0; + for (;;) + { +// u8 cmd = getch(); + if (Serial.available() > 0) { + u8 cmd = Serial.read(); + if (cmd == '0') + L_LED_OFF(); + if (cmd == '1') + L_LED_ON(); + } + } } } |