TF536 + 68000 relocator and ROM board project.

All about the TF536 port to the ST.
User avatar
DoG
Posts: 467
Joined: Sat Apr 07, 2018 12:26 pm

Re: TF536 + 68000 relocator and ROM board project.

Post by DoG » Sun Sep 27, 2020 7:28 pm

stephen_usher wrote:
Sun Sep 27, 2020 6:49 pm
@exxos What model eeprom do you use for your dualtos?
AT27C4096-55JU

stephen_usher
Trusted Guru
Trusted Guru
Posts: 1085
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: TF536 + 68000 relocator and ROM board project.

Post by stephen_usher » Sun Sep 27, 2020 7:53 pm

Thanks.
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.

stephen_usher
Trusted Guru
Trusted Guru
Posts: 1085
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: TF536 + 68000 relocator and ROM board project.

Post by stephen_usher » Sun Sep 27, 2020 10:14 pm

Does this logic for the ROM decode look OK? The GAL will match the address patterns for both possible ROM address ranges.

I've used /AS for the ROM /CE as according to the spec. /CE should be enabled before /OE and given the logic delays this should work due to the logic delays in the GAL and 74LS08.

I'm using A17 on the EEPROM to switch between TOS images.
IMG_2037.jpg
IMG_2037.jpg (28.72 KiB) Viewed 453 times
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.

stephen_usher
Trusted Guru
Trusted Guru
Posts: 1085
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: TF536 + 68000 relocator and ROM board project.

Post by stephen_usher » Sun Sep 27, 2020 10:17 pm

I've just noticed a mistake. The second AND gate will not work and can be left out. Though really the /OE activation on the EEPROM should require /AS to be asserted as otherwise it could be reacting to a spurious address on the bus.

OK, I'll have to use a NOR gate in an 74LS02.
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.

stephen_usher
Trusted Guru
Trusted Guru
Posts: 1085
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: TF536 + 68000 relocator and ROM board project.

Post by stephen_usher » Sun Sep 27, 2020 10:23 pm

Or I can use a second GAL, but that's slower.
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.

stephen_usher
Trusted Guru
Trusted Guru
Posts: 1085
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: TF536 + 68000 relocator and ROM board project.

Post by stephen_usher » Sun Sep 27, 2020 10:57 pm

Just a mo... The EPROM is only 256Kx16, so how do you fit two (potentially 256K) TOS images in there?!
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
PhilC
Moderator
Moderator
Posts: 3773
Joined: Fri Mar 23, 2018 8:22 pm

Re: TF536 + 68000 relocator and ROM board project.

Post by PhilC » Sun Sep 27, 2020 11:06 pm

stephen_usher wrote:
Sun Sep 27, 2020 10:57 pm
Just a mo... The EPROM is only 256Kx16, so how do you fit two (potentially 256K) TOS images in there?!
For two tos versions you'll need something like a 27c400 or 27c4096.
If it ain't broke, test it to Destruction.

stephen_usher
Trusted Guru
Trusted Guru
Posts: 1085
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: TF536 + 68000 relocator and ROM board project.

Post by stephen_usher » Sun Sep 27, 2020 11:12 pm

I'm getting confused by the Axx notation differences between the m68k (starts at A1) and the chip (starts at A0).
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
exxos
Site Admin
Site Admin
Posts: 12568
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
YouTube: https://www.youtube.com/user/exxosuk
Contact:

Re: TF536 + 68000 relocator and ROM board project.

Post by exxos » Mon Sep 28, 2020 12:58 am

I'm not really following your circuit.. You have a gal, so why external gates ? You just decode TOS206 space and do a OR type equation in the GAL for ROM2.. I am making the assumption ROM2 is the one the glue set low on address zero. Or just run all 3 ROM limes to the GAL.. Then your GAL logic will set ROM OE low on valid address range OR ROM2 for address zero decode.

You also run /AS as a condition in the GAL logic to only allow any decoding when /AS is low. Otherwise you end up with glitches on ROM OE due to his transitions etc.

As for DTACK, have the GAL set low at the same time as ROM OE, the TF536 should be able to cope with that AFAIK. In general a 8mhz CPU won't read DTACK until after 55ns (ROM access time) so DTACK speed isn't really relevant in this case.
https://www.exxoshost.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxoshost.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.

stephen_usher
Trusted Guru
Trusted Guru
Posts: 1085
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: TF536 + 68000 relocator and ROM board project.

Post by stephen_usher » Mon Sep 28, 2020 5:13 am

Because I’ll not be using the standard ROM sockets I’ll have to decode the TOS 1.xx addresses too, so I need the 8 address lines into the GAL to do this. The GAL16V8 only has 8 general purpose inputs, so they’re all used up. The other two lines are more restricted, being i1/CLK and i’ve forgotten what i10 ‘s main function is.

As for /ROM2, I was basing this on the decoder DoG referenced. Yes, /ROM2 is asserted for the zero reads. Actually, looking at the Atari schematics it may also be asserted for the TOS 1.xx address space too, so that would mean I wouldn’t need the more complicated GAL logic and I could use only 6 address lines, freeing up two inputs for /AS and /ROM2.

I should really stop /ROE if /RW is low so as to cause a bus error on an attempted write to the address space.
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.

Post Reply

Return to “TF536 ST EDITION”