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