mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
Move the _filetype variable into its own module, so people who want to change
the default can replace exactly this module without interfering with other stuff. git-svn-id: svn://svn.cc65.org/cc65/trunk@5785 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
f7f4d01e52
commit
a62958764d
@ -74,6 +74,7 @@ S_OBJS = c_acptr.o \
|
||||
exehdr.o \
|
||||
filedes.o \
|
||||
filename.o \
|
||||
filetype.o \
|
||||
filevars.o \
|
||||
gotox.o \
|
||||
gotoxy.o \
|
||||
|
15
libsrc/cbm/filetype.s
Normal file
15
libsrc/cbm/filetype.s
Normal file
@ -0,0 +1,15 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 2012-07-15
|
||||
;
|
||||
; Default file type used when creating new files
|
||||
;
|
||||
|
||||
.export __filetype
|
||||
|
||||
|
||||
.data
|
||||
|
||||
__filetype:
|
||||
.byte 's' ; Create sequential files by default
|
||||
|
||||
|
@ -4,18 +4,11 @@
|
||||
; Variables used for CBM file I/O
|
||||
;
|
||||
|
||||
.export __filetype
|
||||
.export __curunit
|
||||
.constructor initcurunit, 30
|
||||
.importzp devnum
|
||||
|
||||
|
||||
.data
|
||||
|
||||
__filetype:
|
||||
.byte 's' ; Create sequential files by default
|
||||
|
||||
|
||||
.bss
|
||||
|
||||
__curunit:
|
||||
|
Loading…
Reference in New Issue
Block a user