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