286 Commits

Author SHA1 Message Date
Brian Pugh
a0a4a6ba66 Merge branch 'more-int' into move-to-sram3 2021-09-21 15:12:15 -07:00
Brian Pugh
8751d5ea56 replace a nop with a simulated return value 2021-09-21 15:09:55 -07:00
Brian Pugh
180f23989a added a bunch of explicit sram3 references 2021-09-21 12:07:42 -07:00
Brian Pugh
6b7c7035a2 print sram data upon completion 2021-09-21 12:07:20 -07:00
Brian Pugh
9af6fd775a hijack some ram at 0x240e2b38 2021-09-21 11:35:33 -07:00
Brian Pugh
78e66fa48e Update end-of-rwdata-table pointer 2021-09-21 10:15:03 -07:00
Brian Pugh
371c3517d1 fix linker script, add __str__ method to rwdata 2021-09-21 09:33:02 -07:00
Brian Pugh
b71ead9223 misc fixes 2021-09-21 08:58:47 -07:00
Brian Pugh
08e6df012c some commmented out and re-arranged code for sram3 2021-09-21 07:58:10 -07:00
Brian Pugh
6fa60c51d0 misc fixes 2021-09-20 22:30:48 -07:00
Brian Pugh
617e9db575 fixed missing offset from compression 2021-09-20 21:40:14 -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
32077394fb Use standard move_ext for graphic tiles; maybe revert once sram3 is all working 2021-09-20 17:23:15 -07:00
Brian Pugh
58c53d74f6 Add SRAM3 class and added it to Device 2021-09-20 17:21:09 -07:00
Brian Pugh
0a97af72fc slight improvement to export icons tool 2021-09-20 14:43:57 -07:00
Brian Pugh
2b67ed5779 add export_icons.py tool 2021-09-20 14:23:38 -07:00
Brian Pugh
a134d29b76 Add comments about potential space savings of compressing (i think) images 2021-09-20 11:52:29 -07:00
Brian Pugh
e7b568d59f Add --no-smb2 flag 2021-09-20 11:47:44 -07:00
Brian Pugh
7d0518e727 bkpt method 2021-09-20 11:41:01 -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
ccfcec96c4 Implemented disabling nvram saving 2021-09-20 10:03:57 -07:00
Brian Pugh
217d0a1ae5 Add dump_ext target 2021-09-20 09:54:15 -07:00
Brian Pugh
4e11a1a6b7 Disable OTFDEC by default 2021-09-20 09:54:02 -07:00
Brian Pugh
64676f0112 disable nvram loading 2021-09-20 09:30:05 -07:00
Brian Pugh
085312d1c4 unconditional branch method 2021-09-20 09:17:27 -07:00
Brian Pugh
bf513aeda8 revert delete 2021-09-20 09:03:26 -07:00
Brian Pugh
af47fe0e78 two's compliment for bl 2021-09-20 08:52:50 -07:00
Brian Pugh
73a575a246 Added erase_ext target to makefile 2021-09-20 08:19:20 -07:00
Brian Pugh
5bceaca30d Delete seemingly unused data; saves 2880 bytes 2021-09-20 07:41:06 -07:00
Brian Pugh
021b16ef48 improve comments 2021-09-19 21:25:23 -07:00
Brian Pugh
82f612ed05 solve rounded 4 bytes 2021-09-19 21:18:08 -07:00
Brian Pugh
f5317752b8 Add --no-save argument (not yet hooked up). Update README 2021-09-19 20:34:47 -07:00
Brian Pugh
db553357ad move last chunk, need find source of remaining 4 byte chunk 2021-09-19 14:50:30 -07:00
Brian Pugh
34bdac0f22 simplify patch branching for different configs 2021-09-19 14:46:12 -07:00
Brian Pugh
3abd7a2c93 Make an explicit exception for running out of internal space 2021-09-19 14:28:17 -07:00
Brian Pugh
b4c2f5f608 mostly done move to int 2021-09-19 14:20:17 -07:00
Brian Pugh
0704c16ad8 some cleanup 2021-09-19 11:58:05 -07:00
Brian Pugh
73fa1bea1b Print remaining internal free space 2021-09-19 11:44:54 -07:00
Brian Pugh
8368284af3 Use lookup dictionary for references instead of just add-math. Tighten up some program packing 2021-09-19 11:38:53 -07:00
Brian Pugh
a4071865a0 improve some makefile dependencies; optimize for size 2021-09-19 11:32:10 -07:00
Brian Pugh
ebad8b2778 Lookup class for colorized outputs 2021-09-19 09:32:37 -07:00
Brian Pugh
b17d69e382 Remove setting OPENOCD in flashloader.sh 2021-09-19 09:18:33 -07:00
Brian Pugh
1369f50b11 wip 2021-09-19 09:17:38 -07:00
Brian Pugh
83c1472ae7 Add basic tools/ readme 2021-09-17 13:03:30 -07:00
Brian Pugh
a29c360f50 tilemap exporter script 2021-09-17 13:02:13 -07:00
Brian Pugh
59b1a27508 fully transition over to imperitive 2021-09-17 12:51:53 -07:00
Brian Pugh
467ac7c7fa ball works when moved to internal now 2021-09-17 10:57:55 -07:00
Brian Pugh
5911bc3825 more progress moving stuff to internal firmware 2021-09-17 10:05:33 -07:00
Brian Pugh
0edc4680e1 Fix ball sounds when moving stuff after mario song 2021-09-17 09:39:38 -07:00