Cartridge port adding RW...

Super ST Project. Lets create a awesome new ST! Fix all the bugs and add more cool stuff!
Post Reply
User avatar
exxos
Site Admin
Site Admin
Posts: 7141
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Cartridge port adding RW...

Post by exxos » Mon Oct 15, 2018 10:54 am

There was a brief talk over on AA last year about replacing the cartridge port with a super I/O port. There was of course mixed views about this.

Currently I am thinking the major problem with the port is lack of RW signal. So here is my proposed solution.

Pardon the crude drawing..
CRW.JPG
CRW.JPG (24.2 KiB) Viewed 1069 times
Basically as there is 3 GND connections on the cartridge, the idea is to remove one of them use with a RW line instead. We would keep the existing 2 GND connections on the top and bottom of the port just remove the inner GND connection.

The problem is that we cannot simply route RW to the cartridge port, because any existing cartridge would short out the RW line, but we can actually solve this easily.

Basically we have a pull-up on the cartridge side. This will always pull-up the pin to 5 Volts. So what happens when a original cartridge is connected, that pin will be of course shorted down to GND. The resistor will limit the current to maybe 1mA or whatever. So there would be no problem to use existing cartridges.

Should a cartridge be used which now uses this RW signal, when the RW CPU goes high, the pull-up resistor will pull up the pin on the cartridge to 5Volts also. When the CPU sets RW low, the diode will pull down the cartridge side to GND.

Diode will isolate the CPU side RW from being shorted out when a older cartridge is used.
4MB STFM 1.44 FD- VELOCE+ 020 STE - 4MB STE 32MHz - STFM 16MHz - STM - MEGA ST - Falcon 030 CT60 - Atari 2600 - Atari 7800 - Gigafile - SD Floppy Emulator - PeST - HxC - CosmosEx - Ultrasatan - various clutter

https://www.exxoshost.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxoshost.co.uk/atari/last/storenew/ - All my hardware mods for sale - Please help support by making a purchase.

User avatar
Icky
Moderator
Moderator
Posts: 1210
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: Cartridge port adding RW...

Post by Icky » Tue Oct 16, 2018 8:03 am

Very simple idea.

Makes you wonder why Atari didn’t put a R/W line on the ROM port in the first place.

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

Re: Cartridge port adding RW...

Post by stephen_usher » Tue Oct 16, 2018 8:15 am

Icky wrote:
Tue Oct 16, 2018 8:03 am
Very simple idea.

Makes you wonder why Atari didn’t put a R/W line on the ROM port in the first place.
An interrupt line would have been nice too.
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
Icky
Moderator
Moderator
Posts: 1210
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: Cartridge port adding RW...

Post by Icky » Sun Nov 25, 2018 10:30 am

Have been thinking of making this mod on the STF Remake and use pin 38 as it seems to be the most logical one to use.

Enhanced Atari ST Cart Port.png
Enhanced Atari ST Cart Port.png (81.68 KiB) Viewed 921 times

User avatar
Smonson
Posts: 274
Joined: Sat Oct 28, 2017 10:21 am

Re: Cartridge port adding RW...

Post by Smonson » Sun Nov 25, 2018 11:14 am

exxos wrote:
Mon Oct 15, 2018 10:54 am
There was a brief talk over on AA last year about replacing the cartridge port with a super I/O port. There was of course mixed views about this.

Currently I am thinking the major problem with the port is lack of RW signal. So here is my proposed solution.

Pardon the crude drawing..
I might be misunderstanding something here, but that diode is only going to pull it down to about 0.7 volts minimum - if you want to interface that with some TTL ROMs, isn't that cutting it a bit fine?

User avatar
exxos
Site Admin
Site Admin
Posts: 7141
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Cartridge port adding RW...

Post by exxos » Sun Nov 25, 2018 12:04 pm

Smonson wrote:
Sun Nov 25, 2018 11:14 am
I might be misunderstanding something here, but that diode is only going to pull it down to about 0.7 volts minimum - if you want to interface that with some TTL ROMs, isn't that cutting it a bit fine?
Yes and no.. It depends on the spec of the diode. Some have drops as little as 0.2v. It also depends on current. A diode may well have 0.7v drop, but at what current ? May well be 1amp. If we assuming 1k resistor on 5v current that's just 5ma. Given the same diode its voltage drop may be just 0.4v.
4MB STFM 1.44 FD- VELOCE+ 020 STE - 4MB STE 32MHz - STFM 16MHz - STM - MEGA ST - Falcon 030 CT60 - Atari 2600 - Atari 7800 - Gigafile - SD Floppy Emulator - PeST - HxC - CosmosEx - Ultrasatan - various clutter

https://www.exxoshost.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxoshost.co.uk/atari/last/storenew/ - All my hardware mods for sale - Please help support by making a purchase.

User avatar
Smonson
Posts: 274
Joined: Sat Oct 28, 2017 10:21 am

Re: Cartridge port adding RW...

Post by Smonson » Sun Nov 25, 2018 12:07 pm

Thanks for the explanation! This is why I'm not an analogue guy... :)

User avatar
Icky
Moderator
Moderator
Posts: 1210
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: Cartridge port adding RW...

Post by Icky » Mon Nov 26, 2018 10:20 am

exxos wrote:
Sun Nov 25, 2018 12:04 pm
Smonson wrote:
Sun Nov 25, 2018 11:14 am
I might be misunderstanding something here, but that diode is only going to pull it down to about 0.7 volts minimum - if you want to interface that with some TTL ROMs, isn't that cutting it a bit fine?
Yes and no.. It depends on the spec of the diode. Some have drops as little as 0.2v. It also depends on current. A diode may well have 0.7v drop, but at what current ? May well be 1amp. If we assuming 1k resistor on 5v current that's just 5ma. Given the same diode its voltage drop may be just 0.4v.
Not sure if the calculations off the top of my head are wrong but I was thinking of a 4.7k resistor?

User avatar
exxos
Site Admin
Site Admin
Posts: 7141
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Cartridge port adding RW...

Post by exxos » Mon Nov 26, 2018 11:39 am

Icky wrote:
Mon Nov 26, 2018 10:20 am
Not sure if the calculations off the top of my head are wrong but I was thinking of a 4.7k resistor?
1K, 4.7K, 10K value not really much important.
4MB STFM 1.44 FD- VELOCE+ 020 STE - 4MB STE 32MHz - STFM 16MHz - STM - MEGA ST - Falcon 030 CT60 - Atari 2600 - Atari 7800 - Gigafile - SD Floppy Emulator - PeST - HxC - CosmosEx - Ultrasatan - various clutter

https://www.exxoshost.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxoshost.co.uk/atari/last/storenew/ - All my hardware mods for sale - Please help support by making a purchase.

Post Reply