Page 1 of 1

Trap a sound signal on the Zx81 BUS.

Posted: Mon Nov 04, 2019 7:32 am
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.

Re: Trap a sound signal on the Zx81 BUS.

Posted: Mon Nov 04, 2019 10:01 am
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

Re: Trap a sound signal on the Zx81 BUS.

Posted: Tue Nov 05, 2019 3:52 am
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:

Re: Trap a sound signal on the Zx81 BUS.

Posted: Tue Nov 05, 2019 11:37 am
by Dim_75
Hi Xav, something in preparation ???? :P :)

Re: Trap a sound signal on the Zx81 BUS.

Posted: Thu Nov 07, 2019 2:03 am
by XavSnap
:lol:

Yes Dim...
Ay_Original.jpg
And the daughter board:
lm3915.jpg

Re: Trap a sound signal on the Zx81 BUS.

Posted: Thu Nov 07, 2019 9:33 am
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?

Re: Trap a sound signal on the Zx81 BUS.

Posted: Thu Nov 07, 2019 10:58 am
by XavSnap
Hi McKlaud,

Maybe my second next project…
Back_Ext.jpg