Author
| OCM: questions and answers
|
cax
 msx professional Posts: 1011 | Posted: December 06 2006, 19:04   |
Now, when OCM's VHDL code is available on the net (and some lucky people already started playing with the device), some questions about it already can be answered by just studying the code.
Here is what I've discovered from the code
(see Grauw's blog for downloading OCM CD: http://www.grauw.nl/blog/entry/385 )
1) USB is not implemented at all
2) working speeds:
-- 3.58MHz (standard speed)
-- 10.74MHz (workaround for boot failure)
(commented out) -- 21.48MHz (much troublesome with external device)
Please post your discoveries (like Grauw's note about RTC that is not saved on power off) !
Some open questions that I'd like to be answered:
1) The code was compiled using Altera's Quartus II
Version 6.0 Build 202 06/20/2006 Service Pack 1 SJ Web Edition
Can we use the free web edition 6.1 instead (downloadable from Altera's site) ?
2) Will changing CPU speed change also VDP speed ?
3) There are some small tools on OCM CD with docs in Japanese.
In short, what are they all for ? |
|
msd msx professional Posts: 607 | Posted: December 06 2006, 19:18   |
Quote:
|
(commented out) -- 21.48MHz (much troublesome with external device)
|
This could be a usefull speed with the gfx9000 and opl4.. They can handle higher bus speeds  |
|
Leo msx freak Posts: 213 | Posted: December 06 2006, 19:42   |
Great !!! thanks for the vhdl code !!!!
|
|
dvik msx master Posts: 1302 | Posted: December 06 2006, 19:56   |
Leo, where did you get the vhdl code?
|
|
cax
 msx professional Posts: 1011 | Posted: December 06 2006, 20:05   |
dvik, in Grauw's blog, as I said above.
|
|
dvik msx master Posts: 1302 | Posted: December 06 2006, 20:51   |
ah sorry, I missed that. I'll also download it and take a look.
|
|
Prodatron msx master Posts: 1088 | Posted: December 06 2006, 21:38   |
Quote:
| 1) USB is not implemented at all
|
Does someone know, if the OCM is USB master or would just act as a slave device? (if someone will implement USB at all)
Quote:
| 2) Will changing CPU speed change also VDP speed ?
|
Very interesting question, as it would increase the speed in several software a LOT. But someone posted, that the VDP already works with 21Mhz, even if the Z80 runs in 3,5MHz mode. What does it mean? |
|
dvik msx master Posts: 1302 | Posted: December 06 2006, 22:29   |
Is there any persistent memory in the OCM, e.g. sram?
|
|
AuroraMSX
 msx master Posts: 1228 | Posted: December 07 2006, 13:12   |
Quote:
| Is there any persistent memory in the OCM, e.g. sram?
|
Isn't it possible to configure a part of the FPGA as SRAM? |
|
cax
 msx professional Posts: 1011 | Posted: December 07 2006, 13:54   |
So, anybody tried to compile the VHDL code himself ?
|
|
Grauw msx professional Posts: 1002 | Posted: December 07 2006, 14:22   |
Quote:
| 1) USB is not implemented at all
|
That was known in advance  .
Quote:
| 1) The code was compiled using Altera's Quartus II
Version 6.0 Build 202 06/20/2006 Service Pack 1 SJ Web Edition
|
The 6.0 web edition is included on the CD.
Quote:
| Isn't it possible to configure a part of the FPGA as SRAM?
|
Maybe, but I don’t think so.
Quote:
| (commented out) -- 21.48MHz (much troublesome with external device)
|
Interesting, that makes sense.
Quote:
| 2) Will changing CPU speed change also VDP speed ?
|
I don’t think so, but I haven’t tested. Someone on my blog asked whether I could measure command execution speeds, I suppose I’ll have to do that.
~Grauw |
|
Grauw msx professional Posts: 1002 | Posted: December 08 2006, 08:14   |
|
|
cax
 msx professional Posts: 1011 | Posted: December 10 2006, 18:38   |
Indeed, current VDP commands speed should be nice to run SymbOS and such, but at the moment even software emulators are a better choice for development (from the point of exactness of timing).
The question is whether exact VDP timing and other backward compatibility issues should be solved (at least in MSX2-compatible mode) or the upward compatibility is enough (I mean that if any existing MSX/MSX2 program runs in OCM, that's enough).
|
|
dvik msx master Posts: 1302 | Posted: December 10 2006, 19:35   |
Quote:
| or the upward compatibility is enough
|
I think upward compatibility is enough. So far MSX2, MSX2+, MSX-TR has been almost 100% backward compatible. Imo its unfortunate that the WSX and TR aren't timing compatible but thats not so important. It sounds like the OCM can't be 100% compatible with MSX2 so even in an MSX2 mode it will not behave as a real MSX2.
|
|
msd msx professional Posts: 607 | Posted: December 10 2006, 19:55   |
If the ocm would be 100% a normal msx2 in every way what would be the point of buying it.
|
|
|
|
|