]> git.sur5r.net Git - cc65/blobdiff - libsrc/cbm/filedes.s
Changed run location of INIT segment.
[cc65] / libsrc / cbm / filedes.s
index 384313b94713d3a7f2291c27b874db386c52c5c0..ddce1be4da2fd774306e9a4196dffb1fc87ff39a 100644 (file)
@@ -5,6 +5,7 @@
 ;
 
 
+        .include        "cbm.inc"
         .include        "filedes.inc"
 
 .code
@@ -29,9 +30,14 @@ found:  rts
 ;--------------------------------------------------------------------------
 ; Data
 
-.bss
-fdtab:  .res    MAX_FDS
-unittab:.res    MAX_FDS
-
+.data
 
+fdtab:  .byte   LFN_READ
+        .byte   LFN_WRITE
+        .byte   LFN_WRITE
+        .res    MAX_FDS-3
 
+unittab:.byte   CBMDEV_KBD
+        .byte   CBMDEV_SCREEN
+        .byte   CBMDEV_SCREEN
+        .res    MAX_FDS-3