Tape read/write on expansion port?

Discussions about Sinclair ZX80 and ZX81 Hardware
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Tape read/write on expansion port?

Post by mrtinb »

When port FF is read and written in the kernel when reading and writing tape, can it be seen on the expansion port?
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: Tape read/write on expansion port?

Post by Andy Rea »

Reading of port $FE at the expansion port is possible, external keyboards are one example.

So you need to decode port address and ~iorq and ~rd I believe tape input is bit 7. You must remember for port $FE to work correctly you use open collector drivers only.. DO NOT DRIVE DATA LINES HIGH.

So that's tape input covered... Tape output is somewhat harder...

I guess you could watch the 2 ports ( I forget which ones without looking at my notes ) and set / under a latch accordingly ( your latch should mimic the vsync pulses ) and use that as a tape out signal....

Regards Andy
what's that Smell.... smells like fresh flux and solder fumes...
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Tape read/write on expansion port?

Post by mrtinb »

Thank you for your informative reply.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Tape read/write on expansion port?

Post by mrtinb »

So wouldn't it be simple to create a little circuit with a few logic gates, that will bring the same signal as the EAR and MIC, but with 5V TTL? This would be easier to record and playback compared to the 0.01V on the MIC.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
1024MAK
Posts: 5103
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: Tape read/write on expansion port?

Post by 1024MAK »

The signal level on the external mic jack socket is mostly due to the resistor and capacitor network on the PCB. There is nothing to stop you connecting a short wire to the solder pin of the ULA (or ULA socket) and feeding it to a logic gate in a logic chip. Then the output of this chip can output to whatever you like. But keep in mind that you will get part of the TV signal on this signal line.

The ear input is a bit more tricky, as the levels are set by Sinclair attempting to match the levels expected from a actual cassette tape recorder. But it is possible to feed a signal (via a suitable resistor network) to the ULA pin.

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Tape read/write on expansion port?

Post by mrtinb »

My idea was to have a board on the expansion port with ear and mic that would be 5V TTL without opening the ZX81 and modify the board.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: Tape read/write on expansion port?

Post by Andy Rea »

whilst it could be done, and maybe back in the 80's it might have been a good idea, with the usb / sd card options we have for save and load why would anyone bother ?

i believe Wilf did a similar thing years ago before usb / sd card solutions for high speed serial transfer to / from a pc.

Regards Andy
what's that Smell.... smells like fresh flux and solder fumes...
Moggy
Posts: 3231
Joined: Wed Jun 18, 2008 2:00 pm

Re: Tape read/write on expansion port?

Post by Moggy »

Andy Rea wrote: Fri Mar 30, 2018 9:41 pm whilst it could be done, and maybe back in the 80's it might have been a good idea, with the usb / sd card options we have for save and load why would anyone bother ?

i believe Wilf did a similar thing years ago before usb / sd card solutions for high speed serial transfer to / from a pc.

Regards Andy
Agreed. 6 mins to load Football Manager why anyone would want to mess around with tape is beyond me, another thought exercise like the three rampack gubbins methinks. :lol:
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Tape read/write on expansion port?

Post by mrtinb »

I learn when I ask
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Tape read/write on expansion port?

Post by mrtinb »

It's for my Lambda 8300 which does not work with neither ZXpand nor ZXblast.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
Post Reply