+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Menu Compression.
Pages: 1 ... 8 9 [10]
Author Topic: Menu Compression.  (Read 4 times)
ded302
Guest
« Reply #135 on: March 09, 2009, 01:16:40 am »

I want to know how to set breakpoints in bluemsx.
Suppose I find a string I want to change that is located
at 4B8C in the Z80 visible memory(0000-ffff). What would I have to do
in the bluemsx debugger to set a read breakpoint for the address
4B8C?
KingMike
Guest
« Reply #136 on: March 09, 2009, 08:31:47 am »

Load the game, click Tools/Debug.
Then you have to click Pause in the debugger before you can choose the breakpoint options in the menu.
ded302
Guest
« Reply #137 on: March 10, 2009, 12:58:11 am »

Thanks, I was able to find the code I was looking for.
ded302
Guest
« Reply #138 on: September 14, 2009, 08:46:52 pm »

I've been playing around with this PC98 game called Aiza and what I'm trying to do is make a 1 byte font hack. So far I've been on the right track. But I have ran into this problem.

I got text that is set up like this:
abcdefghijklmnop

But the text is displayed like this:
abegikmo

Here is what my hack looks like:

Code:
les ds:[bp+0ch],00b0:82b4h
ax=000f bx=08e0 cx=0005 dx=b800
bp=4d4a sp=4d42 si=0000 di=000e
cs=2b04 ds=1806 ss=2426 es=75c6

mov ah,82h
ax=000f bx=4d72 cx=0005 dx=b800
bp=4d4a sp=4d42 si=0000 di=000e
cs=2b04 ds=1806 ss=2426 es=2426

mov al,00h
ax=820f bx=4d72 cx=0005 dx=b800
bp=4d4a sp=4d42 si=0000 di=000e
cs=2b04 ds=1806 ss=2426 es=2426

push ax
ax=8200 bx=4d72 cx=0005 dx=b800
bp=4d4a sp=4d42 si=0000 di=000e
cs=2b04 ds=1806 ss=2426 es=2426

mov al,es:[bx+si]
ax=8200 bx=4d72 cx=0005 dx=b800
bp=4d4a sp=4d40 si=0000 di=000e
cs=2b04 ds=1806 ss=2426 es=2426

nop (BIOS)
ax=8281 bx=4d72 cx=0005 dx=b800
bp=4d4a sp=4d40 si=0000 di=000e
cs=2b04 ds=1806 ss=2426 es=2426

Btw, with ax=8281, 8281 is the Shift-Jis
code for a.

Is there an instruction like this

Code:
les ds:[bp+0ch],00b0:82b4h
ax=000f bx=08e0 cx=0005 dx=b800
bp=4d4a sp=4d42 si=0000 di=000e
cs=2b04 ds=1806 ss=2426 es=75c6

in 8086 assembly that can address 8 bits of data instead of 16 bits of data?
I think that is causing the letter skipping.
« Last Edit: September 14, 2009, 08:55:45 pm by ded302 »
ded302
Guest
« Reply #139 on: November 08, 2009, 06:26:08 am »

Ive done some stuff with Ninja Roi for the Nes lately.  The pointer to the sequential text block has been found.  T know the games mapper is MMC1 and its 512kbs.  Ive tried
using some of the bankswap registers and rom expansion and Im stuck. Also, when I expand the rom, the routine runs from the second 512kb half of the 1mb rom.
KingMike
Guest
« Reply #140 on: November 08, 2009, 09:48:35 am »

I think MMC1 has a 512KB maximum.
I don't think emulators support it because no official cart is that size.
One document suggests that bit 5 of register $8000 is used with bit 5 of register $A000 to choose 4 256KB blocks, but again, as no official cart actually uses it, I would consider it unreliable information.
(I would guess it is unchanged from other MMC1 carts, in that this bit selects the CHR-ROM bank size.)

(okay, when Nesticle was popular, people thought Dragon Warrior IV was 1MB. I think Nesticle (which supported it) was dead by the time it was discovered to be a bad dump.)
« Last Edit: November 08, 2009, 10:11:43 am by KingMike »
ded302
Guest
« Reply #141 on: November 08, 2009, 01:18:46 pm »

Thanks for telling me that.  I'll just go for dte.
Pages: 1 ... 8 9 [10]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC