OCM "Clone" works!!! (Revival MSX Forum)MSX Resource Center MSX Info Update - Finnish MSX madness at its best              
              
English Nederlands Español Português Russian         
 News
   Frontpage
  News archive
  News topics

 Resources
   MSX Forum
  Articles
  Reviews
  Fair reports
  Photo shoots
  Fairs and meetings
  Polls
  Links
  Search

 Software
   Downloads
  Webshop

 MRC
   Who we are
  Join our team
  Donate
  Policies
  Contact us
  Link to Us
  Statistics

 Search
 
  

  

 Login
 

Username

Password




Don't you have an account yet? Become an MSX-friend and register an account now!.


 Statistics
 

There are 124 guests and 1 MSX friend online

You are an anonymous user.
 

MSX Forum


MSX Forum

Revival - OCM "Clone" works!!!

Goto page ( 1 | 2 Next Page )
Author

OCM "Clone" works!!!

tcdev
msx novice
Posts: 27
Posted: February 22 2007, 01:48   
Yah!

This morning I managed to get the OCM booting on my hardware. It was a useful exercise because a learnt a few things about Quartus and serial configuration devices which I didn't know a few days ago.

I've got some experimenting and some cleaning up to do, but I'll post some more detailed information and a "how to" on my website in a few days. In a nutshell, unless you're porting to a platform with a Cyclone(/II), an EPCS4(/8/16??) and some SDRAM, then you're SOL...

Some eye-candy...
<members.iinet.net.au/~msmcdoug/pace/platforms/pace-p2/ocm.jpg>

(The picture's a little dark... didn't look that dark on my PC at home...)

Regards,
Mark

dvik
msx master
Posts: 1302
Posted: February 22 2007, 01:51   
Very cool Mark Will be interesting to read the how to when you have it ready
realpeterjack

msx user
Posts: 39
Posted: February 22 2007, 08:36   
Quote:

(The picture's a little dark... didn't look that dark on my PC at home...)


I artificially enhanced the picture contrast. Here it is:

http://eggerland.googlepages.com/ocmalt.jpg

Feel free to take a copy.
Latok
msx master
Posts: 1720
Posted: February 22 2007, 09:40   
Hahaha, pretty cool
legacy
msx professional
Posts: 516
Posted: February 22 2007, 09:50   
Very very interesting.
Are you using a standard Altera or Xilinx developmentboard?
tcdev
msx novice
Posts: 27
Posted: February 22 2007, 11:02   
No, not a standard board. It's proprietary hardware, for which I designed an add-on board with video and PS/2 input.
But basically any (Altera) platform with the features I mentioned in my OP will do.

cax

msx professional
Posts: 1009
Posted: February 22 2007, 11:21   
What is the lowest price of the simplest board with SD,PS/2,sound and any modern video connector on it, on which the clone can be implemented ?
tcdev
msx novice
Posts: 27
Posted: February 22 2007, 16:01   
I've put together a few quick notes on how the OCM works and what is required to port it to another platform.
<members.iinet.net.au/~msmcdoug/pace/platforms/ocm_howto.txt>, or
<members.iinet.net.au/~msmcdoug/pace/platforms/ocm_howto.htm>

Note that it's not a comprehensive tutorial for VHDL newbies. You will need some experience with Altera devices to get it working. Having said that, I'm happy to answer any OCM-specific questions if you're attempting a port.

Would like to hear from anyone that manages to get it going on another platform!

Regards,
Mark

cax

msx professional
Posts: 1009
Posted: February 22 2007, 17:04   
Amazing !!!

Do you have any sound output on your board ?
cax

msx professional
Posts: 1009
Posted: February 22 2007, 19:21   
I just found the following dev board that can be bought for 99$ (not including shipping). They say it has headers to which you can connect various extentions, available from 3rd parties. I think this means SD-drive can be connected as well.

Is it possible to port OCM to it ?
timbr
msx novice
Posts: 17
Posted: February 22 2007, 19:36   
Quote:

I just found the following dev board that can be bought for 99$ (not including shipping). They say it has headers to which you can connect various extentions, available from 3rd parties. I think this means SD-drive can be connected as well.

Is it possible to port OCM to it ?


Theoretically it seems possible, but there are some essential components missing, like SD-RAM. It has 1MB SRAM however, so with a smaller mapper and a lot of effort it can work. Also I can't find a flash component.

A better choice would be:

http://www.altera.com/products/devkits/altera/kit-cyc2-2C20N.html


It has everything required, including VGA, SD/MMC card slot, SD-RAM (only 8MB, but should be okay), EPCS4, bigger CycloneII FPGA, USB-Blaster download cable on-board.... And it only costs $150.-

The only thing missing compared to the real OCM is the MSX card slot and the beautifull casing.

cax

msx professional
Posts: 1009
Posted: February 22 2007, 19:48   
For those who have no cartridges and do not mind a missing casing, it seems even a better solution as it has more gates...
tcdev
msx novice
Posts: 27
Posted: February 22 2007, 22:21   
Yeah, I'm not sure how much SDRAM the design requires in all.

Note that the EPCS4 might be too small to store both the ROMs and the Cyclone-II image (haven't tried compressing a 2C20 .SOF).

Cax - my current board does have a simple (audio) RC filter designed for an on-chip sigma-delta DAC, but I'm yet to load the parts. The next incarnation of my adapter board (you can see the adapter board in the photo) will have a proper audio DAC and amplification. Incidentally it will also have a JAMMA connector so in theory I could play MSX games in my cabinet with 26" display and arcade joystick controls!

I'll also have to attempt to load a cartridge image into the SRAM of my board and see if I can get it running...

tcdev
msx novice
Posts: 27
Posted: February 22 2007, 22:46   
I think with a bit of time it should be possible to completely understand the IPL ROM and provide alternate versions for loading the ROMs from elsewhere other than the EPCS configuration device. Parallel flash (or even SRAM) would be a good start.

From what I can tell, the same module (megasd.vhd) controls both the EPCS device and the MMC/SD device. This would make sense because AFAIK the EPCS device is a SPI device, and MMC/SD also has a SPI mode. Perhaps it is already possible to boot the MSX ROMs from a properly-formatted SD/MMC card??? I have absolutely no experience with these devices so I'm only guessing atm...

As for using SRAM vs SDRAM - it should be possible without too much effort to modify the design to use SRAM. As I said earlier, I have no idea how much RAM is required to make this thing run. Obviously the SDRAM refresh logic can be ignored/eliminated. The only other complication I can think of is that the logical address is time-multiplexed on the SDRAM physical address bus. But that shouldn't be too difficult to handle. I haven't looked at the memory bus state logic so I'm not sure what speed SRAM you can get away with.

Food for thought....
Alex
msx lover
Posts: 90
Posted: February 22 2007, 23:08   
Quote:

As for using SRAM vs SDRAM - it should be possible without too much effort to modify the design to use SRAM. As I said earlier, I have no idea how much RAM is required to make this thing run. Obviously the SDRAM refresh logic can be ignored/eliminated. The only other complication I can think of is that the logical address is time-multiplexed on the SDRAM physical address bus. But that shouldn't be too difficult to handle. I haven't looked at the memory bus state logic so I'm not sure what speed SRAM you can get away with.

Food for thought....



This should indeed not be too complex. The first prototype of OCM actually did have SRAM and not SDRAM. In a next prototype it got replaced with SDRAM to save costs. However, as far as I know, the changes in the VHDL code where kept to a minimum for this switch. So it should be relatively easy to switch back again.


 
Goto page ( 1 | 2 Next Page )
 







(c) 1994 - 2008 MSX Resource Center Foundation. MSX is a trademark of MSX Licensing Corporation.