Atari STe SD card reader on the Extended Joystick Port

Troubles with your machine? Just want to speak about the latest improvements? This is the place!

Moderators: Mug UK, Zorro 2, Greenious, spiny, Moderator Team

User avatar
Orion_
Atari Super Hero
Atari Super Hero
Posts: 519
Joined: Sat Jan 10, 2004 12:20 pm
Location: France
Contact:

Atari STe SD card reader on the Extended Joystick Port

Post by Orion_ »

Hello,
A friend of mine, Zerosquare had an original idea several years ago, about using a cheap SPI 5 volt SD card module that everyone uses on arduino, but now plugged on the Extended Joystick Port of the Atari STe (because this port provide 5 volts)
During the confinement, I had some time to work on it so I made a simple driver, like a ram disk by hooking the "hdv_bpb/hdv_rw" functions.
So you can browse your FAT16 SD card using the GEM desktop, you will need to run the "bigdos" utility at boot if you want to see big partitions up to 2Gbytes, else the TOS is limited to 32mbytes DOS partition.
You have a little demo here:
https://www.youtube.com/watch?v=2COG26-XjC0

and the driver here:
http://onorisoft.free.fr/atari/sdextjoy.zip

Since it's a cheap hardware and it use SPI "bit banging" (read one bit at a time using the 68k) the speed is pretty low, about 20kbytes/s
I'm working a on faster version, with writing capabilities, but it's barely faster (25kbytes/s)
There is nothing to buy from me, you just buy a cheap SD card 5volts SPI module from any arduino gadget reseller, plug it using the schematics provided in the zip file, boot the driver on a floppy in an AUTO folder, and voila.. (If you still want to donate and show support you can here )
I hope to work on a faster version with Zerosquare using the SD card on the cartridge port, but well, we will need another month or 2 of confinement ..
MM41
Captain Atari
Captain Atari
Posts: 154
Joined: Sun Jun 28, 2015 2:36 pm
Location: France

Re: Atari STe SD card reader on the Extended Joystick Port

Post by MM41 »

Great :D thanks Orion_ ,
User avatar
catmando
Atari God
Atari God
Posts: 1032
Joined: Tue Jan 24, 2006 9:56 pm
Location: London, UK

Re: Atari STe SD card reader on the Extended Joystick Port

Post by catmando »

Nice one, very neat idea
Atari Falcon Tos 4.04 | 14mb | IDE CF 2GB
Atari STE Tos 1.62 | 4mb | HxC Slim SD 8GB
Atari STE Tos 1.62/2.06 | 4mb | Floppy A-B Mod | IDE SD 4GB
Atari STFM
Android Devices (Running Hataroid and SToid)

Atari Forum Wiki - Use it before asking
User avatar
christos
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2531
Joined: Tue Apr 13, 2004 8:24 pm
Location: Greece

Re: Atari STe SD card reader on the Extended Joystick Port

Post by christos »

Great idea. Would this be able to be converted to run with bjl as well?
User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 13344
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Atari STe SD card reader on the Extended Joystick Port

Post by wongck »

wow really an original idea.
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff that are no longer for sale due to them over 30 years old - click here for list
User avatar
Atari030
Atari Super Hero
Atari Super Hero
Posts: 727
Joined: Mon Feb 27, 2012 6:14 am
Location: Melbourne, Australia

Re: Atari STe SD card reader on the Extended Joystick Port

Post by Atari030 »

I picked up one of these yesterday, seems to work on my Falcon. I think I have a bigdos problem sending the mouse and KB haywire, I'll try it on an STE as well and see. Its a pretty handy bit of kit, well done. :-)

https://www.jaycar.com.au/arduino-compa ... e/p/XC4386
User avatar
Cyprian
10 GOTO 10
10 GOTO 10
Posts: 2815
Joined: Fri Oct 04, 2002 11:23 am
Location: Warsaw, Poland

Re: Atari STe SD card reader on the Extended Joystick Port

Post by Cyprian »

cool project @Orion_
Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
mlynn1974
Atari Super Hero
Atari Super Hero
Posts: 620
Joined: Mon Mar 03, 2008 10:33 pm
Contact:

Re: Atari STe SD card reader on the Extended Joystick Port

Post by mlynn1974 »

That is a brilliant idea! It's hard to believe in this day of 32Gb memory sticks actually on an ST a 32Mb partition would be very useful.
Still got, still working: Atari 4Mb STe, 520STFM (x2), 2.5Mb STF, Atari 2600JR, Flashback 8 Gold.
Hardware: Cumana CSA 354, Ultimate Ripper, Blitz Turbo, Synchro Express II (US and UK Versions).
simonsunnyboy
Moderator
Moderator
Posts: 5568
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Re: Atari STe SD card reader on the Extended Joystick Port

Post by simonsunnyboy »

Very nice project idea.

Also these days many SPI driven ICs are available and in use. I think there are even more possibilities for hardware gadgets on the EJP.
Simon Sunnyboy/Paradize - http://paradize.atari.org/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
User avatar
Kelgors
Atarian
Atarian
Posts: 2
Joined: Mon Jun 29, 2020 10:35 am
Location: France

Re: Atari STe SD card reader on the Extended Joystick Port

Post by Kelgors »

Love it!

I bought quite the same sd card reader and it runs nicely with my 1024 STe on EmuTOS.
Thanks for your work.
Last edited by Kelgors on Tue Jun 30, 2020 5:16 pm, edited 1 time in total.
Atari 4Mb STe (EmuTOS 0.9.9.1) & 520STf
spiny
Disk Imager Supreme
Disk Imager Supreme
Posts: 2740
Joined: Mon Aug 11, 2003 11:53 pm
Location: just outside bristol
Contact:

Re: Atari STe SD card reader on the Extended Joystick Port

Post by spiny »

This is very neat :) Ordered some parts to make one.

Will write access ever be possible? My knowledge of the STe extended ports is low :)
Dal
Administrator
Administrator
Posts: 4215
Joined: Tue Jan 18, 2011 12:31 am
Location: Cheltenham, UK
Contact:

Re: Atari STe SD card reader on the Extended Joystick Port

Post by Dal »

https://gamesx.com/controldata/ejp_faq.htm

Section 10.1 suggests that it could be possible to write data 8bits wide across both ports.
STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's
qazuio
Atari freak
Atari freak
Posts: 66
Joined: Thu Sep 24, 2015 3:33 pm

Re: Atari STe SD card reader on the Extended Joystick Port

Post by qazuio »

Great project, super cheap and super cool, I was going to post yesterday about using maybe 4bit wide to increase speed but,

"https://gamesx.com/controldata/ejp_faq.htm

Section 10.1 suggests that it could be possible to write data 8bits wide across both ports."

It would be amazing if that were possible - could desolder the 2 ports and mount the module internally since there's very few uses for these ports.

Would need a micro controller to convert from parallel to serial and vice versa
Last edited by qazuio on Wed Jul 01, 2020 11:01 am, edited 1 time in total.
Dal
Administrator
Administrator
Posts: 4215
Joined: Tue Jan 18, 2011 12:31 am
Location: Cheltenham, UK
Contact:

Re: Atari STe SD card reader on the Extended Joystick Port

Post by Dal »

That's a nice solution - especially as the hole in the case for access to the card would already be there.
STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's
User avatar
Orion_
Atari Super Hero
Atari Super Hero
Posts: 519
Joined: Sat Jan 10, 2004 12:20 pm
Location: France
Contact:

Re: Atari STe SD card reader on the Extended Joystick Port

Post by Orion_ »

and where do you see 8bits pins on the SD card ? ...
qazuio
Atari freak
Atari freak
Posts: 66
Joined: Thu Sep 24, 2015 3:33 pm

Re: Atari STe SD card reader on the Extended Joystick Port

Post by qazuio »

"and where do you see 8bits pins on the SD card ? ..."

You don't, so that is where a dedicated micro controller or ic like MC74HC595A (I said like:-))))
Basically a shift register, for the nit pickers - I'm not advocating that I plan on making a working device - just ideas for a proof of concept, there's a lot of talented and knowledgeable electronics designers in the Atari community - if such a device were possible it wouldn't be long I'm sure before it came out.
I've ordered the SD card SPI module to have a go at the card reader idea that Orion_ posted since it looks so straightforward to put together - genius actually,
User avatar
Orion_
Atari Super Hero
Atari Super Hero
Posts: 519
Joined: Sat Jan 10, 2004 12:20 pm
Location: France
Contact:

Re: Atari STe SD card reader on the Extended Joystick Port

Post by Orion_ »

the idea was to make it cheap with parts that you can already buy.
otherwise I would have come up with something on the cartridge port
qazuio
Atari freak
Atari freak
Posts: 66
Joined: Thu Sep 24, 2015 3:33 pm

Re: Atari STe SD card reader on the Extended Joystick Port

Post by qazuio »

Dal wrote: Wed Jul 01, 2020 10:40 am https://gamesx.com/controldata/ejp_faq.htm

Section 10.1 suggests that it could be possible to write data 8bits wide across both ports.
Looking at the ejp faq suggests it may be possible to read/write 16bit wide data across both (possibly more)?
joska
Hardware Guru
Hardware Guru
Posts: 5373
Joined: Tue Oct 30, 2007 2:55 pm
Location: Florø, Norway
Contact:

Re: Atari STe SD card reader on the Extended Joystick Port

Post by joska »

Orion_ wrote: Thu Jul 02, 2020 4:48 pm the idea was to make it cheap with parts that you can already buy.
Why not a CH376S breakout board? It's cheap, has USB and an 8-bit parallell interface that you can connect directly to the jagpad-ports or printer-port. There's also a lot of easy to understand examples of how to use it out there.

It also supports HID devices, so you can add mouse/keyboard-support.
Jo Even

VanillaMiNT - Falcon060 - Milan060 - Falcon040 - MIST - Mega STE - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64
User avatar
Cyprian
10 GOTO 10
10 GOTO 10
Posts: 2815
Joined: Fri Oct 04, 2002 11:23 am
Location: Warsaw, Poland

Re: Atari STe SD card reader on the Extended Joystick Port

Post by Cyprian »

Nice finding @joska, it could be used for /|\ hardware without extended joystick port like ST/TT, and should be faster
Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
joska
Hardware Guru
Hardware Guru
Posts: 5373
Joined: Tue Oct 30, 2007 2:55 pm
Location: Florø, Norway
Contact:

Re: Atari STe SD card reader on the Extended Joystick Port

Post by joska »

I have a couple of these, I have tested it briefly on my Falcon but only via the serial port. It is very easy to access files on a USB-stick using this module. I have not tested HID at all.
Jo Even

VanillaMiNT - Falcon060 - Milan060 - Falcon040 - MIST - Mega STE - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64
dbsys
Atari Super Hero
Atari Super Hero
Posts: 750
Joined: Fri Aug 31, 2012 6:11 am
Location: Germany

Re: Atari STe SD card reader on the Extended Joystick Port

Post by dbsys »

Brilliant idea!
User avatar
1st1
Atari God
Atari God
Posts: 1188
Joined: Mon May 07, 2012 11:48 am

Re: Atari STe SD card reader on the Extended Joystick Port

Post by 1st1 »

It also should work over parallel printer port. There is such a solution in vcfed forum for IBM PCs, it only uses 3 signals. http://www.vcfed.org/forum/showthread.p ... OS-ver-1-1
Power without the Price. It's not a bug. It's a feature. _/|\_ATARI

1040STFM in PC-Tower (PAK68/2, OvrScn, 4 MB, 1GB SCSI, CD-ROM...) * 3x Falcon 030 * 3x TT030 * many 260 /520/1040ST(F)(M)(+) * 520/1040STE * many Mega ST * 2x Mega STE * Stacy * STBook * 2x SLM605 * 3x SLM804 * SMM804 * SH 204/205 * Megafile 30/44/60 * SF314 * SF354 * 5x Pofo * PC3 * ...
joska
Hardware Guru
Hardware Guru
Posts: 5373
Joined: Tue Oct 30, 2007 2:55 pm
Location: Florø, Norway
Contact:

Re: Atari STe SD card reader on the Extended Joystick Port

Post by joska »

Yes, it would work, but speed would not be impressive. The printer port tops out at around 100kb/s on fast machines, a lot less on an ST. Then divide this by eight, and then by three again when bit-banging SPI.
Jo Even

VanillaMiNT - Falcon060 - Milan060 - Falcon040 - MIST - Mega STE - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64
PlasticParty
Atariator
Atariator
Posts: 21
Joined: Sun Jul 12, 2020 8:21 am

Re: Atari STe SD card reader on the Extended Joystick Port

Post by PlasticParty »

Amazing work. Im looking forward to seeing one that can write as well. I understand that the speeds are slow but that is a small compromise to make considering how good a solution this is.
Post Reply

Return to “Hardware”