Skip to content

Instantly share code, notes, and snippets.

@TrueBrain
Created June 16, 2020 21:47
Show Gist options
  • Save TrueBrain/e46bb639b56d2846b62369956e8a75a6 to your computer and use it in GitHub Desktop.
Save TrueBrain/e46bb639b56d2846b62369956e8a75a6 to your computer and use it in GitHub Desktop.
def func_00821b():
if False: yield
lda8((Pointer((cpu.dh << 8), 0xff, 0x13)) if (cpu.flag_e and cpu.dl == 0) else (Pointer(0, 0xffff, cpu.d + 0x13)))
sta8(Pointer(0, 0xffffff, (cpu.dbr << 16) + ((0x2100) & 0xffff)))
lda8((Pointer((cpu.dh << 8), 0xff, 0x9b)) if (cpu.flag_e and cpu.dl == 0) else (Pointer(0, 0xffff, cpu.d + 0x9b)))
sta8(Pointer(0, 0xffffff, (cpu.dbr << 16) + ((0x420c) & 0xffff)))
rep(0b00110000)
plb8()
pld16()
ply16()
plx16()
pla16()
rti()
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment