mirror of
https://github.com/cc65/cc65.git
synced 2024-11-11 01:05:25 +00:00
d2351bba49
git-svn-id: svn://svn.cc65.org/cc65/trunk@3028 b7a2c559-68d2-44c3-8de9-860c34a00d81
28 lines
468 B
PHP
28 lines
468 B
PHP
;
|
|
; _file.inc
|
|
;
|
|
; (C) Copyright 2002 Ullrich von Bassewitz (uz@cc65.org)
|
|
;
|
|
|
|
; Assembler include file that makes the constants and structures in _file.h
|
|
; available for asm code.
|
|
|
|
; Struct _FILE
|
|
.struct _FILE
|
|
f_fd .byte
|
|
f_flags .byte
|
|
f_pushback .byte
|
|
.endstruct
|
|
|
|
; Flags field
|
|
_FCLOSED = $00
|
|
_FOPEN = $01
|
|
_FEOF = $02
|
|
_FERROR = $04
|
|
_FPUSHBACK = $08
|
|
|
|
; File table
|
|
.global __filetab
|
|
|
|
|