New community dev tool uploaded: KERNAL Test

All aspects of programming on the Commander X16.
Post Reply
rje
Posts: 1263
Joined: Mon Apr 27, 2020 10:00 pm
Location: Dallas Area

New community dev tool uploaded: KERNAL Test

Post by rje »




KERNAL Test




View File






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)


It uses CC65's library to set registers and invoke routines. 

The source code is here: https://github.com/bobbyjim/x16-kernal-test






 
rje
Posts: 1263
Joined: Mon Apr 27, 2020 10:00 pm
Location: Dallas Area

New community dev tool uploaded: KERNAL Test

Post by rje »


Of course, Mr. Steil already has a good battery of KERNAL tests at https://github.com/commanderx16/x16-rom/tree/master/test

 

 

rje
Posts: 1263
Joined: Mon Apr 27, 2020 10:00 pm
Location: Dallas Area

New community dev tool uploaded: KERNAL Test

Post by rje »


So far, my Kernal Test only tests these:

1. CHROUT

2. MEMTOP (read and write)

3. MEMBOT (read and write)

4. SETNAM, SETLFS, LOAD (implicitly though...)

5. IOBASE

6. SETTIM and RDTIM

I'm looking for more easy KERNAL tests... I'm thinking the IEC Bus is not a trivial thing to test, so maybe I can test:


  1. Channel I/O calls?


  2. STOP, GETIN, SCREEN, PLOT?


 

Any suggestions?

Post Reply