QL IO board?

Nagging hardware related question? Post here!
Derek_Stewart
Font of All Knowledge
Posts: 3975
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: QL IO board?

Post by Derek_Stewart »

dilwyn wrote: Mon Jul 17, 2023 9:41 am
Derek_Stewart wrote: Mon Jul 17, 2023 9:19 am
dilwyn wrote: Mon Jul 17, 2023 9:16 am [Sadly, I haven't got the board nowadays, and I can't remember who bought it off me. Otherwise I'd ask them to try to take good quality photos of the circuit board to see if it could be reverse-engineered.
Pity, as the QL World articles imply the idea to interface BBC MIcro interfaces via QontrolII

I doubt the ROM software would be accessible.

Maybe a 6522 VIA could be interfaced on the Q68 I/O port.
At the time, I had a BBC Micro (used to work for the BBC in those days, we used them to some extent at work).

I did do a few simple hardware projects, one example was a grid of multiplexed LEDs working as a "disco" light running lightshow. I had it working from both BBC micro and QL (can't remember if it was the same interface to both machines or not), also a Spectrum, but the Spectrum one was different to the other two, just a project I copied from a magazine and built on veroboard - I remember struggling to make that one work, it took me several days to spot my soldering mistake. I never took it further than a matrix of LEDs on a veroboard before the novelty wore off and I diverged into more serious software projects once my employer got me writing some early office software on BBC micro.

I also connected a few devices to a QL via serial ports - I think I got the circuit diagram for that interface from Elektor or possibly one of the other electronics mags around in those days. The beauty of connecting via serial ports was that although slow, it was easy to program.

There's also the Minerva I2C interfaces for anyone able to get hold of those nowadays.
The Q68 I2C interface can do the same function as the Minerva MkII I2C, except the interfaces can be bought cheaply, I tried to the Sparkfun QWICC interface which is a 2mm JST connector. I will make some experiments, given time.


Regards,

Derek
Pepperm
Chuggy Microdrive
Posts: 60
Joined: Thu Jun 08, 2023 9:42 am

Re: QL IO board?

Post by Pepperm »

ones' complement wrote: Sun Jul 16, 2023 6:04 pm There was this:
IIO-card.jpg

Probably easiest to go with Minerva mkII and I2C (or Q68).
Where can I find out info and construction de tails for the Minerva mkII and I2C please? I have the Minerva ROM with TK2 fitted and have seen mention of the hardware but can’t find any actual details of what it is and how I can make it.


User avatar
dilwyn
Mr QL
Posts: 2761
Joined: Wed Dec 01, 2010 10:39 pm

Re: QL IO board?

Post by dilwyn »

Pepperm wrote: Mon Jul 17, 2023 9:54 am
ones' complement wrote: Sun Jul 16, 2023 6:04 pm There was this:
IIO-card.jpg

Probably easiest to go with Minerva mkII and I2C (or Q68).
Where can I find out info and construction de tails for the Minerva mkII and I2C please? I have the Minerva ROM with TK2 fitted and have seen mention of the hardware but can’t find any actual details of what it is and how I can make it.
A little bit of info here https://qlwiki.qlforum.co.uk/doku.php?i ... va&s[]=i2c and here http://tfs.firshman.co.uk/ql/minerva.htm

Manuals at https://dilwyn.qlforum.co.uk/docs/manua ... tfservices

They were produced by TF Services, but have sadly been out of production for some time. You might get lucky and find second hand ones on eBay or SellMyRetro.com. I'm afraid I have no idea whether the standard Mk One Minerva board can be upgraded to add the I2C parts to make it into a Mk Two board.


ones' complement
Over Heated PSU
Posts: 131
Joined: Tue Nov 30, 2021 1:19 am

Re: QL IO board?

Post by ones' complement »



Derek_Stewart
Font of All Knowledge
Posts: 3975
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: QL IO board?

Post by Derek_Stewart »

ones' complement wrote: Mon Jul 17, 2023 12:08 pm Earlier thread on mkII here : https://www.qlforum.co.uk/viewtopic.php?t=1993
(details from here on : https://www.qlforum.co.uk/viewtopic.php?p=43595#p43595)
Ahh... an another little job I forgot about.

I have to repair the Minerva MKII and I have another one that has a fault.

Probably need a Schematic drawing and generate a PCB for the new Minerva MKII, meanwell I have to use the Q68 for I2C


Regards,

Derek
User avatar
XorA
Site Admin
Posts: 1368
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QL IO board?

Post by XorA »

Derek_Stewart wrote: Mon Jul 17, 2023 1:00 pm
ones' complement wrote: Mon Jul 17, 2023 12:08 pm Earlier thread on mkII here : https://www.qlforum.co.uk/viewtopic.php?t=1993
(details from here on : https://www.qlforum.co.uk/viewtopic.php?p=43595#p43595)
Ahh... an another little job I forgot about.

I have to repair the Minerva MKII and I have another one that has a fault.

Probably need a Schematic drawing and generate a PCB for the new Minerva MKII, meanwell I have to use the Q68 for I2C
Do you have the Minverva MKII PAL/GAL equations? I think thats where Dave's clone fell down!


User avatar
Pr0f
QL Wafer Drive
Posts: 1307
Joined: Thu Oct 12, 2017 9:54 am

Re: QL IO board?

Post by Pr0f »

I thought most of the clever stuff was done in the code itself - the bit banging of CLK and DATA lines - and there is some sort of status engine there too - so I suspect the GAL was just there to provide some additional decoding for the IO addresses used for the I2C interface itself and the EPROM decode for the 64K eprom on the MKII so it behaves like a 48K ROM


User avatar
Pr0f
QL Wafer Drive
Posts: 1307
Joined: Thu Oct 12, 2017 9:54 am

Re: QL IO board?

Post by Pr0f »

I believe it hi jacks one or two I/O addresses in the 48K lower ROM space.

In fact it looks like it has 4 addresses - and the GAL may be working in registered mode and setup as flip flops to be toggled on accesses to the addresses - after having a quick and dirty scan at the code.

* a2-a5 these are set here to the four byte addresses of the interface.


lea $bfdc,a4
lea 1(a4),a5
lea 2(a4),a2
lea 3(a4),a3


Derek_Stewart
Font of All Knowledge
Posts: 3975
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: QL IO board?

Post by Derek_Stewart »

Hi,

I have 2 GALs, if there is no protection, I shoukd be able to disassemble the JEDEC code.


Regards,

Derek
martyn_hill
Aurora
Posts: 933
Joined: Sat Oct 25, 2014 9:53 am

Re: QL IO board?

Post by martyn_hill »

Hi everyone!

I did some work to try to understand the Mk2 Minnie GAL equations some time ago and, based on TF's JED map file (MGCV1.00), decompiled using JED2EQN and it tidied-up a bit.

I attach it here - modified a tinsy bit to allow a switch to be fitted to enable/disable the upper 16KB ROM decode, depending on whether you have TK2 or something else (QL-SD?) already mapped-in there.

The clever stuff falls between the bit-banging in the Minerva code and the 'state-machine' encoded in the GAL.
Attachments
MinMk2_GAL_TF-MH_v110.zip
(1.42 KiB) Downloaded 31 times


Post Reply