News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

Code to test emulator

Started by Manu, 13:30, 07 February 13

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Manu

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 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, 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!

Devilmarkus

When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Manu

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.

TFM

You can give Symbos and FutureOS a try. If they run then your emulation is well.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Manu

Sure, I want to try them, but I think I should fix a lot of bugs before  ;)

Powered by SMFPacks Menu Editor Mod