Page 1 of 1

RAM diagnostic ROM

Posted: Fri Feb 16, 2024 2:44 pm
by JimmyDansbo
This is a ROM that is able to test of ALL memory in the Commander X16.

diagwerr.jpg
diagwerr.jpg (417.13 KiB) Viewed 1680 times

Edit: Updated to version 0.4 on 2024/02/22

When booted, it will continously run through checks of banked memory and base memory.
For more information, please visit https://cx16.dk/memdiag/

RAMDIAGv0.4.BIN
(16 KiB) Downloaded 179 times

Re: RAM diagnostic ROM

Posted: Sat Feb 17, 2024 7:43 pm
by m00dawg
Mentioned on the Discord but just to mention here, works great!! I was able to both confirm good working RAM as well as testing a known bad configuration which previously was passing basic RAM tests. The ROM was able to properly detect the bad RAM. Nicely done!

Re: RAM diagnostic ROM

Posted: Sun Feb 18, 2024 6:56 am
by mortarm
I like the layout. This would make a good prop screen.

Re: RAM diagnostic ROM

Posted: Mon Feb 19, 2024 1:43 pm
by JimmyDansbo
New version uploaded - V0.3
MEMDIAGv0.3.BIN

Re: RAM diagnostic ROM

Posted: Thu Feb 22, 2024 9:10 pm
by JimmyDansbo
New version uploaded - v0.4
MEMDIAGv0.4.BIN

Functionality has not changed much, but the code has been converted to CA65, I have switched from a build script to a makefile and I have manged to create a ca65 config file to use for building the binary.

All of this is to enable the Memory diagnostic ROM to be included in the official kernal.
I have made a pull request to the x16-smc and one to the official x16-rom

If these requests get accepted, it will mean that the system can boot into memory diagnostic by holding the power butten pressed when powerering the system on.

It will also be possible to jump directly to the memory diagnostics from BASIC by doing:
BANK0,16:SYS$C000
To follow the development of the memory diagnostic software, visit https://github.com/JimmyDansbo/MemDiagRom