Trap a sound signal on the Zx81 BUS.

Discussions about Sinclair ZX80 and ZX81 Hardware
Post Reply
User avatar
XavSnap
Posts: 892
Joined: Sat May 10, 2008 4:23 pm

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

User avatar
1024MAK
Posts: 2897
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

User avatar
XavSnap
Posts: 892
Joined: Sat May 10, 2008 4:23 pm

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

User avatar
Dim_75
Posts: 59
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: 892
Joined: Sat May 10, 2008 4:23 pm

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

McKlaud
Posts: 278
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: 892
Joined: Sat May 10, 2008 4:23 pm

Re: Trap a sound signal on the Zx81 BUS.

Post by XavSnap »

Hi McKlaud,

Maybe my second next project…
Back_Ext.jpg
Xavier

Post Reply