CPCWiki forum

General Category => NC100, NC200, PCW, PDA600 - the rest of the Family! => Topic started by: GUNHED on 13:49, 15 June 22

Title: Using a 16 Bit I/O Device on the PcW expansion port?
Post by: GUNHED on 13:49, 15 June 22
Well, the CPC uses 16 Bit I/O and the PcW uses 8 Bit I/O. 

Can I connect an expansion to the PcW expansion port which does use 16 Bit I/O?
Does provide the PcW 16 address bits when doing I/O? Or is it only 8?

The background is that I want to connect the LambdaSpeak to the PcW. This CPC device uses 16 bit I/O. (The PcW expansion port does have all needed signals as far as I see.)
Title: Re: Using a 16 Bit I/O Device on the PcW expansion port?
Post by: GUNHED on 09:56, 16 June 22
Nobody?

If a program does an I/O in the PcW. Will all 16 address bits shown at the expansion port?
Title: Re: Using a 16 Bit I/O Device on the PcW expansion port?
Post by: Prodatron on 10:43, 16 June 22
Yes.
We are using #B0 for the lower 8bit part of the I/O port for connecting MSX hardware like the Graphics9000 to the PCW. It is then addressed with the higher 8bit part of the I/O port, which makes it possible to use the whole port range of the MSX (like on the CPC+Amsdap with #FFxx).
#xxB0 is ignored by existing internal/external PCW hardware (suggestion by Habi, already realised and tested by Gflorez with the G9K).
Title: Re: Using a 16 Bit I/O Device on the PcW expansion port?
Post by: GUNHED on 12:06, 16 June 22
Thank you very much for that information.  :) :) :)

This way we can use &xxEE for the LambdaSpeak for PcW. Wouldn't know an expansion using that port. 
Title: Re: Using a 16 Bit I/O Device on the PcW expansion port?
Post by: Prodatron on 13:07, 16 June 22
From the...

AMSTRAD "JOYCE" SOFTWARE INTERFACE SPEC.
                        Issue 9  9 July 1985

E8h-EFh        Reserved for External Printer Interface
Title: Re: Using a 16 Bit I/O Device on the PcW expansion port?
Post by: GUNHED on 17:24, 16 June 22
Reserved? That sounds fair enough. :)

It there somebody out there using an external printer for the PcW?

Please let us know.  :) :) :)
Title: Re: Using a 16 Bit I/O Device on the PcW expansion port?
Post by: JohnElliott on 23:04, 16 June 22
0E8h is used (by the CPS8256 parallel port). As far as I know the other ports in the range aren't used, though it might be as well to check the CPS8256 to see how completely it decodes addresses.

When the later standalone parallel port interfaces were created it seems the designers weren't aware of that document, because they put them at 84h-87h rather than (say) 0ECh-0EFh.
Title: Re: Using a 16 Bit I/O Device on the PcW expansion port?
Post by: GUNHED on 14:20, 17 June 22
Thanks for the additional information.  :) :) :)
Title: Re: Using a 16 Bit I/O Device on the PcW expansion port?
Post by: JonB on 16:19, 05 July 22
There's a sort of list of I/O addresses in use on the Wiki somewhere, but I think it is CPC6128 specific - that at least is 16 bit. Cannot recall if there's one for the PCW - if so, I would have populated it with the default uIDE ports. If not, let's start one!
Title: Re: Using a 16 Bit I/O Device on the PcW expansion port?
Post by: JohnElliott on 23:30, 07 July 22
Quote from: JohnElliott on 23:04, 16 June 220E8h is used (by the CPS8256 parallel port). As far as I know the other ports in the range aren't used, though it might be as well to check the CPS8256 to see how completely it decodes addresses.

When the later standalone parallel port interfaces were created it seems the designers weren't aware of that document, because they put them at 84h-87h rather than (say) 0ECh-0EFh.
Or perhaps they were, but were also aware of other conflicts. I've just taken a quick look at ProScan and it seems to use 0xE9 - 0xEF to communicate with its scanning hardware:


Other bits of the code access ports 0xE9 and 0xEF.
Title: Re: Using a 16 Bit I/O Device on the PcW expansion port?
Post by: JohnElliott on 00:46, 08 July 22
Quote from: JonB on 16:19, 05 July 22There's a sort of list of I/O addresses in use on the Wiki somewhere, but I think it is CPC6128 specific - that at least is 16 bit. Cannot recall if there's one for the PCW - if so, I would have populated it with the default uIDE ports. If not, let's start one!

@JTN's list at https://www.chiark.greenend.org.uk/~jacobn/cpm/pcwports.html is probably a good place to start.
Title: Re: Using a 16 Bit I/O Device on the PcW expansion port?
Post by: JonB on 08:48, 08 July 22
Can we copy the content to the Wiki and then I can at least add the ports I am using for uIDE. Same for all the other new stuff that people are developing. You know the score - without a centrally managed resource that everyone can update, it gets hard to maintian a definitive source.
Powered by SMFPacks Menu Editor Mod