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 + +