more space improvements by Daniel Serpell
git-svn-id: svn://svn.cc65.org/cc65/trunk@4503 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
30
libsrc/atari/fdtab.s
Normal file
30
libsrc/atari/fdtab.s
Normal file
@@ -0,0 +1,30 @@
|
||||
;
|
||||
; Christian Groessler, Oct-2000
|
||||
; Daniel Serpell, Dec-2009
|
||||
;
|
||||
; the fdtable itself is defined here
|
||||
;
|
||||
|
||||
.include "fd.inc"
|
||||
|
||||
.export fd_table,fd_index
|
||||
.export ___fd_table,___fd_index ; for test(debug purposes only
|
||||
|
||||
.data
|
||||
|
||||
___fd_index:
|
||||
fd_index: ; fd number is index into this table, entry's value specifies the fd_table entry
|
||||
.byte 0,0,0 ; at start, three first files are stdin/stdout/stderr.
|
||||
.res MAX_FD_INDEX-3,$ff
|
||||
|
||||
___fd_table:
|
||||
fd_table: ; each entry represents an open iocb
|
||||
.byte 3,0,'E',0 ; system console, app starts with opened iocb #0 for E:
|
||||
.byte 0,$ff,0,0
|
||||
.byte 0,$ff,0,0
|
||||
.byte 0,$ff,0,0
|
||||
.byte 0,$ff,0,0
|
||||
.byte 0,$ff,0,0
|
||||
.byte 0,$ff,0,0
|
||||
.byte 0,$ff,0,0
|
||||
|
||||
Reference in New Issue
Block a user