mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-23 06:32:58 +00:00
Add SGetTypeSRsrc()
This commit is contained in:
parent
29d30cd033
commit
91eb3f460c
@ -446,6 +446,17 @@ SRsrcInfo:
|
||||
unlk %fp
|
||||
rts
|
||||
|
||||
/* OSErr SGetTypeSRsrc(SpBlockPtr spBlkPtr) */
|
||||
|
||||
.global SGetTypeSRsrc
|
||||
SGetTypeSRsrc:
|
||||
link %fp, #0
|
||||
move.l 8(%fp), %a0
|
||||
move.l #0x0C, %d0 /* SGetTypeSRsrc */
|
||||
dc.w 0xA06E /* _SlotManager */
|
||||
unlk %fp
|
||||
rts
|
||||
|
||||
#if defined(SCSI_SUPPORT)
|
||||
|
||||
/* SCSI support */
|
||||
|
@ -302,7 +302,7 @@ struct SpBlock {
|
||||
int8_t spByteLanes;
|
||||
int8_t spFlags;
|
||||
int8_t spKey;
|
||||
};
|
||||
} __attribute__((packed)) ;
|
||||
typedef struct SpBlock SpBlock;
|
||||
typedef SpBlock * SpBlockPtr;
|
||||
|
||||
@ -314,7 +314,15 @@ enum {
|
||||
drSwApple = 0x0001,
|
||||
};
|
||||
|
||||
enum { /* flags for spParamData */
|
||||
fall = 0,
|
||||
foneslot = 1,
|
||||
fnext = 2,
|
||||
};
|
||||
|
||||
|
||||
OSErr SRsrcInfo(SpBlockPtr spBlkPtr);
|
||||
OSErr SGetTypeSRsrc(SpBlockPtr spBlkPtr);
|
||||
|
||||
typedef struct VDFlagRec
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user