From deeecae2cea82eb01d402ce6d3299b4b772619af Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 12 Aug 2003 17:42:03 +0000 Subject: [PATCH] Added get_ostype.s git-svn-id: svn://svn.cc65.org/cc65/trunk@2289 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/c64/Makefile | 1 + libsrc/c64/get_ostype.s | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 libsrc/c64/get_ostype.s diff --git a/libsrc/c64/Makefile b/libsrc/c64/Makefile index 5d8eeea5f..246f4773e 100644 --- a/libsrc/c64/Makefile +++ b/libsrc/c64/Makefile @@ -35,6 +35,7 @@ OBJS = _scrsize.o \ color.o \ conio.o \ cputc.o \ + get_ostype.o \ get_tv.o \ joy_stddrv.o \ kbhit.o \ diff --git a/libsrc/c64/get_ostype.s b/libsrc/c64/get_ostype.s new file mode 100644 index 000000000..b04c98576 --- /dev/null +++ b/libsrc/c64/get_ostype.s @@ -0,0 +1,22 @@ +; +; Stefan Haubenthal, Jul 10 2003 +; +; unsigned char get_ostype(void) +; +; $AA US +; $64 PET-64 +; $43 SX-64 +; $03 EU_NEW +; $00 EU_OLD +; + + .export _get_ostype + +.proc _get_ostype + + lda $ff80 + rts + +.endproc + +