notaz.gp2x.de
/
megadrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix some header mistakes
[megadrive.git]
/
megaed-sv
/
sega_gcc.s
diff --git
a/megaed-sv/sega_gcc.s
b/megaed-sv/sega_gcc.s
index
514f4c8
..
446c1fe
100644
(file)
--- a/
megaed-sv/sega_gcc.s
+++ b/
megaed-sv/sega_gcc.s
@@
-13,15
+13,16
@@
exc_tab:
.ascii "MEGA-ED host "
\r
.ascii "GM 00000000-00"
\r
.byte 0x00,0x00
\r
.ascii "MEGA-ED host "
\r
.ascii "GM 00000000-00"
\r
.byte 0x00,0x00
\r
- .ascii "J
D
"
\r
- .byte 0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00
\r
-
.byte 0x00,0xff,0x00,0x00,0xff,0xff,0xff,0x
ff
\r
+ .ascii "J
"
\r
+ dc.l 0x000000,0x1fffff
\r
+
dc.l 0xff0000,0xffff
ff
\r
.ascii " "
\r
.ascii " "
\r
.ascii " "
\r
.ascii "JUE "
\r
\r
RST:
\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
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
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
# vim:filetype=asmM68k:ts=4:sw=4:expandtab
\r