X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=megaed-sv%2Fsega_gcc.s;h=446c1fe4d00e5a6fcd78bf2562f75006b220e0ad;hb=b40440c43fc737d9384d8b7724d8b36b0da2f37d;hp=514f4c8014037b0499f20c1188e0ea297db50900;hpb=39ac9835e099583fcf38aa92ff83d8515c745104;p=megadrive.git diff --git a/megaed-sv/sega_gcc.s b/megaed-sv/sega_gcc.s index 514f4c8..446c1fe 100644 --- a/megaed-sv/sega_gcc.s +++ b/megaed-sv/sega_gcc.s @@ -13,15 +13,16 @@ exc_tab: .ascii "MEGA-ED host " .ascii "GM 00000000-00" .byte 0x00,0x00 - .ascii "JD " - .byte 0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00 - .byte 0x00,0xff,0x00,0x00,0xff,0xff,0xff,0xff + .ascii "J " + dc.l 0x000000,0x1fffff + dc.l 0xff0000,0xffffff .ascii " " .ascii " " .ascii " " .ascii "JUE " RST: + move.w (0xc00008), start_hvc move.w #0x2700, %sr /* magic ED app init */ move.w #0x0000, (0xA13006) @@ -212,4 +213,10 @@ exc_stub 3d exc_stub 3e exc_stub 3f +.bss +.align 2 +.global start_hvc +start_hvc: + .word 0 + # vim:filetype=asmM68k:ts=4:sw=4:expandtab