Author Topic: X-MEM, a new memory expansion for all CPC.  (Read 111339 times)

0 Members and 1 Guest are viewing this topic.

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.167
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3006
  • Likes Given: 5332
Re: X-MEM, a new memory expansion for all CPC.
« Reply #350 on: 11:36, 30 August 14 »
Post a screenshot? :)

Offline radu14m

  • 464 Plus
  • *****
  • Posts: 392
  • Country: ro
  • Follow your dreams and believe !
  • Liked: 67
  • Likes Given: 545
Re: X-MEM, a new memory expansion for all CPC.
« Reply #351 on: 11:40, 30 August 14 »
Hope that the icons looks better ;D

Offline CPC_Fan

  • 464 Plus
  • *****
  • Posts: 333
  • Country: gb
  • Liked: 61
  • Likes Given: 128
Re: X-MEM, a new memory expansion for all CPC.
« Reply #352 on: 12:09, 30 August 14 »
Hello CPC_Fan,

Originally, the fact is that I don't want to spend my time building cables with rare connectors for many peoples that will not deserve my projects... And going to miss connectors for peoples ordering for MotherX4. (that allow to plug 4 boards with only one cable)
Understand that is why I have made this choice. :)

Now... I'm going to see if I can do that for peoples ordering only 1 board. (next, MotherX4 will be provided w/o if needed)
I will let you know.

Thanks for the reply TotO and for clearing that up for me. I will hopefully be able to order a X-Mem and a MotherX4 soon.

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.280
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1171
  • Likes Given: 79
Re: X-MEM, a new memory expansion for all CPC.
« Reply #353 on: 18:58, 30 August 14 »
Thanks for the reply TotO and for clearing that up for me. I will hopefully be able to order a X-Mem and a MotherX4 soon.
do it, you won't look back
IRC:  #Retro4All on Freenode

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: X-MEM, a new memory expansion for all CPC.
« Reply #354 on: 00:21, 31 August 14 »
Post a screenshot? :)

Ok, I'll do...

First picture if the main menu, which also tells you if the last operation was an success or not.

Second and third screens show the RSX commands of a ROM (in this case X-DDOS), it also shows RSX commands which consist of control codes (AMSDOS and PROTEXT got them too). It also shows the start address of the particular RSX in the ROM.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline DerSchatten

  • CPC464
  • **
  • Posts: 38
  • Country: 00
  • Liked: 2
  • Likes Given: 0
Re: X-MEM, a new memory expansion for all CPC.
« Reply #355 on: 23:31, 02 September 14 »
Is it possible, the Demo Batman Forever http://www.pouet.net/prod.php?which=56761 doesnt work with the RAM-Expansion?
I have testet the 1-Disk and 3-Disk Version.
The Loading Screen starts, but when i press any key, he Comes again.

With the dk'tronics 64K MEMORY works fine.

I use a CPC464.

Offline gerald

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.428
  • Liked: 1004
  • Likes Given: 251
Re: X-MEM, a new memory expansion for all CPC.
« Reply #356 on: 23:36, 02 September 14 »
Is it possible, the Demo Batman Forever http://www.pouet.net/prod.php?which=56761 doesnt work with the RAM-Expansion?
I have testet the 1-Disk and 3-Disk Version.
The Loading Screen starts, but when i press any key, he Comes again.

With the dk'tronics 64K MEMORY works fine.

I use a CPC464.
Is your XMEM configured for the 464 (1st switch on the left) ?

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: X-MEM, a new memory expansion for all CPC.
« Reply #357 on: 00:43, 03 September 14 »
Maybe BF doesn't use precise addressing, means it accesses &7xrr for RAM select instead of &7Frr.

TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline DerSchatten

  • CPC464
  • **
  • Posts: 38
  • Country: 00
  • Liked: 2
  • Likes Given: 0
Re: X-MEM, a new memory expansion for all CPC.
« Reply #358 on: 21:30, 03 September 14 »
yes, Switch is on 464.

you could change the address on the X-MEM?

or it could have to do with the new 464 board. Without ZILOG Z80?
could someone test this?

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: X-MEM, a new memory expansion for all CPC.
« Reply #359 on: 21:34, 03 September 14 »
The X-MEM accesses the expansion RAM only via port &7Fxx like it should be.

A plain 6128 does the same but if you use &7Exx instead of &7Fxx instead you also access the expansion RAM. It's like a shadow.

I assume that BF uses that feature, because it can save 1 or 2 ys somewhere. You can ask Rhino, he is in the forum here.

Else I wouldn't see why it shouldn't run (or do you start it with tooo much exp roms active? That is a problem for some apps/games/demos once in a while).
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Ast

  • 6128 Plus
  • ******
  • Posts: 1.017
  • Country: fr
    • Amstrad cpc Website of Ast/iMPACT
  • Liked: 807
  • Likes Given: 689
Re: X-MEM, a new memory expansion for all CPC.
« Reply #360 on: 22:58, 03 September 14 »
More informations :


Quote from: Hicks writes
A little advice for coders. Since the wonderful X-MEM is now a new standard (= almost every active CPC user (except the shameful Eliot) have it connected to his CPC), coders must be careful with their BANK selection. This advice is valid even if you don't need the X-MEM for the final version of your program, and just use it for development.

Until now, on a naked CPC, you can select a BANK with B=[#7F, #7E, #7D, #7C, #7B, #7A, #79, #78] if C=#80 (BIT 7 = 1).
But the X-MEM decode the BIT 0 of the MSB of the BUS adress, so we have now:

- #7F, #7D, #7A, #79 : select X-MEM RAM
- #7E, #7C, #7B, #78 : select CPC RAM

So be careful if, like me, you like to send data on the BUS with OUTI (LD BC,#8080 followed by 8 OUTI), your BANK selection must occur when BIT 0 of B register = 1. I just corrected this bug on my part for the 30 YMD: I selected a BANK with #78, and everything was crashing with an X-MEM connected. I replaced #78 by #79 and everything work fine.

Note that with this decoding technic, we still have access to the 64K extended memory of the CPC, so we have 512+128=640k (and not only 512+64=576k). Maybe this memory supplement will allow to Iron to make an acceptable demo one day, because he can obviously make only beginners demos with 128k (history testified).


Source comes from push'n pop forum.
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"


Amstrad Plus French Forum

All friends are welcomed !

Offline gerald

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.428
  • Liked: 1004
  • Likes Given: 251
Re: X-MEM, a new memory expansion for all CPC.
« Reply #361 on: 23:05, 03 September 14 »
yes, Switch is on 464.
OK :) , I've done some test on my 464s, and BF would detect that the XMEM is not properly configured (ie says that it need 128k to run).
Batman Forever is working on a 464 with XMEM.

or it could have to do with the new 464 board. Without ZILOG Z80?
Do you mean the pre-asic version of the 464. (Which indeed have a Z80, but no more CRTC CI  ;D )


Offline Ast

  • 6128 Plus
  • ******
  • Posts: 1.017
  • Country: fr
    • Amstrad cpc Website of Ast/iMPACT
  • Liked: 807
  • Likes Given: 689
Re: X-MEM, a new memory expansion for all CPC.
« Reply #362 on: 23:15, 03 September 14 »
Maybe ask Arnoldemu if the test was made on the loader, who knows?
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"


Amstrad Plus French Forum

All friends are welcomed !

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.463
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2635
  • Likes Given: 1565
Re: X-MEM, a new memory expansion for all CPC.
« Reply #363 on: 23:54, 03 September 14 »
yes, Switch is on 464.
you could change the address on the X-MEM? or it could have to do with the new 464 board. Without ZILOG Z80?
could someone test this?
Hello,

Is the FW3.15 properly display the "576K" X-MEM RAM at boot?
Please, can you give me your CPC mainboard model number?

Thank you,

  TotO.
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline DerSchatten

  • CPC464
  • **
  • Posts: 38
  • Country: 00
  • Liked: 2
  • Likes Given: 0
Re: X-MEM, a new memory expansion for all CPC.
« Reply #364 on: 00:12, 04 September 14 »
The Bootscreen from the FW3.15-EN says:
RAM:576K | CRTC4 | FW3.15-EN

Board Vers. see Attachment

[attachimg=1]
« Last Edit: 00:20, 04 September 14 by DerSchatten »

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.463
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2635
  • Likes Given: 1565
Re: X-MEM, a new memory expansion for all CPC.
« Reply #365 on: 00:25, 04 September 14 »

OK. So, the pre-ASIC (CRTC4) is the problem. It prevents the X-MEM to force the 464 to work "like" a 6128.
Strangely, that not occur with the PLUS ASIC... Gerald already told me about.
I can send you a dedicated version of the CPLD for trying to fix that.
« Last Edit: 00:32, 04 September 14 by TotO »
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline DerSchatten

  • CPC464
  • **
  • Posts: 38
  • Country: 00
  • Liked: 2
  • Likes Given: 0
Re: X-MEM, a new memory expansion for all CPC.
« Reply #366 on: 00:36, 04 September 14 »
ok, yes, please. What must I do?

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.463
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2635
  • Likes Given: 1565
Re: X-MEM, a new memory expansion for all CPC.
« Reply #367 on: 00:39, 04 September 14 »
Send me an email with your real name to contact@centpourcent.net
I will send you the replacement IC to your address.

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

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.084
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3929
  • Likes Given: 410
Re: X-MEM, a new memory expansion for all CPC.
« Reply #368 on: 10:24, 04 September 14 »
The Bootscreen from the FW3.15-EN says:
RAM:576K | CRTC4 | FW3.15-EN

Board Vers. see Attachment

Holy shit, what's with the massive heatsink on the CPU, are you expecting to run it at 20Mhz? :D

Bryce.

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.463
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2635
  • Likes Given: 1565
Re: X-MEM, a new memory expansion for all CPC.
« Reply #369 on: 10:49, 04 September 14 »

About the FW3.15 RAM displayed, you have updated your post from 4xxK to 576K. It is not always the same???
Please, can you run the EXRAM program provided with the X-MEM floppy/hfe to let me know the real amount detected?
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline gerald

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.428
  • Liked: 1004
  • Likes Given: 251
Re: X-MEM, a new memory expansion for all CPC.
« Reply #370 on: 10:50, 04 September 14 »
OK. So, the pre-ASIC (CRTC4) is the problem. It prevents the X-MEM to force the 464 to work "like" a 6128.
Strangely, that not occur with the PLUS ASIC... Gerald already told me about.
I can send you a dedicated version of the CPLD for trying to fix that.
As far As I  remember, the pre-asic is not the problem, but the Z80 itself. A Z80 swap could do the trick.
On my CPC, replacing the ST one by a Zilog or SGS solved the problem.

@DerSchatten, what is the Z80 model on your CPC ? Also, do you have an other one and try a swap ?

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.463
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2635
  • Likes Given: 1565
Re: X-MEM, a new memory expansion for all CPC.
« Reply #371 on: 10:58, 04 September 14 »
As far As I  remember, the pre-asic is not the problem, but the Z80 itself. A Z80 swap could do the trick.
On my CPC, replacing the ST one by a Zilog or SGS solved the problem.
I remember I asked you to do this test. That worked on one of your 464...  So, I have added a warning on the X-MEM page.
I got some zilog Z80 in stock for peoples who have doubt with that.

But... I'm not sure that was on the pre-ASIC model. :D
« Last Edit: 11:01, 04 September 14 by TotO »
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.332
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2247
  • Likes Given: 3477
Re: X-MEM, a new memory expansion for all CPC.
« Reply #372 on: 11:05, 04 September 14 »
As far As I  remember, the pre-asic is not the problem, but the Z80 itself. A Z80 swap could do the trick.
On my CPC, replacing the ST one by a Zilog or SGS solved the problem.

@DerSchatten, what is the Z80 model on your CPC ? Also, do you have an other one and try a swap ?
@gerald: Why must it be Zilog or SGS Z80? Do these allow the signal to be manipulated by the X-mem so that the expansion works??
Which signal is it manipulating? I am sure it has been mentioned before.. but I just wondered why exactly.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline gerald

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.428
  • Liked: 1004
  • Likes Given: 251
Re: X-MEM, a new memory expansion for all CPC.
« Reply #373 on: 11:11, 04 September 14 »
I remember I asked you to do this test. That worked on one of your 464...  So, I have added a warning on the X-MEM page.
I got some zilog Z80 in stock for peoples who have doubt with that.

But... I'm not sure that was on the pre-ASIC model. :D
I've got my notes  ;D

That a shame that AMSTRAD fixed the RAMDIS behaviour (so we don't need the force mreqn), but did not fix the C3 mode when in 464 configuration (and we still have to force A15).
But there is a simple solution to this : configure the pre-asic in 6128 mode so the XMEM work like on a 6128.
This need two wire soldering :
- one grounding the pre-asic configuration pin (tricky, 0.5mm pich IC) to switch to 6128 mode
- one preventing the non existing amsdos rom to be mapped in place of the basic one


Offline gerald

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.428
  • Liked: 1004
  • Likes Given: 251
Re: X-MEM, a new memory expansion for all CPC.
« Reply #374 on: 11:13, 04 September 14 »
@gerald: Why must it be Zilog or SGS Z80? Do these allow the signal to be manipulated by the X-mem so that the expansion works??
Which signal is it manipulating? I am sure it has been mentioned before.. but I just wondered why exactly.
The signals are A15 and MREQn from the Z80.
From the test I made, the original Z80 (ST) in my pre-ASIC cpc had too strong pad which prevented the PLD on the XMEM to force these signals high enough. With Zilog/SGS ones, the forcing was OK.