mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +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 \
|
exehdr.o \
|
||||||
filedes.o \
|
filedes.o \
|
||||||
filename.o \
|
filename.o \
|
||||||
|
filetype.o \
|
||||||
filevars.o \
|
filevars.o \
|
||||||
gotox.o \
|
gotox.o \
|
||||||
gotoxy.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
|
; Variables used for CBM file I/O
|
||||||
;
|
;
|
||||||
|
|
||||||
.export __filetype
|
|
||||||
.export __curunit
|
.export __curunit
|
||||||
.constructor initcurunit, 30
|
.constructor initcurunit, 30
|
||||||
.importzp devnum
|
.importzp devnum
|
||||||
|
|
||||||
|
|
||||||
.data
|
|
||||||
|
|
||||||
__filetype:
|
|
||||||
.byte 's' ; Create sequential files by default
|
|
||||||
|
|
||||||
|
|
||||||
.bss
|
.bss
|
||||||
|
|
||||||
__curunit:
|
__curunit:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user