Hi,
As some of you may know, I'm coding a new emulator in Java. Right now, some things work (BASIC, some parts of some games,...), but there's still A LOT to do (sound, disk & tape emulation, managing more memory than 64KB,...) and to fix.
Testing the emulator with games is fun... but tedious at the same time, because when one of them does weird things, it's not obvious to know what's wrong in my code.
It would be GREAT to have a collection os code snippets to test things such as:
- Interrupts (I've used this one (http://www.norecess.net/using-interrupts.html) but I'd like to have some more examples)
- Exact cycle counting (routines that rely on this)
- CRTC tricks
- Gate Array quirks
- ...
Do you know where to find these kind of code? I know about the programming category in the Wiki (http://www.cpcwiki.eu/index.php/Category:Programming), but it'd be great to have more examples. Is there a good book about this?
BTW, I tested the Z80 core against ZEXALL and it fails some of the later tests, but it's painful running it again and again 8)
Thanks!
Good resources are:
- http://www.grimware.org/ (http://www.grimware.org/)
- Unofficial Amstrad WWW Resource (http://cpctech.org.uk/)
- http://pulko.mandy.pagesperso-orange.fr/shinra/tech.shtml (http://pulko.mandy.pagesperso-orange.fr/shinra/tech.shtml)
Thanks Markus ;)
Grimware is full of great documentation for the Gate Array and the CRTC. Kevin page is a mine, and I also know the Shinra Team.
You can give Symbos and FutureOS a try. If they run then your emulation is well.
Sure, I want to try them, but I think I should fix a lot of bugs before ;)