Add more signature stuff to entry.s

This commit is contained in:
Zane Kaminski 2021-03-04 12:43:34 -05:00
parent 1d6ea390d7
commit 0afd682ea6
2 changed files with 26 additions and 0 deletions

22
entry.s
View File

@ -4,12 +4,34 @@
.EQU kioResult, 16
.EQU kcsCode, 26
.EQU JIODone, 0x08FC
.GLOBAL RDiskSig
.GLOBAL RDiskDBGNamePos
.GLOBAL RDiskDBGDisPos
.GLOBAL RDiskDBGDisByte
.GLOBAL RDiskCDROMNamePos
.GLOBAL RDiskCDROMDisPos
.GLOBAL RDiskCDROMDisByte
dc.l 0x00000000, 0x00000000, 0x00000000, 0x00000000
dc.l 0x00000000, 0x00000000, 0x00000000, 0x00000000
RDiskSig:
.ascii "\5RDisk\0"
.align 4
RDiskDBGDisPos:
dc.l 0x000106DA
RDiskCDROMDisPos:
dc.l 0x00012C96
RDiskDBGNamePos:
dc.l 0x4088002A
RDiskCDROMNamePos:
dc.l 0x40892C96
RDiskDBGDisByte:
dc.b 0x44
RDiskCDROMDisByte:
dc.b 0x44
.align 4
DOpen:
movem.l %A0-%A1, -(%SP)
bsr RDOpen

View File

@ -2,6 +2,10 @@
#define RDISK_H
#define RDiskBuf ((char*)0x40880000)
extern uint32_t *RDiskDBGDisPos;
extern char *RDiskDBGDisByte;
extern uint32_t *RDiskCDROMDisPos;
extern char *RDiskCDROMDisByte;
#define BufPtr ((Ptr*)0x10C)
#define MemTop ((Ptr*)0x108)
#define MMU32bit ((char*)0xCB2)