Schrijver
| I need memory test program
|
dhau msx professional Berichten: 1020 | Geplaatst: 16 Mei 2004, 04:50   |
Today I upgraded memory in Panasonic FS A1WSX from 64KBytes to 512KBytes. While I'm glad that everything seems to work, I still a bit suspicious. The soldering work with MSX engine chip was very tough, I suspect that pin50 and pin51 are shorted...
So I am looking for a program, which will write and read each bit separately and check for things like mirroring, i.e. I write to one memory bank, and value is changed in it as well as in another...
|
|
flyguille msx master Berichten: 1175 | Geplaatst: 16 Mei 2004, 05:10   |
well, if the basic run ok, all DATA bus lines is ok
you can program on BASIC language a little program to test each byte of your large 512kb memory.
well, i are tired to write that program...
the main function is
HERE lack the header to place the basic program up from &hC000.... please someone complete this.... right now i are tired.
....
for pg=1 to 31 : REM 31 pages for test up to 512k.... the page 0 not need a test,because is tested on the startup. And running this test on that page will hung the system.
out &hfe, pg:print "checking page...";pg
for x=&h8000 to &hBFFF
...
s=peek(x)
POKE x, peek(x) xor 255
if peek(x) xor 255<>s then PRINT"memory problem at:";x
poke x,s
next x
next pg
END
WARNING!!!, this test not say how many memory you got, because ghost pages since some bits of the mapper can be ignored by the hardware mapping....this test simply test all bytes for know his integrity. |
|
pitpan msx master Berichten: 1356 | Geplaatst: 16 Mei 2004, 08:56   |
Fly, you are not switching between different primary slots. And even worse, how do you want to test the whole memory just looking at page 2?
Do you really understand how an expanded slot works? I really doubt it. And memory mapping/switching is the main compatibility issue. It should be carefully handled in ANY program, but much more in an Operating System like MNBIOS.
Primary slot register (port A8h)
33221100 - bits corresponding to different pages, selecting from slot 0 to 3 for each one.
Secondary slot register (memory address FFFFh in every expanded slot)
33221100 - again, same meaning, but when it is readed, the data is inverted.
This is taken from the MSX Technical Databook
|
|
Guillian msx professional Berichten: 616 | Geplaatst: 16 Mei 2004, 11:30   |
Tsujikawa sent me two programs to test my memory expansion. You can find them here |
|
pitpan msx master Berichten: 1356 | Geplaatst: 16 Mei 2004, 17:15   |
I am glad to hear that, Guillian...
And I do expect that we could meet any day in June, to make "business".
Regards,
|
|
flyguille msx master Berichten: 1175 | Geplaatst: 16 Mei 2004, 17:35   |
Quote:
| Fly, you are not switching between different primary slots. And even worse, how do you want to test the whole memory just looking at page 2?
Do you really understand how an expanded slot works? I really doubt it. And memory mapping/switching is the main compatibility issue. It should be carefully handled in ANY program, but much more in an Operating System like MNBIOS.
Primary slot register (port A8h)
33221100 - bits corresponding to different pages, selecting from slot 0 to 3 for each one.
Secondary slot register (memory address FFFFh in every expanded slot)
33221100 - again, same meaning, but when it is readed, the data is inverted.
This is taken from the MSX Technical Databook
|
Sure that i know that, the program that i write here is just an idea for a start..... IS NOT A COMPLETE TEST.
Ofcourse you can test the MNBIOS capability simply modifing the CONFIGMACHINE file, changing the RAM slotting.
|
|
flyguille msx master Berichten: 1175 | Geplaatst: 16 Mei 2004, 17:42   |
allway, changing the mapper page 3, OUT (FE),x you can test all RAM bytes.
But it are not testing all CPU VIEW ADDRESSES.
|
|
Alexandre_Taito msx freak Berichten: 183 | Geplaatst: 10 Maart 2005, 17:01   |
|
|
|
|
|