CPCWiki forum

General Category => Emulators => Topic started by: Manu on 13:30, 07 February 13

Title: Code to test emulator
Post by: Manu on 13:30, 07 February 13
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:
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!
Title: Re: Code to test emulator
Post by: Devilmarkus on 16:43, 07 February 13
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)
Title: Re: Code to test emulator
Post by: Manu on 21:37, 07 February 13
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.
Title: Re: Code to test emulator
Post by: TFM on 23:28, 07 February 13
You can give Symbos and FutureOS a try. If they run then your emulation is well.
Title: Re: Code to test emulator
Post by: Manu on 08:40, 08 February 13
Sure, I want to try them, but I think I should fix a lot of bugs before  ;)
Powered by SMFPacks Menu Editor Mod