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, spiny, Greenious, Moderator Team

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 »

Hi Orion and thank you for your work,

the first version worked like a charm for reading but this one not.
I use EmuTOS 0.9.12 (ROM) on my Atari STe 4mb.
I have the same problems as wietze.

Just some more info about my errors:

I tried to launch Maxymiser (bus error) or SYSINFO (Address error) but i got errors =/
Then from a reboot, i tried to display a text file. EmuTOS showed me 452 correct characters but after that, all characters are corrupted. I was able to close the file. I tried to reopen it, blank screen and sometimes screen artifacts.

The writting seems to work, i can copy files but i don't know if the copy is correct since i cannot run it or display it correctly.
Last edited by Kelgors on Fri Oct 09, 2020 11:15 am, edited 1 time in total.
Atari 4Mb STe (EmuTOS 0.9.9.1) & 520STf
User avatar
Orion_
Captain Atari
Captain Atari
Posts: 452
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 sources are available if an atari st system expert want to try to fix it.
it works fine on my STe with TOS 1.62
My retro games shop including Atari ST/Falcon/Firebee games ! -- Free Atari games/demos/tools -- Free Falcon demos/tools
Atari Mega STe 4MB + SD2SCSI 1GB + NOVA ET4000 + Pico PSU + Gotek HxC // Atari STe 2MB
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 »

I ordered a new 2Gb SD card (without any mention of SD HC), the read & write is working (yeeah !) with one partition of 32Mb. I've not tested with more for now.

Just more info if someone will be interested to fix:
My A: is accessible but it's not the floppy disk. I removed my physical floppy disk and try to copy a file in the A: window. It worked xD
After reboot & hook..., i found my file i write to this ghost floppy.
The file seems to be stored in the SD card but not in the 32Mb partition, i cannot see it in C: =/
When i change the SD card, the file is not visible anymore on the ghost floppy, when i put back my other SD Card, the file is back too.
In addition, when i try to update A: with Escape key, the window become blank on TOS. In EmuTOS v1, a Panic Bus Error pops up.
In TOS, if i open B:, it tells me to insert B: in A:, and then i see my current physical floppy.

Tested with EmuTOS v1 (PRG loaded from SD), EmuTOS v0.9.12 (ROM) & TOS 1.62 (ROM)
Atari 4Mb STe (EmuTOS 0.9.9.1) & 520STf
wietze
Captain Atari
Captain Atari
Posts: 342
Joined: Fri Mar 01, 2013 10:52 pm

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

Post by wietze »

I have gone through the sources a few times. In the newest version there are a few things that I find odd (like in the most recent version, some WAIT function is not implemented in read function), but I havent had the chance/time yet to go poking around in the code and give it a try. In the meanwhile, I have also ordered a `normal' SD card, to see if this works. If I compare the codepaths for SD and SDHC I dont see anything really different from comparing source codes.
yungjoon
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 130
Joined: Tue Aug 08, 2006 7:15 am
Location: France

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

Post by yungjoon »

Hi,

Before I buy one I would like to know if it is possible to run HD-fixed games (from klapauzius or pp pages), with it. Someone tried this ?

I have a stock 520 STe with tos 1.62 and writing disks from st/msa image is not simple.

Thanks.
joska
Hardware Guru
Hardware Guru
Posts: 4892
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 not tried this, but I would assume this would work, especially with Klaz' games. But this solution also makes it a lot easier to write MSA/ST-images to floppies since you now can do this on the ST itself.
Jo Even

VanillaMiNT - Falcon060 - Milan060 - Falcon040 - MIST - Mega STE - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64
yungjoon
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 130
Joined: Tue Aug 08, 2006 7:15 am
Location: France

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

Post by yungjoon »

Hi,

I received the reader but I don't manage to access any SD card.

My config:

- 1040 STe/TOS 1.6/Reader plugged in port A
- sdextjoy.prg in auto folder of the floppy I boot from.
- SD card with one 32MB FAT16 primary partition

At boot I have allways:

"SD card on Extended Joystick Port A
Original Idea and Help by Zerosquare
Driver v1.2b by Orion_ [2020]
SD init: error"

And no additionnal drive added. Same message when I boot without SD card in reader or when I plug the reader in port B or when the reader is not plugged.

I tried with a 512MB SD, with 4 32MB FAT16 primary partition (begining of freespace). No success.

Basically, Is there is a way to check if the reader is correctly detected ?

What have I to check when I format the SD?

Thanks...
User avatar
DoG
Captain Atari
Captain Atari
Posts: 195
Joined: Sun Apr 01, 2018 11:02 pm

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

Post by DoG »

yungjoon wrote: Fri Oct 23, 2020 5:05 pm ...
"SD card on Extended Joystick Port A
Original Idea and Help by Zerosquare
Driver v1.2b by Orion_ [2020]
SD init: error"
...
Is this cold boot? Try doing a reset and see if it is detected under a warm boot.
User avatar
Atari030
Atari Super Hero
Atari Super Hero
Posts: 641
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 »

Try a larger (different) card, I have an old 16MB card that refuses to detect. Also, try re-running the program from the desktop. It doesn't always work first time for me on either Falcon.
yungjoon
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 130
Joined: Tue Aug 08, 2006 7:15 am
Location: France

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

Post by yungjoon »

I tried with a 4GB with one 32MB partition, sdextjoy runs from auto at coldboot with SD init error. After, I re-run sdextjoy and it detects correctly the SD.

When I create a C: drive I can access it in read/write mode.

Strange that the simple 32MB or 512MB SD are not detected and the larger/newer 4GB SD is correctly detected.

Thanks for all your advice !

I tested 1GB partitions with bigdos, there are several bombs after bigdos execution and they are not correctly detected. I can access the first with the C: drive but can't write on it ("not enough memory to write this file" error). Information about the drive gives erratic characters.

I suspect bigdos not running correctly with only 1MB ram and/or Tos 1.6. The same bigdos runs correcly with my Falcon.
yungjoon
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 130
Joined: Tue Aug 08, 2006 7:15 am
Location: France

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

Post by yungjoon »

Hi,

I tested hd fixed games and they don't run from sd. I tried also games running from floppy (copied them on sd) with no success.

Someone else has tested that ?
User avatar
eightbitfix
Atarian
Atarian
Posts: 3
Joined: Sat Jan 02, 2021 11:23 pm
Location: Portland, Oregon

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

Post by eightbitfix »

Hello from new member, Paul Westphal! I have had mixed results with Peter Putniks's HD games. I am : 4mb STe TOS 2.06, 2mb Sd card. I boot from Bigdos AND SD Driver loaded into a Auto folder, off floppy. I tried the " Signals " demo .. transfer speed is not fast enough to play DMA music so it struggles. There is a bit of ram useage with the drivers, so Obsession can't load all the extra sounds, so i'll stick to floppy on that one. A " vulgar display of power " demo struggles with the music, but runs. Sea of Color demo.. no dice.. Bad Apple won't run because the transfer speed is so slow. SO.. anything that streams data of the Sd card like a hard drive is going to have problems, and programs ( not many ) that require 4mb ram will have problems with the driver RAM useage. The reason I did not use multi-partitioning is becasue I wanted simplicity in transferring files from the PC, which so far, works OK.
User avatar
Orion_
Captain Atari
Captain Atari
Posts: 452
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_ »

for those interested, this project might be better suited for speed and reliable access: using SD card, the ASCI port and an STM32 module
https://www.atari-forum.com/viewtopic.php?f=15&t=40007
My retro games shop including Atari ST/Falcon/Firebee games ! -- Free Atari games/demos/tools -- Free Falcon demos/tools
Atari Mega STe 4MB + SD2SCSI 1GB + NOVA ET4000 + Pico PSU + Gotek HxC // Atari STe 2MB
User avatar
MiggyMog
Atari Super Hero
Atari Super Hero
Posts: 928
Joined: Sun Oct 30, 2005 4:43 pm
Location: Scotland

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

Post by MiggyMog »

Nice
('< o o o o |''| STM,2xSTFM,2xSTE+HD,C-Lab Falcon MK2+HD,Satandisk,Ultrasatandisk,Ethernat.
masteries
Atari maniac
Atari maniac
Posts: 81
Joined: Thu Jul 16, 2015 4:05 pm

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

Post by masteries »

yungjoon wrote: Sun Nov 01, 2020 6:10 pm Hi,

I tested hd fixed games and they don't run from sd. I tried also games running from floppy (copied them on sd) with no success.

Someone else has tested that ?
This project is completely suitable for your purposes, HD fixed games run perfectly:

https://www.atari-forum.com/viewtopic.php?f=15&t=40007
User avatar
eightbitfix
Atarian
Atarian
Posts: 3
Joined: Sat Jan 02, 2021 11:23 pm
Location: Portland, Oregon

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

Post by eightbitfix »

Orion SD CARD READER - Tech Notes 1/17/2021 ** Updated 2/19/2021 **

GETTING IT TO RUN :
- I'm Running Window's 10 with an internal 3.25 floppy drive. I formatted a quality 2GB SD card With the PC, FAT . I would not use larger capacity SD cards. Larger one's MIGHT be better for the partition method - more on that later...
- I created a new folder on my Win10 PC named "AUTO". I Wrote bigdos.prg AND Orion's driver's to the AUTO folder.
- I wrote the AUTO folder to a Pre-Atari formatted, 720k floppy disk. I have been told extenal USB floppy drives will not work with Win10. External USB floppy drives might work with Win XP. - Not sure yet. Note : There were two sets of drivers provided;The newer drivers DO work and initiate faster.

BIGDOS VS. PARTITION METHOD :
There are two ways of setting up the SD card. I chose Bigdos because I have window's 10 and I thought it would be difficult to read multiple partitions. I just wanted to get it running first. Supposedly, Win XP is better at recognizing multiple partitions.

Atari 4mb TOS 2.06 STe power on : It loads bigdos.prg, then Orion's Sd card drivers. Both programs take up approximatly 56kb in the AUTO folder so I assume it takes up close to that in ST RAM, I'm not sure. At desktop, you will see a "C " HD icon to work from. With bigdos, you can just drag and drop files from Win10 to the SD card as it is one, big, happy partition. ;) Keep in mind when using the Bigdos method, there is more overhead in ram. You can discount games or demo's that require 4mb ram at this point. The Bad Apple demo notes that it has problems with Bigdos so you can assume some other programs do as well. Further testing has told me that the multi-partition method might give less problems in general. Which brings me to :

THE RESULTS SO FAR :

- It Makes The STe OrionSD a GREAT - " MINI-MOD PLAYER " !! You can store many MOD files on the SD. They load complteley into ram, so there is no transfer rate issues, plus it may load a tad faster than a floppy. I put all the MOD songs into one folder and My MOD player ( I suggest oszi ) in another, so it won't be hard to find, mixed up with all the MOD files. Pretty cool use.

- ** GemBench Findings ( with Bigdos ) : Gem display box takes a 2% hit / Blitter takes a 2% hit / VDI Enquire takes a 2% hit !! **

- The STe Orion SD is an excellent, inexpensive way for a developer to implement code on the STe. One hangup would be that it uses Jagport one so games that use the Jagpad would have to use port 2, if they aren't programmed to already.
- I have been using Peter Putnik's HD versions. I'm having mixed results so far and I blame Bigdos.
- The SD Card seems to transfer data a little faster than a floppy - 20 to 25bps. Partition method might be faster..
- Any program that can load all it's data in RAM will be fine. Constant DMA fetching is sketchy - hardware limitation.
- Obsession won't load all the exta sounds because of the driver overhead, but runs. I'll stick to the floppy version in which I get all the bells and whistles.
- Sea of Color Demo - NO GO. RAM overhead and transfer rate issues.
- Bad Apple Demo : NO GO. Transfer rate. The Demo notes state that bigdos is the problem.
- Maxymiser works.
- Vulgar Display of Power Demo : Plays weird. There are graphical issues and timing issues with DMA sound.
- The reader does have space limitations. If I put too much on it it boots with the error - ... " trying to execute from --- instead.. " then freezes up at Atari Boot screen. I forget what the limit in bigdos is... probably 32mb.
- Super Stardust - Tries to load but returns to a functional blue desktop.
- Lethal Excess runs.
- The " Signals " Demo ( STe version, of course ) has trouble with the DMA sound, as, for some reason, does not load ALL the audio file into RAM for playback, so transfer rate again rears it's ugly head.. OR it's bigdos getting in the way again.
- One Word High Res Demo runs.
- Cannot delete SD files from the desktop. Has to be from PC. Will try the newer Driver.
- Tried the Drivers without bigdos. NOPE. - Have to partition it.
- Addams Family - Freezes up.
- Dungeon Master DMA - Runs!

** Update 2/19/2021 ** Multi-Partition Method - ease of use -
I found Peter Putnik's disk image and wrote it to an SD card with win32diskImager. The image has three partitions, but the device only sees what's in the main one because of bigdos. window's 10 DOES see all three partitions and I CAN write to them. Gamex games seem to run better than other versions on this device. This information is useful for the upcoming Antonio's SD card HD interface. I'm pretty sure most versions of games will be more compatible with those drivers. ODDITY : Some games do not see the joystick and you can only fire with the mouse.. I think this is due to the ports gettting mixed up. This too should be fixed with Antonio's new device + drivers.
I tried to copy the one hard drive desktop icon to match the other two partitions (F, G ) and save the preferences, but it froze up and tanked the SD card. I'm in the process of trying to rescue the SD card.

SD Card Speeds- The higher the class of Micro SD Card you use, the better the transfer rate. Most cards are rated for their write speed .. I think this goes hand in hand with read speed.
Post Reply

Return to “Hardware”