| Index: apps/iloader/themes/ipodclassic-default/source/iloader.conf |
| — | — | @@ -23,10 +23,22 @@ |
| 24 | 24 | unpackucl(0x09000000, 0x08000000)
|
| 25 | 25 | exec(0x08000000)
|
| 26 | 26 | rockboxuncompressed:
|
| 27 | | - error(0xffffffff)
|
| | 27 | + error(rockboxerror)
|
| 28 | 28 | readfile(0x08000000, "/.rockbox/rockbox.ipod\0")
|
| 29 | 29 | rbchecksum(0x08000000)
|
| 30 | 30 | exec(0x08000000)
|
| | 31 | +rockboxerror:
|
| | 32 | + error(0xffffffff)
|
| | 33 | + fillrect(0, 0, 195, 240, 0xffff)
|
| | 34 | + text(16, 16, 0x0000, 0xffff, "Rockbox does not seem\0")
|
| | 35 | + text(16, 24, 0x0000, 0xffff, "to be installed.\0")
|
| | 36 | + text(16, 32, 0x0000, 0xffff, "You need to extract it\0")
|
| | 37 | + text(16, 40, 0x0000, 0xffff, "to the root directory\0")
|
| | 38 | + text(16, 48, 0x0000, 0xffff, "of your iPod.\0")
|
| | 39 | + text(16, 64, 0x0000, 0xffff, "Press any key to\0")
|
| | 40 | + text(16, 72, 0x0000, 0xffff, "return to the menu.\0")
|
| | 41 | + blit()
|
| | 42 | + button(menu, menu, menu, menu, menu, 0)
|
| 31 | 43 |
|
| 32 | 44 | update:
|
| 33 | 45 | error(updateerror)
|
| — | — | @@ -35,11 +47,14 @@ |
| 36 | 48 | script(0x08000000, 0)
|
| 37 | 49 | updateerror:
|
| 38 | 50 | error(0xffffffff)
|
| 39 | | - fillrect(0, 0, 320, 240, 0xffff)
|
| 40 | | - text(16, 16, 0x0000, 0xffff, "Please place update.cfg\0")
|
| 41 | | - text(16, 24, 0x0000, 0xffff, "in the iLoader folder on\0")
|
| 42 | | - text(16, 32, 0x0000, 0xffff, "your iPod. Press any key\0")
|
| 43 | | - text(16, 40, 0x0000, 0xffff, "to return to the menu.\0")
|
| | 51 | + fillrect(0, 0, 195, 240, 0xffff)
|
| | 52 | + text(16, 16, 0x0000, 0xffff, "There is no updater\0")
|
| | 53 | + text(16, 24, 0x0000, 0xffff, "present. Please copy \0")
|
| | 54 | + text(16, 32, 0x0000, 0xffff, "ipodclassic-installer.ubi\0")
|
| | 55 | + text(16, 40, 0x0000, 0xffff, "into the root directory\0")
|
| | 56 | + text(16, 48, 0x0000, 0xffff, "of your iPod.\0")
|
| | 57 | + text(16, 64, 0x0000, 0xffff, "Press any key to\0")
|
| | 58 | + text(16, 72, 0x0000, 0xffff, "return to the menu.\0")
|
| 44 | 59 | blit()
|
| 45 | 60 | button(menu, menu, menu, menu, menu, 0)
|
| 46 | 61 |
|
| — | — | @@ -46,9 +61,9 @@ |
| 47 | 62 | entry:
|
| 48 | 63 | readfile(0x08000000, "/iLoader/theme.ucl\0")
|
| 49 | 64 | unpackucl(0x08000000, 0x09000000)
|
| | 65 | + displaybmp(195, 0, 0x09000000)
|
| 50 | 66 | menu:
|
| 51 | | - fillrect(0, 0, 320, 240, 0xffff)
|
| 52 | | - displaybmp(195, 0, 0x09000000)
|
| | 67 | + fillrect(0, 0, 195, 240, 0xffff)
|
| 53 | 68 | displaybmp(0, 0, 0x0900ec88)
|
| 54 | 69 | blit()
|
| 55 | 70 | menu(mainmenu, 0, 0xffffffff, 0xfffffffe, 0xffffffff, 0xfffffffe, 0)
|
| Index: apps/iloader/themes/ipodclassic-default-fastboot/source/iloader.conf |
| — | — | @@ -1,5 +1,5 @@ |
| 2 | 2 | # nothing center right center+right left center+left left+right center+left+right
|
| 3 | | -.word(rockbox) .word(entry) .word(entry) .word(console) .word(entry) .word(entry) .word(entry) .word(entry)
|
| | 3 | +.word(fastboot) .word(entry) .word(entry) .word(console) .word(entry) .word(entry) .word(entry) .word(entry)
|
| 4 | 4 | .word(rockbox) .word(umsboot) .word(entry) .word(entry) .word(entry) .word(entry) .word(entry) .word(entry) # +play
|
| 5 | 5 | .word(entry) .word(entry) .word(entry) .word(entry) .word(entry) .word(entry) .word(entry) .word(entry) # +menu
|
| 6 | 6 | .word(entry) .word(entry) .word(entry) .word(entry) .word(entry) .word(entry) .word(entry) .word(entry) # +play+menu
|
| — | — | @@ -16,17 +16,34 @@ |
| 17 | 17 | umsboot:
|
| 18 | 18 | readflash(0x08000000, "umsboot ")
|
| 19 | 19 | exec(0x08000000)
|
| | 20 | +
|
| | 21 | +fastboot:
|
| | 22 | + error(entry)
|
| | 23 | + jmp(rockboxcommon)
|
| 20 | 24 |
|
| 21 | 25 | rockbox:
|
| 22 | 26 | error(rockboxuncompressed)
|
| | 27 | +rockboxcommon:
|
| 23 | 28 | readfile(0x09000000, "/iloader/rockbox.ucl\0")
|
| 24 | 29 | unpackucl(0x09000000, 0x08000000)
|
| 25 | 30 | exec(0x08000000)
|
| 26 | 31 | rockboxuncompressed:
|
| 27 | | - error(0xffffffff)
|
| | 32 | + error(rockboxerror)
|
| 28 | 33 | readfile(0x08000000, "/.rockbox/rockbox.ipod\0")
|
| 29 | 34 | rbchecksum(0x08000000)
|
| 30 | 35 | exec(0x08000000)
|
| | 36 | +rockboxerror:
|
| | 37 | + error(0xffffffff)
|
| | 38 | + fillrect(0, 0, 195, 240, 0xffff)
|
| | 39 | + text(16, 16, 0x0000, 0xffff, "Rockbox does not seem\0")
|
| | 40 | + text(16, 24, 0x0000, 0xffff, "to be installed.\0")
|
| | 41 | + text(16, 32, 0x0000, 0xffff, "You need to extract it\0")
|
| | 42 | + text(16, 40, 0x0000, 0xffff, "to the root directory\0")
|
| | 43 | + text(16, 48, 0x0000, 0xffff, "of your iPod.\0")
|
| | 44 | + text(16, 64, 0x0000, 0xffff, "Press any key to\0")
|
| | 45 | + text(16, 72, 0x0000, 0xffff, "return to the menu.\0")
|
| | 46 | + blit()
|
| | 47 | + button(menu, menu, menu, menu, menu, 0)
|
| 31 | 48 |
|
| 32 | 49 | update:
|
| 33 | 50 | error(updateerror)
|
| — | — | @@ -35,11 +52,14 @@ |
| 36 | 53 | script(0x08000000, 0)
|
| 37 | 54 | updateerror:
|
| 38 | 55 | error(0xffffffff)
|
| 39 | | - fillrect(0, 0, 320, 240, 0xffff)
|
| 40 | | - text(16, 16, 0x0000, 0xffff, "Please place update.cfg\0")
|
| 41 | | - text(16, 24, 0x0000, 0xffff, "in the iLoader folder on\0")
|
| 42 | | - text(16, 32, 0x0000, 0xffff, "your iPod. Press any key\0")
|
| 43 | | - text(16, 40, 0x0000, 0xffff, "to return to the menu.\0")
|
| | 56 | + fillrect(0, 0, 195, 240, 0xffff)
|
| | 57 | + text(16, 16, 0x0000, 0xffff, "There is no updater\0")
|
| | 58 | + text(16, 24, 0x0000, 0xffff, "present. Please copy \0")
|
| | 59 | + text(16, 32, 0x0000, 0xffff, "ipodclassic-installer.ubi\0")
|
| | 60 | + text(16, 40, 0x0000, 0xffff, "into the root directory\0")
|
| | 61 | + text(16, 48, 0x0000, 0xffff, "of your iPod.\0")
|
| | 62 | + text(16, 64, 0x0000, 0xffff, "Press any key to\0")
|
| | 63 | + text(16, 72, 0x0000, 0xffff, "return to the menu.\0")
|
| 44 | 64 | blit()
|
| 45 | 65 | button(menu, menu, menu, menu, menu, 0)
|
| 46 | 66 |
|
| — | — | @@ -46,9 +66,9 @@ |
| 47 | 67 | entry:
|
| 48 | 68 | readfile(0x08000000, "/iLoader/theme.ucl\0")
|
| 49 | 69 | unpackucl(0x08000000, 0x09000000)
|
| | 70 | + displaybmp(195, 0, 0x09000000)
|
| 50 | 71 | menu:
|
| 51 | | - fillrect(0, 0, 320, 240, 0xffff)
|
| 52 | | - displaybmp(195, 0, 0x09000000)
|
| | 72 | + fillrect(0, 0, 195, 240, 0xffff)
|
| 53 | 73 | displaybmp(0, 0, 0x0900ec88)
|
| 54 | 74 | blit()
|
| 55 | 75 | menu(mainmenu, 0, 0xffffffff, 0xfffffffe, 0xffffffff, 0xfffffffe, 0)
|