From 7bf23d5b680f4cfaf2a4f1d1f03005cd1c1473a9 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 26 Apr 2026 03:14:47 -0400 Subject: Add files I forgot to add to the repo. Apparently nobody builds this from source but me... --- config/os2ram.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 config/os2ram.h (limited to 'config/os2ram.h') diff --git a/config/os2ram.h b/config/os2ram.h new file mode 100644 index 0000000..46d0a0e --- /dev/null +++ b/config/os2ram.h @@ -0,0 +1,6 @@ +/* cc65's libsrc/atari/ostype.s offers detailed OS type detection. + All we care about is "Is it an XL/XE or a 400/800?", which + boils down to this: */ +#define is_xl() ( *((char *)0xfcd8) != 0xa2 ) + +void os_to_ram(void); -- cgit v1.2.3