This is a small, proof-of-concept C program which tests KERNAL functions on the X16.
Routines currently tested:
chrout
memtop, both read and write
membot, both read and write
setnam
setlfs
load to RAM
load to VERA (well, sort of)
set time and read time
It uses CC65's library to set registers and invoke routines.
The source code is here: https://github.com/bobbyjim/x16-kernal-test
Added SETTIM and RDTIM