367 Commits

Author SHA1 Message Date
Brian Pugh
0cc5c99b3b fix string.h warning 2021-09-28 20:58:36 -07:00
Brian Pugh
5a4e5ecfac remove reference to internal memcpy, would cause optimized builds to fail 2021-09-28 20:56:42 -07:00
Brian Pugh
6f188b02e1 clean up some addresses 2021-09-28 14:46:16 -07:00
Brian Pugh
e3d70af1b3 Minimal on-demand clock sprite switching 2021-09-28 14:21:19 -07:00
Brian Pugh
aba403275f initial attempt at creating flow command 2021-09-28 08:53:16 -07:00
Brian Pugh
60623f88f4 export itcm and dtcm rwdata 2021-09-27 20:44:31 -07:00
Brian Pugh
9405ca705d add decompress_ram_data.py 2021-09-27 10:58:03 -07:00
Brian Pugh
bcd3b57289 Update the SMB1_GRAPHIC_MODS table 2021-09-26 18:35:45 -07:00
Brian Pugh
8f595aa8b0 update move_ext functions (except for sram3) to accept bytes/bytearrays for injecting novel data 2021-09-26 18:11:13 -07:00
Brian Pugh
696011e464 progress in having dynamically loadable rom graphics 2021-09-26 17:37:23 -07:00
Brian Pugh
14e7c54b45 Add more targets to the ignore params list 2021-09-26 16:15:28 -07:00
Brian Pugh
d1cf6a9cf1 fix minor tools bugs 2021-09-26 15:15:56 -07:00
Brian Pugh
670a40537e Merge pull request #23 from BrianPugh/mode-actions
Proper variable init, additional memtool modes
2021-09-26 14:59:07 -07:00
Brian Pugh
9b6ac2d943 remove debugging scratch 2021-09-26 14:57:54 -07:00
Brian Pugh
5e28daa57c properly initialize custom rwdata 2021-09-26 14:52:27 -07:00
Brian Pugh
dd2eb367b4 it seems like gnw actually might use the last 8KB of ahb_sram_2 2021-09-26 10:57:22 -07:00
Brian Pugh
e652169a62 Don't rebuild if specifying openocd or gdb targets 2021-09-26 10:56:26 -07:00
Brian Pugh
b2ecde0985 Catch faults in memtool addr reading 2021-09-26 10:23:30 -07:00
Brian Pugh
e689d17605 fix ahb_sram_2 address in memtool 2021-09-26 10:17:03 -07:00
Brian Pugh
51f2fa856f Add functionality to detect what gnw mode we are in 2021-09-26 10:12:38 -07:00
Brian Pugh
9d43f423e2 Allow capture to specify memory regions by name. Allow for easy post-analysis 2021-09-26 10:04:21 -07:00
Brian Pugh
471d7379c1 Merge pull request #22 from BrianPugh/memtool-clear
Add clear action to memtool
2021-09-26 09:41:39 -07:00
Brian Pugh
6e422f7bff Add clear action to memtool 2021-09-26 09:02:33 -07:00
Brian Pugh
3fe154058e Merge pull request #21 from BrianPugh/disable-mario-song-activation
Disable mario song activation if mario song is removed
2021-09-25 22:08:01 -07:00
Brian Pugh
37d97da586 Disable mario song activation if mario song is removed 2021-09-25 22:07:02 -07:00
Brian Pugh
cd408f63e3 Merge pull request #20 from BrianPugh/byte-check
add --show argument to memtool capture
2021-09-25 21:52:27 -07:00
Brian Pugh
4e1baaa665 add --show argument to memtool capture 2021-09-25 21:37:51 -07:00
Brian Pugh
78bdfe54a8 Merge pull request #19 from BrianPugh/mem-dump
Memory utilities
2021-09-25 21:21:12 -07:00
Brian Pugh
39ba55c071 Add SMB1 graphics python utilities from https://jakevdp.github.io/blog/2013/01/13/hacking-super-mario-bros-with-python/ 2021-09-25 21:18:50 -07:00
Brian Pugh
509ec76243 put actual unused region of ram into linker script 2021-09-25 20:45:03 -07:00
Brian Pugh
9cf857b118 rename mem_observer to memtool 2021-09-25 18:29:05 -07:00
Brian Pugh
0a65bf67fa Merge pull request #18 from BrianPugh/tile-replace
Tileset override
2021-09-25 18:04:23 -07:00
Brian Pugh
54fb0f8b62 make image indexing functions a little more powerful 2021-09-25 18:01:07 -07:00
Brian Pugh
3c2cd9ff1f Add option to override tileset 2021-09-25 14:58:03 -07:00
Brian Pugh
6c4e42d1b2 Reworked tilemap_to_bytes to actually work 2021-09-25 11:48:25 -07:00
Brian Pugh
d7b78a5ad7 initial tilemap_to_bytes implementation; it remaps a few colors wrong though 2021-09-25 11:06:33 -07:00
Brian Pugh
d8ec92030c remove matplotlib dependency 2021-09-25 10:24:25 -07:00
Brian Pugh
5835eada65 Update README.md 2021-09-24 20:13:10 -07:00
Brian Pugh
fa20b8bad6 Merge pull request #17 from BrianPugh/tileset-mgmt
Tileset mgmt
2021-09-24 17:50:10 -07:00
Brian Pugh
6c57205ad7 linting 2021-09-24 17:39:46 -07:00
Brian Pugh
3b246d2f51 dump iconset 2021-09-24 17:37:15 -07:00
Brian Pugh
ac7e242b6d Dump tileset during build 2021-09-24 17:37:13 -07:00
Brian Pugh
d39ee87421 Merge pull request #16 from BrianPugh/cleanup
remove unused/deprecated code
2021-09-24 17:35:29 -07:00
Brian Pugh
cbb12d9cb3 remove unused/deprecated code 2021-09-24 17:34:43 -07:00
Brian Pugh
322c4d8503 Merge pull request #15 from BrianPugh/linting
Linting
2021-09-24 17:27:56 -07:00
Brian Pugh
9cf6421d6a inital attempt at setting up linting with github actions 2021-09-24 17:27:18 -07:00
Brian Pugh
e5136c25dc linting 2021-09-24 17:25:01 -07:00
Brian Pugh
b417498ec7 Black linting 2021-09-24 17:14:06 -07:00
Brian Pugh
fe47442b13 add linting configs 2021-09-24 17:13:08 -07:00
Brian Pugh
3afd71d3c5 fix warning 2021-09-24 17:12:56 -07:00