aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/diskloader
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-09-16 11:18:39 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2011-09-16 11:18:39 -0400
commitbc096344f5884c72c1bfd9c1de7f264094418d99 (patch)
tree490dcd6df5d744a05cbe5f01a6e5ce936f8b07ee /bootloaders/diskloader
parent983cfc058ed33d8d5182ecaba78fb99ed49a4d71 (diff)
faster LED breathing animation in bootloader
Diffstat (limited to 'bootloaders/diskloader')
-rw-r--r--bootloaders/diskloader/DiskLoader.hex185
-rw-r--r--bootloaders/diskloader/src/DiskLoader.cpp8
2 files changed, 97 insertions, 96 deletions
diff --git a/bootloaders/diskloader/DiskLoader.hex b/bootloaders/diskloader/DiskLoader.hex
index 3a7ab54..0146019 100644
--- a/bootloaders/diskloader/DiskLoader.hex
+++ b/bootloaders/diskloader/DiskLoader.hex
@@ -1,4 +1,4 @@
-:1078000011241FBECFEFDAE0DEBFCDBFC5C04101FE
+:1078000011241FBECFEFDAE0DEBFCDBFCAC04101F9
:1078100042144505560455026403740300001E9586
:1078200087020110030000C18081C106C0FF0A0069
:107830000CA10185037508150026FF00954009017C
@@ -11,96 +11,97 @@
:1078A000810310004009040100020A0000000705DE
:1078B00002024000000705830240000009040200A4
:1078C0000103000000092101010001221E0007053B
-:1078D00084034000400020918A0130918B012F5F8A
-:1078E0003F4F30938B0120938A01832F9927982F44
-:1078F00087FD9095990F921710F447980895479A2D
-:107900000895769A289A81E08093E0001092E20030
-:10791000EE27FF27099408950F931F93CF93DF93CA
-:10792000982FEB01042F10E088E76030780730F4DF
-:1079300011E083E0FB0180935700E895892F68E010
-:1079400071E0402FF8D0112311F107B600FCFDCFF4
-:10795000402F4695FE01A8E0B1E020E031E009C0EB
-:107960008D919D910C0130935700E895112432962A
-:107970002F5F2417A8F385E0FE0180935700E89558
-:1079800007B600FCFDCF81E180935700E895DF91B9
-:10799000CF911F910F91089588E10FB6F8948093CD
-:1079A0006000109260000FBE769A289A47983F9A1E
-:1079B000209A6E9A90E8909361001092610081E89D
-:1079C00085BF95BF9FD084E18093880180E180933B
-:1079D0008901E0E0F0E0859194918F5F9F4F19F06D
-:1079E00081E080938F01EE24FF24BB24B39424EF25
-:1079F000C22E21E0D22E03D2082F8EE098E7FC01A0
-:107A00002491319602964491201711F02223B9F760
-:107A1000109291011092900182E068E071E08BD0A9
-:107A2000013479F4609108016058633028F06831BE
-:107A300011F064E001C063E0C62FD0E0CF5DD7480D
-:107A40000EC0063571F480910801803311F011E009
-:107A500022C080910A01C82FD0E0C25ED74811E051
-:107A600022C0053721F413E0CEE1D8E71CC005356C
-:107A700039F4E0900801F0900901EE0CFF1C0AC0F7
-:107A8000043631F482E0B7014091090145DF02C0BC
-:107A9000043721F010E0C5E2D8E705C010910901D4
-:107AA000E701E10EF11CABD18097B1F483E068E807
-:107AB00071E041E050E059D0112329F0412F50E00E
-:107AC00083E8BE0152D083E469E871E041E050E010
-:107AD0004CD0013509F08FCFD0929101C092900126
-:107AE000B0928F01EE24FF2486CFFC01289884E613
-:107AF00080938D0104C08091F100819361506623D1
-:107B0000D1F70895109291011092900110928E0178
-:107B100010928F0181E08093D70080EA8093D80093
-:107B200082E189BD09B400FEFDCF80E98093D800D1
-:107B30001092E0000895FB018093E90024E69BE6A3
-:107B400011C08091E80085FFFCCF289820938D011B
-:107B50008091F10081938091E80085FD02C09093AF
-:107B6000E8004150442369F70895982FFB01282F1E
-:107B7000207287708093E90064E63AE317C0809131
-:107B8000E80085FFFCCF97FF02C0849101C080818F
-:107B90003196211180E0769860938C018093F100FA
-:107BA0008091E80085FD02C03093E80041505040CC
-:107BB0008FEF4F3F580719F796FF03C08AE3809372
-:107BC000E800089580919301813299F4769884E6D3
-:107BD00080938C0120E030E003C080818093F1002D
-:107BE000F901E050FF4F2F5F3F4F28303105A9F7D3
-:107BF00014C0803261F48091E80082FFFCCF80E005
-:107C000091E067E072DF8BEF8093E80006C082327C
-:107C100021F4809194018093070181E008952091DF
-:107C20009501223209F1213081F4809198019091DF
-:107C30009901089711F420939A0180919A01882361
-:107C400009F03FC0EFE5F8E73EC0223021F484E6BA
-:107C5000E1E7F8E70CC0233091F580919401882387
-:107C600071F5E9E4F8E72FC081E0EBE2F8E79091E5
-:107C70009801382F981708F4392F90918C0120E043
-:107C80004EEF8091E8008570E1F38091E80082FD7D
-:107C900012C02F5F849176988093F100822F8F73AA
-:107CA00011F44093E800319694E6231750F3909333
-:107CB0008C0181E0089590938C0180E0089580E02C
-:107CC0000895EDE4F8E78491D2CF1092E900809115
-:107CD000E80083FF61C082E991E068E006DF82EF9F
-:107CE0008093E8008091920187FF05C08091E800B1
-:107CF00080FFFCCF03C08EEF8093E800809193015A
-:107D0000853051F48091E80080FFFCCF8091940190
-:107D100080688093E30039C08930E1F48091940158
-:107D200080938E01E7E2F8E791E031E026E390935B
-:107D3000E9003093EB0084918093EC002093ED00F8
-:107D40009F5F3196953099F78EE78093EA00109205
-:107D5000EA001BC0883049F490918E01769884E641
-:107D600080938C019093F10010C0882339F47698A9
-:107D700084E680938C011092F10007C0863011F4E4
-:107D80004EDF01C01FDF882321F08EEF8093E800D3
-:107D9000089581E28093EB0008958091E1001092B4
-:107DA000E100282F83FF0CC01092E90081E080934E
-:107DB000EB001092EC0082E38093ED0010928E01B4
-:107DC00022FF1CC080918C01882331F08150809368
-:107DD0008C01882309F4769A80918D01882331F0F3
-:107DE000815080938D01882309F4289A80918F0116
-:107DF000882321F4109291011092900108951F930D
-:107E0000CF93DF9312E0C0E9D1E05FDFC6DF1093CC
-:107E1000E9008091E80085FF13C0289884E68093EC
-:107E20008D019091F1008091E80085FD03C08BE603
-:107E30008093E800892F90E0DF91CF911F91089502
-:107E4000809190019091910101979093910180937D
-:107E500090018091900190919101892B09F451DD5D
-:0A7E6000CE010197F1F737DDD0CF16
-:087E6A0000E10000000000002F
+:1078D00084034000400020918A0130918B012C5F8D
+:1078E0003F4F30938B0120938A01C901892F99273B
+:1078F0008695982F803418F08FE7891B982F990F61
+:10790000921710F447980895479A0895769A289AFE
+:1079100081E08093E0001092E200EE27FF270994B7
+:1079200008950F931F93CF93DF93982FEB01042FAC
+:1079300010E088E76030780730F411E083E0FB0165
+:1079400080935700E895892F68E071E0402FF8D0C8
+:10795000112311F107B600FCFDCF402F4695FE0123
+:10796000A8E0B1E020E031E009C08D919D910C01CB
+:1079700030935700E895112432962F5F2417A8F30F
+:1079800085E0FE0180935700E89507B600FCFDCF27
+:1079900081E180935700E895DF91CF911F910F917E
+:1079A000089588E10FB6F89480936000109260000B
+:1079B0000FBE769A289A47983F9A209A6E9A90E836
+:1079C000909361001092610081E885BF95BF9FD0C0
+:1079D00084E18093880180E180938901E0E0F0E018
+:1079E000859194918F5F9F4F19F081E080938F0173
+:1079F000EE24FF24BB24B39454EFC52E51E0D52EC2
+:107A000003D2082F8EE098E7FC012491319602966C
+:107A10004491201711F02223B9F71092910110928E
+:107A2000900182E068E071E08BD0013479F46091DC
+:107A300008016058633028F0683111F064E001C03B
+:107A400063E0C62FD0E0CF5DD7480EC0063571F495
+:107A500080910801803311F011E022C080910A0169
+:107A6000C82FD0E0C25ED74811E022C0053721F40C
+:107A700013E0CEE1D8E71CC0053539F4E0900801E9
+:107A8000F0900901EE0CFF1C0AC0043631F482E0CC
+:107A9000B7014091090145DF02C0043721F010E031
+:107AA000C5E2D8E705C010910901E701E10EF11C1C
+:107AB000ABD18097B1F483E068E871E041E050E039
+:107AC00059D0112329F0412F50E083E8BE0152D054
+:107AD00083E469E871E041E050E04CD0013509F001
+:107AE0008FCFD0929101C0929001B0928F01EE247D
+:107AF000FF2486CFFC01289884E680938D0104C082
+:107B00008091F100819361506623D1F7089510921E
+:107B100091011092900110928E0110928F0181E0DC
+:107B20008093D70080EA8093D80082E189BD09B4B0
+:107B300000FEFDCF80E98093D8001092E000089508
+:107B4000FB018093E90024E69BE611C08091E800E8
+:107B500085FFFCCF289820938D018091F1008193BF
+:107B60008091E80085FD02C09093E80041504423D5
+:107B700069F70895982FFB01282F20728770809352
+:107B8000E90064E63AE317C08091E80085FFFCCF86
+:107B900097FF02C0849101C080813196211180E05D
+:107BA000769860938C018093F1008091E80085FDC8
+:107BB00002C03093E800415050408FEF4F3F5807CC
+:107BC00019F796FF03C08AE38093E8000895809137
+:107BD0009301813299F4769884E680938C0120E0B9
+:107BE00030E003C080818093F100F901E050FF4F45
+:107BF0002F5F3F4F28303105A9F714C0803261F460
+:107C00008091E80082FFFCCF80E091E067E072DFC6
+:107C10008BEF8093E80006C0823221F480919401BA
+:107C20008093070181E0089520919501223209F1A6
+:107C3000213081F48091980190919901089711F475
+:107C400020939A0180919A01882309F03FC0EFE5C3
+:107C5000F8E73EC0223021F484E6E1E7F8E70CC003
+:107C6000233091F580919401882371F5E9E4F8E7D8
+:107C70002FC081E0EBE2F8E790919801382F981738
+:107C800008F4392F90918C0120E04EEF8091E800AC
+:107C90008570E1F38091E80082FD12C02F5F84912E
+:107CA00076988093F100822F8F7311F44093E8004F
+:107CB000319694E6231750F390938C0181E0089558
+:107CC00090938C0180E0089580E00895EDE4F8E75A
+:107CD0008491D2CF1092E9008091E80083FF61C0C7
+:107CE00082E991E068E006DF82EF8093E80080910E
+:107CF000920187FF05C08091E80080FFFCCF03C0A0
+:107D00008EEF8093E80080919301853051F480914B
+:107D1000E80080FFFCCF8091940180688093E300AD
+:107D200039C08930E1F48091940180938E01E7E2BB
+:107D3000F8E791E031E026E39093E9003093EB001F
+:107D400084918093EC002093ED009F5F31969530F5
+:107D500099F78EE78093EA001092EA001BC0883002
+:107D600049F490918E01769884E680938C019093EB
+:107D7000F10010C0882339F4769884E680938C0152
+:107D80001092F10007C0863011F44EDF01C01FDFF2
+:107D9000882321F08EEF8093E800089581E280939C
+:107DA000EB0008958091E1001092E100282F83FFFD
+:107DB0000CC01092E90081E08093EB001092EC007F
+:107DC00082E38093ED0010928E0122FF1CC080910F
+:107DD0008C01882331F0815080938C01882309F431
+:107DE000769A80918D01882331F0815080938D01A6
+:107DF000882309F4289A80918F01882321F4109216
+:107E000091011092900108951F93CF93DF9312E098
+:107E1000C0E9D1E05FDFC6DF1093E9008091E800A0
+:107E200085FF13C0289884E680938D019091F1001E
+:107E30008091E80085FD03C08BE68093E800892FE0
+:107E400090E0DF91CF911F910895809190019091E2
+:107E500091010197909391018093900180919001FD
+:107E600090919101892B09F451DDCE010197F1F731
+:047E700032DDD0CF60
+:087E740000E100000000000025
:040000030000780081
:00000001FF
diff --git a/bootloaders/diskloader/src/DiskLoader.cpp b/bootloaders/diskloader/src/DiskLoader.cpp
index f854fd1..1771d02 100644
--- a/bootloaders/diskloader/src/DiskLoader.cpp
+++ b/bootloaders/diskloader/src/DiskLoader.cpp
@@ -220,10 +220,10 @@ int main()
u16 _pulse;
void LEDPulse()
{
- _pulse++;
- u8 p = _pulse >> 8;
- if (p > 127)
- p = 255-p;
+ _pulse += 4;
+ u8 p = _pulse >> 9;
+ if (p > 63)
+ p = 127-p;
p += p;
if (((u8)_pulse) > p)
LED0;