fix some header mistakes
[megadrive.git] / megaed-sv / sega_gcc.s
index 514f4c8..446c1fe 100644 (file)
@@ -13,15 +13,16 @@ exc_tab:
     .ascii "MEGA-ED host                                    "\r
     .ascii "GM 00000000-00"\r
     .byte 0x00,0x00\r
-    .ascii "JD              "\r
-    .byte 0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00\r
-    .byte 0x00,0xff,0x00,0x00,0xff,0xff,0xff,0xff\r
+    .ascii "J               "\r
+    dc.l  0x000000,0x1fffff\r
+    dc.l  0xff0000,0xffffff\r
     .ascii "               "\r
     .ascii "                        "\r
     .ascii "                         "\r
     .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