Trap a sound signal on the Zx81 BUS.

Discussions about Sinclair ZX80 and ZX81 Hardware
Post Reply
User avatar
XavSnap
Posts: 1940
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Trap a sound signal on the Zx81 BUS.

Post by XavSnap »

Hello,

I have a little question.
Is it possible to interconnect the audio signal from the mic jack via the ZX81's expansion bus?
that is, plugging a K7 reader into a card, and reformatting the IRQ sound signal to read to load a program.
(like a video display, and don't use the ULA decoding process)

Thank you for your future answers.
All the best.
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
User avatar
1024MAK
Posts: 5101
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: Trap a sound signal on the Zx81 BUS.

Post by 1024MAK »

Hi XavSnap

I’m not sure what you are asking?

For loading from cassette tape, the ULA acts as a simple level shifter and input port. When the Z80 CPU reads from I/O port 0xFE, bit 7 is set or reset (high or low) depending on the voltage level on the ULA input pin (tape in, connected to the Ear jack socket). Just like the Memotech external keyboard, other devices (connected to the expansion port / edge connector) can override the ULA and instead supply data to the Z80 CPU when it reads I/O port 0xFE.

For saving to cassette tape, writes to any I/O port (although 0xFF is usually preferred) and reads from I/O port 0xFE causes pulses to be output to the combined TV/Tape ULA pin. These I/O accesses could be picked up on the expansion port / edge connector with the appropriate extra circuitry.

All the decoding and encoding of the signals from/to a cassette tape are done in software by the Z80 CPU.

You can bypass the ULA entirely if you use your own cassette tape reading or writing code. Then you can read from, or write to any I/O port.

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
XavSnap
Posts: 1940
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: Trap a sound signal on the Zx81 BUS.

Post by XavSnap »

Thanks Mark !

A bluetooth circuit can therefore be integrated with an expansion card to remove the reader and the cord file loading (noises and read errors).

so it's not a sight-of-mind.

Cool…

:ugeek:
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
User avatar
Dim_75
Posts: 80
Joined: Fri Sep 01, 2017 11:04 pm
Location: Paris, FR

Re: Trap a sound signal on the Zx81 BUS.

Post by Dim_75 »

Hi Xav, something in preparation ???? :P :)
User avatar
XavSnap
Posts: 1940
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: Trap a sound signal on the Zx81 BUS.

Post by XavSnap »

:lol:

Yes Dim...
Ay_Original.jpg
And the daughter board:
lm3915.jpg
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
McKlaud
Posts: 337
Joined: Tue Dec 19, 2017 10:02 pm
Location: St Albans, UK

Re: Trap a sound signal on the Zx81 BUS.

Post by McKlaud »

it looks interesting. BUT, have you considered adding 16K RAM on it, just in case. No much software can run on 1K Zeddy. Are AY ports the same like in the ZON or are they ZX Spectrum ones?
Claudius
----------
User avatar
XavSnap
Posts: 1940
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: Trap a sound signal on the Zx81 BUS.

Post by XavSnap »

Hi McKlaud,

Maybe my second next project…
Back_Ext.jpg
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
Post Reply