Author Topic: Testing the 512kb expansion  (Read 2328 times)

0 Members and 1 Guest are viewing this topic.

Offline Colday

  • CPC664
  • ***
  • Posts: 50
  • Country: gb
    • Awards
Testing the 512kb expansion
« on: 11:05, 03 March 19 »
Morning all.


I bought and built a 512kb expansion for my 6128.


Plugged it in. Switched it on.... no magic smoke so must be all good?


Is there a poke or call command for testing that it has actually been picked up?


I'd like to play 'Doomsday Lost Echoes' which requires an expansion (as well as 2x drives one of which is 720kb) but I don't want to use an emulator (that's cheating).


So, any ideas on testing the 512kb expansion? (I've got a Gotek so am trying to use that to get the game working)
like
0
No reactions

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 4.056
  • Country: fr
    • ?area=showdonations;u=4
    • Awards
Re: Testing the 512kb expansion
« Reply #1 on: 11:37, 03 March 19 »
You should run the SyX's ram expansion test program to know if all is OK.
http://www.cpc-power.com/index.php?page=detail&num=6987

like
0
No reactions
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline Colday

  • CPC664
  • ***
  • Posts: 50
  • Country: gb
    • Awards
Re: Testing the 512kb expansion
« Reply #2 on: 11:52, 03 March 19 »
Perfect!


Worked like a charm.


Now to work out how to get the game running. :-)
like
0
No reactions

Offline XeNoMoRPH

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.173
  • Country: es
  • " ... in space no one , can hear you scream ... "
    • https://auamstrad.es/
    • Awards
Re: Testing the 512kb expansion
« Reply #3 on: 12:22, 03 March 19 »
You should run the SyX's ram expansion test program to know if all is OK.
http://www.cpc-power.com/index.php?page=detail&num=6987
And for testing 1024 Kb RAM ?
like
0
No reactions
your amstrad news source in spanish language : https://auamstrad.es

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 4.056
  • Country: fr
    • ?area=showdonations;u=4
    • Awards
Re: Testing the 512kb expansion
« Reply #4 on: 12:48, 03 March 19 »
And for testing 1024 Kb RAM ?
I can add here a BASIC program to do that.
like
0
No reactions
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 4.056
  • Country: fr
    • ?area=showdonations;u=4
    • Awards
Re: Testing the 512kb expansion
« Reply #5 on: 13:02, 03 March 19 »
Code: [Select]
10 ' DISPLAY RAM
20 ' Display de CPC RAM at &7F00 and &7E00
30 ' Using C0 and "C4-C7" modes
40 '
50 ' CPC Video Gate Array RAM on port #7F00
60 OUT &7F00,&C0:POKE &4000,&EE:OUT &7F00,&C0:vga=PEEK(&4000)
70 PRINT:IF vga=&EE THEN PRINT"VGA RAM: 64K" ELSE PRINT"VGA RAM: 00K"
80 '
90 ' Central Processor Unit RAM on port #7F00
100 RESTORE:FOR i=1 TO 32:READ a
110 OUT &7F00,a:POKE &4000,i:NEXT i
120 RESTORE:FOR i=1 TO 32:READ a
130 OUT &7F00,a:cpu=PEEK(&4000)
140 OUT &7F00,&C0:vga=PEEK(&4000)
150 IF cpu=i AND vga=&EE THEN ram=ram+16     
160 PRINT"CPU RAM:";ram;CHR$(8);"K"+CHR$(11)
170 NEXT i
180 RESTORE:FOR i=1 TO 32:READ a
190 OUT &7F00,a:POKE &4000,&EE:NEXT i
200 ' Central Processor Unit RAM on port #7E00
210 RESTORE:FOR i=1 TO 32:READ a
220 OUT &7E00,a:ee=PEEK(&4000) : IF ee<>&EE THEN OUT &7E00,a:POKE &4000,i
230 NEXT i
240 RESTORE:FOR i=1 TO 32:READ a
250 OUT &7E00,a:cpu=PEEK(&4000)
260 OUT &7E00,&C0:vga=PEEK(&4000)
270 IF cpu=i AND vga=&EE THEN ram=ram+16
280 PRINT"CPU RAM:";ram;CHR$(8);"K"+CHR$(11)
290 NEXT i:PRINT:PRINT:END
300 RESTORE:FOR i=1 TO 32:READ a 
310 OUT &7F00,a:POKE &4000,0:NEXT i 
320 DATA &C4,&C5,&C6,&C7
330 DATA &CC,&CD,&CE,&CF
340 DATA &D4,&D5,&D6,&D7
350 DATA &DC,&DD,&DE,&DF
360 DATA &E4,&E5,&E6,&E7
370 DATA &EC,&ED,&EE,&EF
380 DATA &F4,&F5,&F6,&F7
390 DATA &FC,&FD,&FE,&FF
« Last Edit: 13:26, 03 March 19 by TotO »
like
0
No reactions
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline XeNoMoRPH

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.173
  • Country: es
  • " ... in space no one , can hear you scream ... "
    • https://auamstrad.es/
    • Awards
Re: Testing the 512kb expansion
« Reply #6 on: 16:16, 03 March 19 »

Very Nice  8)
like
0
No reactions
your amstrad news source in spanish language : https://auamstrad.es

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 2.899
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
    • Awards
Re: Testing the 512kb expansion
« Reply #7 on: 20:56, 04 March 19 »
For testing how much RAM - up to 4 MB - is connected you can use my tool:
http://www.cpcwiki.eu/imgs/2/28/E-RAM_Test_2014.zip
like
0
No reactions
http://futureos.de --> Get the revolutionary FutureOS (Update: 2021.01.24)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.07.15)

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 4.056
  • Country: fr
    • ?area=showdonations;u=4
    • Awards
Re: Testing the 512kb expansion
« Reply #8 on: 21:19, 04 March 19 »
For testing how much RAM - up to 4 MB - is connected you can use my tool:
http://www.cpcwiki.eu/imgs/2/28/E-RAM_Test_2014.zip
Yes!  ;D  Or expand my quick & dirty BASIC program... :-\
like
0
No reactions
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline Fredouille

  • CPC464
  • **
  • Posts: 24
  • Country: fr
    • Awards
Re: Testing the 512kb expansion
« Reply #9 on: 11:45, 05 March 19 »
Very good BASIC program to verify more than 512K RAM expansion.
It helps me to debug my faulty emulator while "E-RAM_Test_2014" tells me I had 4096K available.
like
0
No reactions

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 2.899
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
    • Awards
Re: Testing the 512kb expansion
« Reply #10 on: 15:39, 05 March 19 »
... while "E-RAM_Test_2014" tells me I had 4096K available.


This one just checks of the RAM block is present or not. It does not check for:
- Integrity of every single byte in the 16 KB block
- If your hardware/emulator can switch quick enough between blocks



like
0
No reactions
http://futureos.de --> Get the revolutionary FutureOS (Update: 2021.01.24)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.07.15)

Offline Kris

  • 6128 Plus
  • ******
  • Posts: 591
  • Country: fr
  • Team Impact
    • Awards
Re: Testing the 512kb expansion
« Reply #11 on: 20:58, 05 March 19 »
It would have been interesting to implement integrity test on 4096K RAM ;)
like
0
No reactions

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 2.899
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
    • Awards
Re: Testing the 512kb expansion
« Reply #12 on: 18:34, 06 March 19 »
It would have been interesting to implement integrity test on 4096K RAM ;)


This was originally planned for an FutureOS application called "Captain F. Hardware", but for reasons I dropped the project.
like
0
No reactions
http://futureos.de --> Get the revolutionary FutureOS (Update: 2021.01.24)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.07.15)