Schrijver
| Smallest MSX ROMS
|
NYYRIKKI msx master Berichten: 1525 | Geplaatst: 29 April 2006, 00:26   |
hmm... It seems, that tabulators have been removed when this code has been inputted to www-page. You can fix the problem by adding space in front of each command line or I can post the original source here on tuesday. Original version definately compiles with GEN80 as it was tested by using that compiler.
|
|
Leo msx freak Berichten: 238 | Geplaatst: 29 April 2006, 09:55   |
With the right tab in front of code , and not in front of labels : it is ok.
I am using this code for the begining it is more simple to track, Z80 uP
I can verify by hand the Z80 executes the right code. if this ever works C-bios will be great.
I am running vhdl-simulation, I realize I will have to add a palette init code otherwise
colors are undefined and this skrews all my vhdl-simulation. The FPGA still shows black
screen vga synchro signals, though, are correct.
|
|
Leo msx freak Berichten: 238 | Geplaatst: 29 April 2006, 19:58   |
I finally got something close to functional:
I have 'ello world' and not 'Hello world' on the output of the FPGA.
It is written magenta on block instead of white over black.
VDP and Z80 runs at 42MHz.
I had to change completly the Z80 , the one on www.opencores.org is completly bugged,
I understood this by debugging instruction by instruction with the hello world program. long.
Instead I picked the one from FPGA arcade.
Still some debug ahead but I am happy 'to get something in the screen'
|
|
Alexandre_Taito msx freak Berichten: 183 | Geplaatst: 01 Mei 2006, 22:29   |
Photos?  |
|
Leo msx freak Berichten: 238 | Geplaatst: 12 Mei 2006, 19:27   |
There is not a lot to show , just a line on a screen.
I am stuck right now because using the external 32mbit sdram on the board is a real mess.
So I am obliged to map the ram+rom inside the fpga and it can hardly contain more than 44kB
and I have 16kb of vram + 12kb of buffers already taken.
I cant believe it can be so complicated to drive an sdram, so many timings that can make it
fail !
I think I will have to pick a static ram , i saw digilent sells a spartan3 board with two banks
of 256kx16 srams , just fine for the vram and ram .
|
|
Leo msx freak Berichten: 238 | Geplaatst: 03 Juni 2006, 08:57   |
@mth :
I am tryning the cbios mini but I dont I have success.
Just one question : what the slot map with this bios ?
Do we need 16k/32k/64k ram in case of 16k , if it is locaed in C000-FFFF it should be ok ?
|
|
AuroraMSX
 msx master Berichten: 1260 | Geplaatst: 03 Juni 2006, 11:37   |
Quote:
| @mth :
I am tryning the cbios mini but I dont I have success.
Just one question : what the slot map with this bios ?
|
Have a look at the hardwareconfig used in openMSX ...
slot 0: main ROM
slot 1,2 : external
slot 3: 64k RAM
None of the slots is expanded.
Quote:
| Do we need 16k/32k/64k ram in case of 16k , if it is locaed in C000-FFFF it should be ok ?
|
Yup, that's what the MSX specs say:
16K - C000-FFFF
32k - 8000-FFFF
64k - 0000-FFFF
|
|
Leo msx freak Berichten: 238 | Geplaatst: 03 Juni 2006, 13:06   |
I though the PPI registers were reseted to FF so the rom was on slot 3 and ram on slot 0 ...
I will try the inverted config.
|
|
AuroraMSX
 msx master Berichten: 1260 | Geplaatst: 03 Juni 2006, 18:07   |
Quote:
| I though the PPI registers were reseted to FF so the rom was on slot 3 and ram on slot 0 ...
|
The main rom must be in slot 0 (0-0 in case slot 0 is expanded) |
|
Leo msx freak Berichten: 238 | Geplaatst: 25 Juni 2006, 10:39   |
Now some msx basic seems to boot , but the video is completly strange , I can hardly
read the "cload"...etc function key at the bottom. And strangely only a japanese rom
boots. I guess the read of vram is not working well while the write is ok , and this japanese
rom does not test vram in the boot process.
|
|
|
|
|