48 Commits

Author SHA1 Message Date
Brian Pugh
d8c9c6b08e improve argparse organization 2021-09-24 09:54:53 -07:00
Brian Pugh
6b7c7035a2 print sram data upon completion 2021-09-21 12:07:20 -07:00
Brian Pugh
371c3517d1 fix linker script, add __str__ method to rwdata 2021-09-21 09:33:02 -07:00
Brian Pugh
6fa60c51d0 misc fixes 2021-09-20 22:30:48 -07:00
Brian Pugh
6680886c12 move rwdata to the end, shift novel code up 2021-09-20 21:35:51 -07:00
Brian Pugh
4afbb42ffa RWData initial commit to have greater control over data placement 2021-09-20 21:10:55 -07:00
Brian Pugh
4863c2b254 Cleanup the external flash when --no-save is specified. Cleanup visualization 2021-09-20 11:40:47 -07:00
Brian Pugh
4e11a1a6b7 Disable OTFDEC by default 2021-09-20 09:54:02 -07:00
Brian Pugh
73fa1bea1b Print remaining internal free space 2021-09-19 11:44:54 -07:00
Brian Pugh
a29c360f50 tilemap exporter script 2021-09-17 13:02:13 -07:00
Brian Pugh
3674e7d614 remove pdb 2021-09-16 19:41:35 -07:00
Brian Pugh
f9011f5631 lzma compress rwdata 2021-09-16 19:37:16 -07:00
Brian Pugh
333d33f5e5 Big refactor to imperitive patching 2021-09-16 10:38:08 -07:00
Brian Pugh
2afa5d3202 lz decompression for rw data 2021-09-15 21:27:07 -07:00
Brian Pugh
0b2cc35f7b install debug fault handlers 2021-09-10 08:56:58 -07:00
Brian Pugh
603e6e7964 make sure the extflash nvram region is blank 2021-09-08 17:36:14 -07:00
Brian Pugh
cc00a10bf0 misc 2021-09-08 17:30:00 -07:00
Brian Pugh
358820c2fa put both firmware occupany onto the same figure 2021-09-07 12:31:07 -07:00
Brian Pugh
7fda811489 Move show method to Firmware 2021-09-07 11:12:24 -07:00
Brian Pugh
e71063e5fd Add --extended flag 2021-09-05 08:56:12 -07:00
Brian Pugh
e59aa4f096 successfully move time graphics to internal flash 2021-09-04 10:14:13 -07:00
Brian Pugh
bd7f744e33 shorten the otfdec end address 2021-09-02 20:02:33 -07:00
Brian Pugh
c699ca7af5 Add shorten command 2021-09-02 20:02:33 -07:00
Brian Pugh
8ff46e8936 refine encrypted flash length 2021-09-02 20:02:33 -07:00
Brian Pugh
8314a89dd2 rename mario_song_len to offset and update it when images are deleted 2021-09-02 20:02:33 -07:00
Brian Pugh
709f7d3698 fix y axis 2021-09-02 20:02:33 -07:00
Brian Pugh
bdd562af54 move show into its own method 2021-09-02 20:02:33 -07:00
Brian Pugh
2125985463 delete now sets 0x00 instead of 0xFF 2021-09-02 20:02:33 -07:00
Brian Pugh
5cc5ec0725 Erase last chunk of data that seems unused 2021-09-02 20:02:33 -07:00
Brian Pugh
0d43f77717 Good general progress 2021-09-02 20:02:33 -07:00
Brian Pugh
220736776a external flash encrypt/decrypt 2021-09-02 20:02:33 -07:00
Brian Pugh
8069fde296 wip 2021-09-02 20:02:33 -07:00
Brian Pugh
733ff58c85 unified patching system 2021-09-02 20:02:33 -07:00
Brian Pugh
887dbe91a1 framework to start modifying external flash 2021-09-02 20:02:33 -07:00
Brian Pugh
8c00cacb18 cleanup Firmware class in prep to subclass it for extflash 2021-09-02 20:02:33 -07:00
Brian Pugh
b2628d62d4 rename timeout->time, added --mario-song-time 2021-08-22 09:20:14 -07:00
Brian Pugh
48f5dcc0be Add colorama python coloring, put patch-related argument parsing into the patches module 2021-08-21 16:20:12 -07:00
Brian Pugh
6928b1e04e Added keystone engine, hard_reset_timeout, sleep, is_usb_connected 2021-08-21 11:04:32 -07:00
Brian Pugh
3ae195b764 cleanup some and set python binary to python3 2021-08-20 09:23:53 -07:00
Brian Pugh
9181f722d3 Add "bl" patch command 2021-08-19 12:18:00 -07:00
Brian Pugh
9545f87ba7 move patching action into the Patch class instead of the firmware class 2021-08-19 12:18:00 -07:00
Brian Pugh
c03904e7c2 improve patch.py logging 2021-08-19 12:18:00 -07:00
Brian Pugh
a522875977 making a little bit of progress 2021-08-17 10:52:51 -07:00
Brian Pugh
0a808f88df patch.py reorg into new Firmware class 2021-08-17 09:40:34 -07:00
Brian Pugh
18540ffe3c have startup code invoke stock_main 2021-08-15 21:48:31 -07:00
Brian Pugh
1960c0cd84 rebuild patch when patch.py changes 2021-08-15 21:40:44 -07:00
Brian Pugh
4cce48bf7e combine stock and patch binaries, no inplace changes yet 2021-08-15 21:08:08 -07:00
Brian Pugh
b92b7f5c07 rename patcher->patch 2021-08-15 19:20:05 -07:00