mirror of
https://github.com/elliotnunn/sys7.1-doc-wip.git
synced 2024-12-12 04:29:09 +00:00
62 lines
2.3 KiB
Plaintext
62 lines
2.3 KiB
Plaintext
;
|
||
; File: EDiskEqu.a
|
||
;
|
||
; Contains: xxx put contents here xxx
|
||
;
|
||
; Written by: xxx put writers here xxx
|
||
;
|
||
; Copyright: © 1991 by Apple Computer, Inc., all rights reserved.
|
||
;
|
||
; This file is used in these builds: ROM System
|
||
;
|
||
; Change History (most recent first):
|
||
;
|
||
; <5> 8/14/91 JL changed lower case equ to EQU to match database output.
|
||
; <4> 1/30/91 gbm sab, #38: Change the ‘already including this file’ variable to
|
||
; all uppercase (for security reasons)
|
||
;
|
||
; To Do:
|
||
;
|
||
|
||
; 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 |