Millfork: a middle-level programming language targeting 6502- and Z80-based microcomputers and home consoles
This project is maintained by KarolS
The pet_kernal
module is imported automatically on the PET target.
It provides access to Kernal routines.
TODO
Returns true if the current machine has the original ROM (usually, the PET 2000 series). When calling from assembly, the result is stored in the Z flag.
Returns true if the current machine has the upgraded ROM (usually, the PET 3000 series). When calling from assembly, the result is stored in the Z flag.
Returns true if the current machine has the 4.0 ROM (usually, the PET 4000 series). When calling from assembly, the result is stored in the Z flag.