mirror of
https://github.com/garrettsworkshop/MacIIROMDiskDriver.git
synced 2024-12-11 23:29:13 +00:00
22fdedfd16
Now by default CD-ROM extension is disabled and ROM disk is mounted
1 line
1016 B
C
1 line
1016 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
|
|
#define DebugCheckbox 13
|
|
#define DebugCaption 14
|
|
#define CDROMCheckbox 15
|
|
#define CDROMCaption 16
|
|
|
|
#define RDiskSigPtr ((char*)0x40851D90)
|
|
#define RDiskSigStr "\5RDisk" // sizeof(RDiskSigStr) == 7
|
|
|
|
#define RDiskDBGNamePos ((char**)0x40851DA0)
|
|
#define RDiskDBGDisPos ((char**)0x40851D98)
|
|
#define RDiskDBGDisByte ((char*)0x40851DA8)
|
|
#define RDiskCDROMNamePos ((char**)0x40851DA4)
|
|
#define RDiskCDROMDisPos ((char**)0x40851D9C)
|
|
#define RDiskCDROMDisByte ((char*)0x40851DA9)
|
|
#define RDiskRAMReq ((char*)0x40851DAA)
|
|
|
|
#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
|