hexed: refactor init code a bit
[megadrive.git] / hexed / sega_gcc.s
CommitLineData
4db6e09f 1 dc.l 0x0,0x200\r
2 dc.l INT,INT,INT,INT,INT,INT,INT\r
3 dc.l INT,INT,INT,INT,INT,INT,INT,INT\r
4 dc.l INT,INT,INT,INT,INT,INT,INT,INT\r
5 dc.l INT,INT,INT,HBL,INT,VBL,INT,INT\r
6 dc.l INT,INT,INT,INT,INT,INT,INT,INT\r
7 dc.l INT,INT,INT,INT,INT,INT,INT,INT\r
8 dc.l INT,INT,INT,INT,INT,INT,INT,INT\r
9 dc.l INT,INT,INT,INT,INT,INT,INT\r
10 .ascii "SEGA GENESIS "\r
6f93f411 11 .ascii "hexed (c) notaz, 2009-2011 "\r
12 .ascii "HEXED (C) NOTAZ, 2009-2011 "\r
4db6e09f 13 .ascii "GM 00000000-00"\r
27d5cc88 14 .byte 0x00,0x00\r
4db6e09f 15 .ascii "JD "\r
16 .byte 0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00\r
17 .byte 0x00,0xff,0x00,0x00,0xff,0xff,0xff,0xff\r
18 .ascii " "\r
19 .ascii " "\r
20 .ascii " "\r
21 .ascii "JUE "\r
4fce116e 22\r
4fce116e 23 moveq #0,%d0\r
24 movea.l %d0,%a7\r
25 move %a7,%usp\r
318e20ff 26 bra main\r
4db6e09f 27\r
4fce116e 28* INT:\r
29* rte\r
4db6e09f 30\r
31HBL:\r
4db6e09f 32 rte\r
33\r
1286a1ba 34* VBL:\r
35* addq.l #1,(vtimer).l\r
36* rte\r
4db6e09f 37\r