Page 1 of 1

New community dev tool uploaded: KERNAL Test

Posted: Wed Oct 20, 2021 3:31 am
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






 

New community dev tool uploaded: KERNAL Test

Posted: Wed Oct 20, 2021 1:39 pm
by rje

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

 

 


New community dev tool uploaded: KERNAL Test

Posted: Sat Jan 15, 2022 9:39 pm
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?