Mercurial > repos > blastem
view runtime.S @ 710:4cd8823f79e3
First pass at emulating a vscroll latch. Titan's Overdrive demo seems to depend on the scroll value being latched early in the line before the HINT gets a chance to change it
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 16 May 2015 23:04:57 -0700 |
parents | 7ed1dbb48f61 |
children |
line wrap: on
line source
invalid_msg: .asciz "Invalid instruction at %X\n" .global m68k_invalid m68k_invalid: lea invalid_msg(%rip), %rdi mov %ecx, %esi xor %rax, %rax call printf mov $1, %rdi call exit