Moved most of the file type detection from cbm_dir.c into a new function

called _cbm_filetype().
Added an assembler include file with the file type definitions from cbm.h.
Added a first implementation of readdir() for the CBMs.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5669 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2012-06-02 22:56:14 +00:00
parent eab5f250ad
commit ebca2991a3
9 changed files with 254 additions and 19 deletions

View File

@@ -32,7 +32,8 @@ CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
C_OBJS = cbm_dir.o \
cbm_load.o \
cbm_save.o \
opendir.o
opendir.o \
readdir.o
S_OBJS = c_acptr.o \
c_basin.o \
@@ -55,6 +56,7 @@ S_OBJS = c_acptr.o \
c_unlsn.o \
c_untlk.o \
cbm_close.o \
cbm_ftype.o \
cbm_open.o \
cbm_read.o \
cbm_write.o \