From: John Tsiombikas Date: Wed, 13 Dec 2023 17:39:43 +0000 (+0200) Subject: foo X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=9614b850904393cc744c3e020cb86e325e30ae80;p=mdlife foo --- diff --git a/src/startup.s b/src/startup.s index 2b5b7a7..785a0b5 100644 --- a/src/startup.s +++ b/src/startup.s @@ -7,9 +7,12 @@ start: jsr disable_intr + move.b 0xa10001, %d0 + and.b #0xf, %d0 + beq.s skip_tmss | write SEGA to 0xa14000 to convince the TMSS to run us - move.l 0x100, %d0 - move.l %d0, 0xa14000 + move.l #0x53454741, 0xa14000 +skip_tmss: | copy .data section from ROM to RAM move.l #_data_lma, %a0 diff --git a/src/z80/main.asm b/src/z80/main.asm index 3727e74..0caba8a 100644 --- a/src/z80/main.asm +++ b/src/z80/main.asm @@ -18,7 +18,7 @@ main: di ld (iy+1), $f0 ; key on ei mainloop: - halt ; wait for interrupt + ;halt ; wait for interrupt ld a, (frame) ld b, a ; b: cur frame ld a, (prev) ; a: prev frame