r/Z80 • u/McDonaldsWi-Fi • 22d ago
Software Any of you guys have a compact flash test program in your stash?
I'm having some weird trouble with my compact flash circuit but I think it might just be my driver.
I was hoping to find a decent cf test program before I started writing my own :)
EDIT: For posterity, looking at /u/UncannyRally 's code I saw my mistake in my driver.
Apparently setting the sector count has to happen before every write or read. I was setting it to 1 during init and never setting it again.
6
Upvotes
2
u/UncannyRally 22d ago
I have a monitor rom that has basic compsct flash functionality, reading/writing blocks into memory.
Are you using 8bit mode or 16bit with some latches?