mirror of
https://github.com/garrettsworkshop/MacIIROMDiskDriver.git
synced 2024-10-31 15:05:57 +00:00
Add more signature stuff to entry.s
This commit is contained in:
parent
1d6ea390d7
commit
0afd682ea6
22
entry.s
22
entry.s
@ -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
|
||||
|
4
rdisk.h
4
rdisk.h
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user