PDA

View Full Version : Gary Becker's Coco3FPGA


tcdev
24th March 2009, 02:14 AM
I've revisited Gary Becker's Coco3FPGA, since he has released a new version. I've also obtained an updated revision of the 'P2' (custom) hardware platform - hereafter referred to as 'P2A' - which has byte-enables on the SRAM. This means supporting Coco3FPGA is much easier.

As a result, I've managed to get Coco3FPGA running on the P2A and DE2 targets. DE1 doesn't have enough on-chip RAM - it would be possible to run all the Coco3 ROMs out of flash on that target, but it's not something high on my list of priorities.

Haven't done much testing as yet - but it boots to the ECB/DECB prompt. Testing of Gary's serial disk emulation is WIP atm.

There was a problem with Gary's PS/2 controller - he's reading the PS/2 data off the wrong clock edge, which probably explains the problems he has reported running the controller at anything below 1MHz. I fixed it and it works for me - haven't done any further experimentation with slower clock rates (there's no point really).

A few extensions in the pipeline - once I get the serial disk emulation working I'd like to hook up a Gamecube controller to the analogue joystick ports - that should be reasonably straightforward I hope. Next I might re-instate the original DECB ROM and try hooking up the WD179x controller from the Model I project.

tcdev
24th March 2009, 09:57 PM
Gary's serial disk emulation appears to work quite well on P2A hardware. There's a problem on the DE2 - I suspect the serial didn't meet timing, I need to go back and look at that at some point.

The bad news is that the core has a lot of problems with Coco3 games. Out of dozen or so games that I tried, only a handful worked - mainly those with Coco1/2 graphics. None of Nickolas Marentes' games worked at all, except Donut Dilemma, for example. Gary has confirmed the same problem his end. :(

Still, it's impressive work, and may only be one minor bug fix away from complete compatibility with all these games!?!

tcdev
25th March 2009, 09:42 PM
Managed to get the Gamecube controller working with Coco3FPGA. :)

The analogue stick is used to emulate the TRS-80 joystick pots, whilst the A & B buttons activate the two TRS-80 joystick buttons.

Playing F-16 with the controller is pretty cool!