X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=megaed-sv%2Fsega_gcc.s;fp=megaed-sv%2Fsega_gcc.s;h=897acdfa1f43088fdcd51e1281f2502cccd4ddaf;hb=65d9165cf790c51d46b68866f47b042105083f43;hp=514f4c8014037b0499f20c1188e0ea297db50900;hpb=39ac9835e099583fcf38aa92ff83d8515c745104;p=megadrive.git diff --git a/megaed-sv/sega_gcc.s b/megaed-sv/sega_gcc.s index 514f4c8..897acdf 100644 --- a/megaed-sv/sega_gcc.s +++ b/megaed-sv/sega_gcc.s @@ -22,6 +22,7 @@ exc_tab: .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