Merge remote-tracking branch 'dnm/master'

This commit is contained in:
Connor Olding 2019-03-11 06:23:23 +01:00
commit fc6c9faeb2
3 changed files with 24 additions and 0 deletions

4
0017 V00744020.xxd.patch Normal file
View file

@ -0,0 +1,4 @@
40c40
< 00000270: a040 009f 3c0e 8080 25ce 32f8 240f 2410 .@..<...%.2.$.$.
---
> 00000270: a040 009f 3c0e 8083 25ce df6c 240f 00e0 .@..<...%..l$...

10
0023 V007492E0.xxd.patch Normal file
View file

@ -0,0 +1,10 @@
1011,1012c1011,1012
< 00003f20: 910f 09f8 a100 09f9 3c01 8085 a02f 49ce ........<..../I.
< 00003f30: 8d18 07a0 8fa7 0048 3c01 8085 0018 c82b .......H<......+
---
> 00003f20: 340f 0002 a100 09f9 3c01 8085 a02f 49ce 4.......<..../I.
> 00003f30: 3418 0014 8fa7 0048 3c01 8085 0018 c82b 4......H<......+
1057c1057
< 00004200: 0000 0000 0c03 483d 0000 0000 1040 fff9 ......H=.....@..
---
> 00004200: 0000 0000 0c03 483d 0000 0000 0000 0000 ......H=........

10
cmd.sh Normal file
View file

@ -0,0 +1,10 @@
# the patch for file 0017 (N64 logo overlay) tells it to load the Famicom overlay next
# instead of the normal gameplay overlay. it's specified by its VRAM address and context size.
# these values were taken from the table loaded at 80106E20 (each element is 0x30 long).
diff <(xxd e106dff*/0017*) <(xxd dnm-instant-famicom/0017*) > '0017 V00744020.xxd.patch'
# the patch for file 0023 (Famicom emulator overlay) tells it to load some constant values
# instead of loading them from a setup we never did.
# change the "340f 0002" instruction to select a game. (0001 to 0007)
# it also NOPs out of a loop that expects a flag to be set.
diff <(xxd e106dff*/0023*) <(xxd dnm-instant-famicom/0023*) > '0023 V007492E0.xxd.patch'