mirror of
https://github.com/garrettsworkshop/MacIIROMDiskDriver.git
synced 2024-12-01 02:50:27 +00:00
1 line
580 B
C
1 line
580 B
C
|
#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
|