supermario/bin/MPW-3.2.3/Interfaces/AIncludes/EDiskEqu.a
2019-06-29 22:17:03 +08:00

42 lines
1.8 KiB
Plaintext

; Version: 2.93
; Created: Friday, October 20, 1989 at 9:15:51 PM
; File: EDiskEqu.a
;
; Assembler Interface to the Macintosh Libraries
; Copyright Apple Computer, Inc. 1988
; All Rights Reserved
;
;--------------------------------------------------------------------
IF &TYPE('__IncludingEDiskEqu__') = 'UNDEFINED' THEN
__IncludingEDiskEqu__ SET 1
; EDisk header block
EDiskHeader record 0,increment ; layout of the slim signature block
HdrScratch ds.b 128 ; scratch space for r/w testing and vendor info
HdrBlockSize ds.w 1 ; size of header block (512 bytes for version 1)
HdrVersion ds.w 1 ; header version number (this is version 1)
HdrSignature ds.b 12 ; 'EDisk Gary D'
HdrDeviceSize ds.l 1 ; size of device, in bytes
HdrFormatTime ds.l 1 ; time when last formatted (pseudo unique ID)
HdrFormatTicks ds.l 1 ; ticks when last formatted (pseudo unique ID)
HdrCheckSumOff ds.l 1 ; offset to CheckSum table if present
HdrDataStartOff ds.l 1 ; offset to first byte of data storage
HdrDataEndOff ds.l 1 ; offset to last byte+1 of data storage
HdrMediaIconOff ds.l 1 ; offset to media Icon and Mask if present
HdrDriveIconOff ds.l 1 ; offset to drive Icon and Mask if present
HdrWhereStrOff ds.l 1 ; offset to GetInfo Where: string if present
HdrDriveInfo ds.l 1 ; longword for Return Drive Info call if present
ds.b 512-* ; rest of block is reserved
EDiskHeaderSize equ * ; size of EDisk header block
endr
; Internal ROM disks are aligned on 64KB boundarys starting in the system ROM
; and running up to the beginning of I/O space
RomDiskAlign equ $00010000 ; aligned on 64K byte boundarys
ENDIF ; ...already included