From 7eca62f8e4953ae69c9b2201c829287c355751dc Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Thu, 13 Jun 2013 01:16:35 +0200 Subject: [PATCH] Move scrdev into it's own file. On the atarixl target it will be referenced by crt0.s. --- libsrc/atari/graphics.s | 6 +----- libsrc/atari/scrdev.s | 7 +++++++ 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 libsrc/atari/scrdev.s diff --git a/libsrc/atari/graphics.s b/libsrc/atari/graphics.s index 60f2ff789..cad5412bc 100644 --- a/libsrc/atari/graphics.s +++ b/libsrc/atari/graphics.s @@ -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 index 000000000..c9d5b6919 --- /dev/null +++ b/libsrc/atari/scrdev.s @@ -0,0 +1,7 @@ +; Name of the "screen" device + + .export scrdev + + .rodata + +scrdev: .byte "S:", 0