Address decoding & some simple sequential logic

General discussions or ideas about hardware.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Address decoding & some simple sequential logic

Post by Badwolf »

Afternoon all.

What would the forum think is the best approach at the moment for some common hardware modding tasks.

Specifically I'm thinking about

1) address decoding;
2) some fairly simple sequential logic.

All at 5V.

Probably if this were the late 90s I'd have said PALs or GALs would be the best option. But I don't know if they're still widely available.

Recently for larger projects I've thrown XC95 CPLDs at the problem but that has downsides in that it needs supporting circuitry and those 5V tolerant ones are going out of life which means modern ones will need even more circuitry.

So my mind's kind of gone back in time for an address decoder and I'm thinking about 4-way ANDs and hex NOT gate combinations. For the basic sequential logic (think six lines, perhaps), I'm scratching my head.

What's the future-friendly way to do these retro tasks, you think?

Atmel still seems to make things it calls EEPLDs. Anyone any experience with those?

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: Address decoding & some simple sequential logic

Post by stephen_usher »

16V8 GALs are still available, just. You can use a set of diodes as a multiple OR gate :-)

You can even use an EPROM and feed the address lines in and have a truth table.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
olivier.jan
Site sponsor
Site sponsor
Posts: 338
Joined: 01 Jun 2020 08:00

Re: Address decoding & some simple sequential logic

Post by olivier.jan »

I’m using 16v8 and 22v10 a lot, apart from the crappy Wincupl software, it’s still save you a lot of time.
Retro stuff
520 STF/ 1040 STE / Mega ST / 2 Mega STE / 2 H5
2 x 600XL with U1MB /SOFIA 2/ AVG CART / and a few 1050
Apple //c, Commodore 128, Mac Classic, SE/30, LC, IIvi and PB G3 (Clamshell)
Amiga 600 and a few 486 and 386.
Many Nintendo G&W and other electronic games from the late 70s/early 80s.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: Address decoding & some simple sequential logic

Post by Badwolf »

stephen_usher wrote: 14 Mar 2025 17:15 16V8 GALs are still available, just. You can use a set of diodes as a multiple OR gate :-)
olivier.jan wrote: 14 Mar 2025 18:32 I’m using 16v8 and 22v10 a lot, apart from the crappy Wincupl software, it’s still save you a lot of time.
Thanks both. What do you use for a programmer? I've seen mixed answers as to whether the venerable TL866ii can do the job.

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: Address decoding & some simple sequential logic

Post by stephen_usher »

Badwolf wrote: 14 Mar 2025 21:33
stephen_usher wrote: 14 Mar 2025 17:15 16V8 GALs are still available, just. You can use a set of diodes as a multiple OR gate :-)
olivier.jan wrote: 14 Mar 2025 18:32 I’m using 16v8 and 22v10 a lot, apart from the crappy Wincupl software, it’s still save you a lot of time.
Thanks both. What do you use for a programmer? I've seen mixed answers as to whether the venerable TL866ii can do the job.

BW
The TL866 is fine for 16v8s, just choose the correct Atmel model. Getting it wrong will mean that the programming fails, which is probably what's happening in those reports.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
olivier.jan
Site sponsor
Site sponsor
Posts: 338
Joined: 01 Jun 2020 08:00

Re: Address decoding & some simple sequential logic

Post by olivier.jan »

TL866 II is working fine with the ATF22V10 and the ATF16V8 as mentioned by Stephen. I’ve read the reports and my understanding is that it concerns the original TL866, the second version TL866 II has no such problems.
Retro stuff
520 STF/ 1040 STE / Mega ST / 2 Mega STE / 2 H5
2 x 600XL with U1MB /SOFIA 2/ AVG CART / and a few 1050
Apple //c, Commodore 128, Mac Classic, SE/30, LC, IIvi and PB G3 (Clamshell)
Amiga 600 and a few 486 and 386.
Many Nintendo G&W and other electronic games from the late 70s/early 80s.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: Address decoding & some simple sequential logic

Post by Badwolf »

Corking. Thanks, gents.

I'll put that on my list of things to experiment with for a couple of my next projectettes. :dualthumbup:

Cheers,

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: Address decoding & some simple sequential logic

Post by exxos »

I use the ATF1500 series on stuff. Basically a big GAL. Use the 1502 on my 16mhz booster and 1508 on the SEC booster, TRUDIE and Flashy clock.. It's all 5v.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: Address decoding & some simple sequential logic

Post by Badwolf »

exxos wrote: 14 Mar 2025 23:13 I use the ATF1500 series on stuff. Basically a big GAL. Use the 1502 on my 16mhz booster and 1508 on the SEC booster, TRUDIE and Flashy clock.. It's all 5v.
What's the programming chain look like?

WinCPL, I presume and specialist programmer, is it?

Ta,

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: Address decoding & some simple sequential logic

Post by exxos »

Badwolf wrote: 18 Mar 2025 13:02 WinCPL,
Yes.

Badwolf wrote: 18 Mar 2025 13:02 I presume and specialist programmer, is it?
Yes you need the proper Atmel one which was hard to find and not cheap at around £100 IIRC.

EDIT:
Looks like someone on evilbay has some...

https://www.ebay.co.uk/itm/204791643940

Return to “HARDWARE DISCUSSIONS”

Who is online

Users browsing this forum: apple [bot], ClaudeBot, trendiction [bot] and 9 guests