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:
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
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.