Well with a little bit of work here and there, progress is being made!
Of course, I can't see anything yet as I haven't done any of the video, but I can have it run through a given number of cycles, see the current instruction along with all of the registers and their values.
One nice thing is I've been able to use the debug build of Mame to verify my cpu core is actually doing what it should be doing.
At this point, there seems to be a problem with pushing (or retrieving) the return address from a jsr instruction. My initial guess without looking at it is that the value I'm calculating for the stack register is incorrect.
Once I solve that, I should (without finishing every instruction in the instruction set) be getting to where I can at least put together a rudimentary video routine.
The audio is still going to come dead last. And at that point, I may just convert the code that it appears anyone who uses pokey uses (or at least it's a variant) to Delphi.
ArcadeGamenut
|