1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-12-28 11:31:58 +00:00
millfork/docs/stdlib/cbm_pet.md
2020-03-31 19:07:35 +02:00

760 B

< back to index

Commodore PET-oriented modules

pet_kernal module

The pet_kernal module is imported automatically on the PET target. It provides access to Kernal routines.

TODO

asm set_zero is_pet2000()

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.

asm set_zero is_pet3000()

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.

asm set_zero is_pet4000()

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.