Last active
April 22, 2019 12:51
-
-
Save tomaes/90cf5c89e763ed7d9d77fa749a444792 to your computer and use it in GitHub Desktop.
A tiny program (with some fancy output) to detect a (classic) C64 OS/KERNAL and its version (well, v3 only, but hey...). Works on all(?) 8bit CBM machines.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 c=-(peek(58504)=54): poke1024,.: k=-((peek(55296)and15)=14) | |
1 print"c64:"chr$(16*c+99),"kernal v3:"chr$(16*k+99) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment