From 15e2afcdf3109dadd8a2802af12cc3ee841ad9dc Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Thu, 4 Jun 2020 21:40:40 +0200 Subject: [PATCH] Split libref.s into multiple files to prevent inclusion of unnecessary code. --- libsrc/atari/libref.s | 8 +------- libsrc/atari/tgiref.s | 13 +++++++++++++ 2 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 libsrc/atari/tgiref.s diff --git a/libsrc/atari/libref.s b/libsrc/atari/libref.s index 171bd6de6..933eb5911 100644 --- a/libsrc/atari/libref.s +++ b/libsrc/atari/libref.s @@ -2,14 +2,8 @@ ; Oliver Schmidt, 2013-05-31 ; - .export em_libref, joy_libref, tgi_libref + .export em_libref, joy_libref .import _exit em_libref := _exit joy_libref := _exit -.ifdef __ATARIXL__ - .import CIO_handler -tgi_libref := CIO_handler -.else -tgi_libref := _exit -.endif diff --git a/libsrc/atari/tgiref.s b/libsrc/atari/tgiref.s new file mode 100644 index 000000000..5ac42fb46 --- /dev/null +++ b/libsrc/atari/tgiref.s @@ -0,0 +1,13 @@ +; +; Oliver Schmidt, 2013-05-31 +; + + .export tgi_libref + +.ifdef __ATARIXL__ + .import CIO_handler +tgi_libref := CIO_handler +.else + .import _exit +tgi_libref := _exit +.endif