Author Topic: Creating a link from 6128 to 464 via printer port  (Read 418 times)

0 Members and 1 Guest are viewing this topic.

Offline geebus

  • Amateur Geek
  • Supporter
  • CPC664
  • *
  • Posts: 74
  • Country: scotland
    • Gee-k.net
  • Liked: 31
  • Likes Given: 31
Hi all, I was watching something a while back on YouTube about the oliver twins and they stated that they had a device going from their 6128 or 664 that went from the printer port to the spectrum so that if the spectrum crashed they didn't loose all their code etc.


I'm quite keen in trying to use my amstrads (464's and a 6128) in the way they would have been "back in 'day" when they were released. I am looking to start learning how to code on these machines using BASIC, ASM and possibly even C. So, I'm wondering if anyone has any knowledge on the creation of these devices. I'd like to send my code to a 464 to then test my code on. I am aware there are a few slight differences in the BASIC versions, so that will be a fun thing to learn.


Does the printer port just send out 7bit ascii characters in binary across the data lines to be interpreted by the device receiving it?
i.e. can I send raw parallel 7bit binary from the printer port of the sending cpc to the expansion port of the receiving cpc.
If so, this must mean that there is a way of having the memory on the receiving computer available to the expansion port (makes sense for ROMs and RAM expansions I suppose) and being able to write directly to it. Although that would then mean that the memory would have to be filled using compiled ASM? you couldn't just send raw binary data, or could you?
As you can tell i'm rather new to using these computers in a way other than: run"disc"


I'm just having some brain farts and thinking up experiments to have a play with my amstrads really.

So far I've only made simple things like a modern control pad and attached a 3.5" floppy drive to my 6128 (i'd like to work out how to do it to a 464 too but I realise that requires making a DDI device).


If anyone has some wisdom for me on what i'm looking to do, It would be great to learn from you.

Offline rpalmer

  • 6128 Plus
  • ******
  • Posts: 546
  • Country: au
  • Liked: 362
  • Likes Given: 18
Re: Creating a link from 6128 to 464 via printer port
« Reply #1 on: 23:20, 11 July 19 »
geebus,
The device you maybe referring to is the vn96 device connected to the printer port.
It communicated via the printer data lines to send 1bit of data  (bit 0 if i recall) and receive 1bit of data using the status signal.It was a very simple device and could be used to communicate between 2 cpc's using a very simple protocol.

rpalmer
« Last Edit: 23:25, 11 July 19 by rpalmer »

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.468
  • Country: us
    • Homepage
  • Liked: 821
  • Likes Given: 581
Re: Creating a link from 6128 to 464 via printer port
« Reply #2 on: 08:49, 12 July 19 »
AFAIK, @bryce and @GUNHED  have re-created this.

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 10.945
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3860
  • Likes Given: 395
Re: Creating a link from 6128 to 464 via printer port
« Reply #3 on: 09:28, 12 July 19 »
AFAIK, @bryce and @GUNHED  have re-created this.

Yes, I made a small batch of vn95 cards a while back, but they were completely hand made on stripboard.

Bryce.

Offline geebus

  • Amateur Geek
  • Supporter
  • CPC664
  • *
  • Posts: 74
  • Country: scotland
    • Gee-k.net
  • Liked: 31
  • Likes Given: 31
Re: Creating a link from 6128 to 464 via printer port
« Reply #4 on: 10:30, 12 July 19 »
Hi folks, thanks for the replies. I remember seeing the ones you made @Bryce But I didn't realise quite how much they could do.
I'll have a good look over them and read up the how to guide that comes with it.
Thanks @rpalmer for linking that in!

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 10.945
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3860
  • Likes Given: 395
Re: Creating a link from 6128 to 464 via printer port
« Reply #5 on: 10:48, 12 July 19 »
To the technical side: The printer port can send 7bits, but the pins are output only. The port only has one input pin (Busy), so the connection is limited to one bit and it's as slow as a wet weekend.

Bryce.

Offline geebus

  • Amateur Geek
  • Supporter
  • CPC664
  • *
  • Posts: 74
  • Country: scotland
    • Gee-k.net
  • Liked: 31
  • Likes Given: 31
Re: Creating a link from 6128 to 464 via printer port
« Reply #6 on: 10:52, 12 July 19 »
So in theory, you could create a parallel transfer from Printer port to Expansion port? Or expansion to expansion?
That would (theoretically) speed things up 7 fold.

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 10.945
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3860
  • Likes Given: 395
Re: Creating a link from 6128 to 464 via printer port
« Reply #7 on: 11:08, 12 July 19 »
Yes, but it would require quite a bit of additional hardware. It would probably be faster and more cost effective to connect the CPC's via bluetooth with one of the many expansions available.

Bryce.

Offline geebus

  • Amateur Geek
  • Supporter
  • CPC664
  • *
  • Posts: 74
  • Country: scotland
    • Gee-k.net
  • Liked: 31
  • Likes Given: 31
Re: Creating a link from 6128 to 464 via printer port
« Reply #8 on: 11:44, 12 July 19 »
yeah, I've seen the wifi units and thought that would probably be better. But i'm looking to keep things "period".
I'm more interested in learning how the chips interact so that I can learn from it. Find out where signals originate from and how to send said signals using software etc.
I would really like to be able to program a few things that utilise BB systems etc, but I need to start at the beginning!

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.287
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 719
  • Likes Given: 1564
Re: Creating a link from 6128 to 464 via printer port
« Reply #9 on: 12:28, 12 July 19 »
geebus,
The device you maybe referring to is the vn96 device connected to the printer port.
It communicated via the printer data lines to send 1bit of data  (bit 0 if i recall) and receive 1bit of data using the status signal.It was a very simple device and could be used to communicate between 2 cpc's using a very simple protocol.

rpalmer


That's correct so far. However the protocol is anything but simple, in contrast, it's quit sophisticated. Regarding the hardware, it's needed. And it's quick, efficient and error prone. A masterpiece. The WizCats did a great job.  :) :) :)
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.08.07)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2019.08.14)

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 10.945
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3860
  • Likes Given: 395
Re: Creating a link from 6128 to 464 via printer port
« Reply #10 on: 13:12, 12 July 19 »
Error prone means it's likely to have errors? Is that what you meant to say, because the hardware is so simple shouldn't be able to cause errors.

Bryce.

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.287
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 719
  • Likes Given: 1564
Re: Creating a link from 6128 to 464 via printer port
« Reply #11 on: 00:19, 15 July 19 »
You have a _NETWORK_ of CPCs, not a two computer connection (ok, you may more often have, but it's made for 5-10 CPCs). They may all differ where they are in their spot in time/CPU run. I talk about synchronization etc. There are great manuals in the internet, they can explain all this in great detail.  :)
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.08.07)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2019.08.14)

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 10.945
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3860
  • Likes Given: 395
Re: Creating a link from 6128 to 464 via printer port
« Reply #12 on: 10:25, 15 July 19 »
Ah, ok. So the architecture is error prone, not the hardware.

Bryce.