mirror of
https://github.com/cc65/cc65.git
synced 2025-01-26 17:36:57 +00:00
defines for the fd redirection table
git-svn-id: svn://svn.cc65.org/cc65/trunk@398 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
4a7642e98c
commit
e4531f807a
19
libsrc/atari/fd.inc
Normal file
19
libsrc/atari/fd.inc
Normal file
@ -0,0 +1,19 @@
|
||||
;
|
||||
; Christian Groessler, Oct-2000
|
||||
;
|
||||
; offsets and defines for fdtable (internal use only)
|
||||
;
|
||||
|
||||
MAX_FD_INDEX = 12
|
||||
MAX_FD_VAL = 8 ; we have 8 IOCBs
|
||||
|
||||
ft_entrylen = 4 ; length of table entry (it's not sufficient to change here!
|
||||
; the code sometimes does two bit shifts to multiply/divide by
|
||||
; this length)
|
||||
|
||||
ft_usa = 0 ; usage counter
|
||||
ft_iocb = 1 ; iocb index (0,$10,$20,etc.), $ff for empty entry
|
||||
ft_dev = 2 ; device of open iocb (0 - device not remembered, eg. filename specified)
|
||||
ft_flag = 3 ; flags
|
||||
; lower 3 bits: device number (for R: and D:)
|
||||
|
Loading…
x
Reference in New Issue
Block a user