]> git.sur5r.net Git - cc65/commitdiff
Move scrdev into it's own file. On the atarixl target it will be referenced by crt0.s.
authorChristian Groessler <chris@groessler.org>
Wed, 12 Jun 2013 23:16:35 +0000 (01:16 +0200)
committerChristian Groessler <chris@groessler.org>
Wed, 12 Jun 2013 23:16:35 +0000 (01:16 +0200)
libsrc/atari/graphics.s
libsrc/atari/scrdev.s [new file with mode: 0644]

index 60f2ff7898196beb53b3260b00aed3bbabc9b743..cad5412bc3298120fd36fb5f75fc8246231edd3e 100644 (file)
@@ -15,6 +15,7 @@
         .import clriocb
         .import fdtoiocb
         .import newfd
+       .import scrdev
         .importzp tmp1,tmp2,tmp3
 
         .include        "atari.inc"
@@ -100,8 +101,3 @@ cioerr: jsr     fddecusage      ; decrement usage counter of fd as open failed
         jmp     __do_oserror
 
 .endproc        ; __graphics
-
-
-        .rodata
-
-scrdev: .byte   "S:", 0
diff --git a/libsrc/atari/scrdev.s b/libsrc/atari/scrdev.s
new file mode 100644 (file)
index 0000000..c9d5b69
--- /dev/null
@@ -0,0 +1,7 @@
+; Name of the "screen" device
+
+       .export scrdev
+
+        .rodata
+
+scrdev: .byte   "S:", 0