X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fstartup.s;h=785a0b57a34f4a15e3d7bd17bfc99802c37491f5;hb=9614b850904393cc744c3e020cb86e325e30ae80;hp=2b5b7a751fdb3e1916ea7de5eb564d9a81238763;hpb=ffc5bece7ae258fe752e1d8895eddabb4133577d;p=mdlife 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