1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 21:32:19 +00:00

Introduced Apple GEOS specific directory entry offsets. However in most cases the assembler code using them will need to differentiate between CBM and Apple because the directory entry semantics are (too) different.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5545 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc 2012-02-22 23:26:25 +00:00
parent c8f3b16f99
commit 336e53348b

View File

@ -278,6 +278,7 @@ OFF_GS_DTYPE = 189
OFF_OP_TR_SC = 171
OFF_GS_ID = 173
; dir entry
.ifdef __GEOS_CBM__
FRST_FILE_ENTRY = 2
OFF_CFILE_TYPE = 0
OFF_DE_TR_SC = 1
@ -285,9 +286,20 @@ OFF_FNAME = 3
OFF_GHDR_PTR = 19
OFF_GSTRUC_TYPE = 21
OFF_GFILE_TYPE = 22
OFF_YEAR = 23
OFF_DATE = 23
OFF_SIZE = 28
OFF_NXT_FILE = 32
.else
FRST_FILE_ENTRY = 43
OFF_GSTRUC_TYPE = 0
OFF_FNAME = 1
OFF_GFILE_TYPE = 16
OFF_DE_TR_SC = 17
OFF_SIZE = 21
OFF_DATE = 24
OFF_GHDR_PTR = 31
OFF_NXT_FILE = 39
.endif
; file header
O_GHIC_WIDTH = 2
O_GHIC_HEIGHT = 3