MacIIROMDiskDriver/RDiskCP/RDiskCP.h

1 line
580 B
C
Raw Normal View History

2020-07-16 06:29:09 +00:00
#ifndef RDISKCP_H #define RDISKCP_H #include <A4Stuff.h> #define BootCheckbox 3 #define BootCaption 6 #define MountCheckbox 5 #define MountCaption 8 #define RAMCheckbox 7 #define RAMCaption 10 const char RDiskSig[] = "RDisk"; #define RDiskSigAddr ((char*)0x40851D91) #pragma parameter __D0 RDiskCPReadXPRam(__D0, __D1, __A0) short RDiskCPReadXPRam(short size, short offset, char *where) = {0x4840, 0x3001, 0xA051}; #pragma parameter __D0 RDiskCPWriteXPRam(__D0, __D1, __A0) short RDiskCPWriteXPRam(short size, short offset, char *where) = {0x4840, 0x3001, 0xA052}; #endif