megaed-sv: tas sync code
[megadrive.git] / megaed-sv / sega_gcc.s
index 514f4c8..897acdf 100644 (file)
@@ -22,6 +22,7 @@ exc_tab:
     .ascii "JUE             "\r
 \r
 RST:\r
+       move.w      (0xc00008), start_hvc\r
        move.w          #0x2700, %sr\r
 /* magic ED app init */\r
        move.w #0x0000, (0xA13006)\r
@@ -212,4 +213,10 @@ exc_stub 3d
 exc_stub 3e\r
 exc_stub 3f\r
 \r
+.bss\r
+.align 2\r
+.global start_hvc\r
+start_hvc:\r
+    .word 0\r
+\r
 # vim:filetype=asmM68k:ts=4:sw=4:expandtab\r