exxos IDE interface (untested)

New sub forum for version 2 of the STF remake board.
User avatar
Icky
Trusted Guru
Trusted Guru
Posts: 877
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: exxos IDE interface (untested)

Post by Icky » Sat Dec 29, 2018 7:44 pm

terriblefire wrote:
Sat Dec 29, 2018 6:07 pm
We went through enormous pain on the TF328 to make every CF card work. You can use the code for that

https://github.com/terriblefire/tf328/b ... /rtl/ata.v
Thanks terriblefire I'll take a look.

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

Re: exxos IDE interface (untested)

Post by exxos » Sun Dec 30, 2018 1:54 am

Icky wrote:
Sat Dec 29, 2018 6:04 pm
Looks like it was something simple but painstakingly annoying to find. The IDE 40 - 44 convertor block is broken it was not providing power correctly and a few other pins were not working.

Am currently rewiring another IDE cable in place. I probably will find something else wrong with it knowing my luck.
Ahh that sux :( the joys of testing stuff I guess :)
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
Trusted Guru
Trusted Guru
Posts: 877
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: exxos IDE interface (untested)

Post by Icky » Sun Dec 30, 2018 8:38 am

exxos wrote:
Sun Dec 30, 2018 1:54 am
Icky wrote:
Sat Dec 29, 2018 6:04 pm
Looks like it was something simple but painstakingly annoying to find. The IDE 40 - 44 convertor block is broken it was not providing power correctly and a few other pins were not working.

Am currently rewiring another IDE cable in place. I probably will find something else wrong with it knowing my luck.
Ahh that sux :( the joys of testing stuff I guess :)
Indeed. This is what happens when scavenging old kit for parts. There is often a reason why it stopped working in the first place.

User avatar
Icky
Trusted Guru
Trusted Guru
Posts: 877
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: exxos IDE interface (untested)

Post by Icky » Wed Jan 16, 2019 10:56 pm

A small update as not much Atari work was done over the Christmas period.

Thanks to Exxos for sending the dev-board to help with testing this out. Have been working with Exxos on the PLD and other items and last night I finally finished off the wiring of the board and it is a lot neater than that big mess-o-wires of a breadboard version.

First switch on and the drive spins up, the ST is alive and there is no smoke.

The ST drops to the desktop and the floppy is not read. Attempting to read the floppy comes up with the retry dialog box.

Well this was the first attempt so I need to check the circuit, PLD and other things out.

IMG_3506.jpg
IMG_3506.jpg (234.6 KiB) Viewed 278 times

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

Re: exxos IDE interface (untested)

Post by exxos » Thu Jan 17, 2019 3:46 pm

I am slightly confused over the CS0 and CS1 signals which are linked to A5.

According to the ATA spec, they are used to select upper or lower 8bit bank select in the drive. Fair enough.. but the CPU has a 16bit bus, so why doesn't the data transfer as a 16bit block ?!

The CPU would actually have to do 2 bus cycles I assume to change the A5 for upper and lower 8bits ? Would seem a bit pointless having a 16bit drive and interface, and yet its looking like its driven as a 8bit device :shrug:

EDIT:

I think half the confusion is coming from this site...
http://blog.retroleum.co.uk/electronics ... interface/

It says
When /CS0 goes low, registers 0-7 are accessed, and when /CS1 goes low 8-15 are accessed.
Then later says.
Tip: You typically dont need to access IDE registers 8 to 15 so /CS1 can just be pulled high via a resistor.
So I am assuming the transfer is actually 16bit and CS1 may not actually get used for anything...

EDIT2:

OK http://citeseerx.ist.psu.edu/viewdoc/do ... 1&type=pdf
Chip Select (CS0:1) - Selects the command block or control block registers.
Why couldn't some site or document have actually just said that :roll:
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
rpineau
Site Admin
Site Admin
Posts: 442
Joined: Thu Aug 17, 2017 6:08 pm
Location: USA
Contact:

Re: exxos IDE interface (untested)

Post by rpineau » Thu Jan 17, 2019 6:12 pm

Do not mistake register number to data bit on the bus
Register 0 to 7 are 16 bit register, and so are register 8 to 15 and they are accessed as 16 bit registers even if only the lower 8 bit contain actual data for some register.
So CS0 and CS1 select the register bank, not the bus width.
Working ones : MegaSTE (68020) / TT030 / Falcon with AB040 & Eclipse / 1040STF
Need testing : Falcon with CT2

User avatar
Icky
Trusted Guru
Trusted Guru
Posts: 877
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: exxos IDE interface (untested)

Post by Icky » Mon Jan 28, 2019 11:40 pm

Small update:

We have been playing with a DEV IDE board and have had the IDE interface being recognised using the PLD circuit we have been tweaking.

st-ide.jpg
st-ide.jpg (146.77 KiB) Viewed 154 times

Now we are moving onto a more final version that will also have TOS 2.06 Rom onboard.

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

Re: exxos IDE interface (untested)

Post by exxos » Mon Jan 28, 2019 11:42 pm

exxos really like that board! :bravo:
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.

Forgottenmyname
Trusted Guru
Trusted Guru
Posts: 927
Joined: Fri Mar 23, 2018 8:22 pm

Re: exxos IDE interface (untested)

Post by Forgottenmyname » Tue Jan 29, 2019 11:53 am

Sign me up already :D

User avatar
rubber_jonnie
Moderator
Moderator
Posts: 814
Joined: Thu Aug 17, 2017 7:40 pm
Location: Essex
Contact:

Re: exxos IDE interface (untested)

Post by rubber_jonnie » Tue Jan 29, 2019 12:22 pm

Oooh, nice.
Collector of old Atari things:
800XL + Ape Warp mod, 2x 1010 cassette, 1050 + Happy mod, 65XE (128k) & XC12, SIO2SD, 2600jr, 7800 and Lynx II
Atari 520ST (1Meg) + Gotek, 1040STFM + Vortex ATOnce + Gotek, 1040STF long button floppy, 4160 STE with Gotek and ROM switcher, 4160STE with 32Mhz booster, ROM switcher and CosmosEx, not to mention various bare ST boards for testing including a PAK 68/2 :)
Plus the rest..
Amiga stuff, Mac stuff, Sinclair stuff etc...
www.electronicnothingness.co.uk

Post Reply