mirror of
https://github.com/garrettsworkshop/MacIIROMDiskDriver.git
synced 2024-11-28 14:49:31 +00:00
1 line
580 B
C
Executable File
1 line
580 B
C
Executable File
#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 |