d2bfad8a |
1 | dc.l 0, 0x200, exc__, exc__, exc__, exc__, exc__, exc__\r |
2 | dc.l exc__, exc__, exc__, exc__, exc__, exc__, exc__, exc__\r |
3 | dc.l exc__, exc__, exc__, exc__, exc__, exc__, exc__, exc__\r |
4 | dc.l exc__, exc__, exc__, exc__, HBL, exc__, VBL, exc__\r |
5 | dc.l exc__, exc__, exc__, exc__, exc__, exc__, exc__, exc__\r |
6 | dc.l exc__, exc__, exc__, exc__, exc__, exc__, exc__, exc__\r |
7 | dc.l exc__, exc__, exc__, exc__, exc__, exc__, exc__, exc__\r |
8 | dc.l exc__, exc__, exc__, exc__, exc__, exc__, exc__, exc__\r |
9 | \r |
10 | .ascii "SEGA EVERDRIVE "\r |
11 | .ascii "MEGA-ED SDRAM vs STOP "\r |
12 | .ascii "MEGA-ED SDRAM vs STOP "\r |
13 | .ascii "GM 00000000-00"\r |
14 | .byte 0x00,0x00\r |
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 |
22 | \r |
23 | RST:\r |
24 | move.w #0x2700, %sr\r |
25 | /* magic ED app init */\r |
26 | move.w #0x0000, (0xA13006)\r |
27 | jmp init_ed.l\r |
28 | init_ed:\r |
29 | move.w #0x210f, (0xA13006)\r |
30 | move.l #HBL, (0x70)\r |
31 | move.l #VBL, (0x78)\r |
32 | \r |
33 | moveq #0, %d0\r |
34 | movea.l %d0, %a7\r |
35 | move %a7, %usp\r |
36 | bra main\r |
37 | \r |
38 | HBL:\r |
39 | VBL:\r |
40 | exc__:\r |
41 | rte\r |
42 | \r |
43 | # vim:filetype=asmM68k:ts=4:sw=4:expandtab\r |