Search found 553 matches

by Smonson
Fri Jul 24, 2020 3:28 pm
Forum: ELECTRONICS
Topic: PCB manufacturing and software recommends
Replies: 23
Views: 9445

Re: PCB manufacturing and software recommends

I've used Kicad for all my projects, and either Seeed Studio or Itead for PCBs... https://pcbshopper.com/ tells you who's the cheapest including shipping.
by Smonson
Fri Jul 24, 2020 1:54 am
Forum: HARDWARE DISCUSSIONS
Topic: Smonson's untitled simple harddisk project
Replies: 45
Views: 19932

Re: Smonson's untitled simple harddisk project

After fixing a few bugs and implementing some more ACSI commands (such as MODE SENSE page code 0) I can get it to recognise the partitions are there and even assign drive letters to them. I can't use the drives yet because there's a problem in my SD card handling routines. So I have 2 tasks to do no...
by Smonson
Mon Jul 20, 2020 2:07 pm
Forum: HARDWARE DISCUSSIONS
Topic: Smonson's untitled simple harddisk project
Replies: 45
Views: 19932

Re: Smonson's untitled simple harddisk project

Note that on TOS 1.0x you have to first select an existing drive icon (e.g. floppy drive) by clicking on it before the menu option becomes active. ...well, that's clearly a ridiculous UI decision! Unfortunately I wasn't able to test this again tonight because I've done tons of refactoring in the me...
by Smonson
Sun Jul 19, 2020 11:56 pm
Forum: HARDWARE DISCUSSIONS
Topic: Smonson's untitled simple harddisk project
Replies: 45
Views: 19932

Re: Smonson's untitled simple harddisk project

Do you say that microcontrollers interrupts are not quick enough to handle this protocol? Yup, at least for an ATMega328. For example, the commands are sent using a series of short pulses 250nS in length. It's necessary to toggle an output pin within 30nS of the beginning of that pulse, then read 9...
by Smonson
Sun Jul 19, 2020 11:45 pm
Forum: HARDWARE DISCUSSIONS
Topic: Smonson's untitled simple harddisk project
Replies: 45
Views: 19932

Re: Smonson's untitled simple harddisk project

At first glance I'd agree that this looks like a proper root sector. So, just to avoid any misunderstanding: If you reboot with this harddisk, then load AHDI (from floppy), you don't get any hard disk drive letters C: etc.? (Note that with some TOS versions they might not appear automatically as ic...
by Smonson
Sun Jul 19, 2020 12:35 pm
Forum: HARDWARE DISCUSSIONS
Topic: Smonson's untitled simple harddisk project
Replies: 45
Views: 19932

Re: Smonson's untitled simple harddisk project

Yeah, it's not the ACSI FORMAT command I'm really talking about here (which does nothing in my implementation) but the bad blocks check, which writes and then reads every sector of the drive. I checked the first 8 sectors and they have stuff in them that looks like a TOS partition table in a hex edi...
by Smonson
Sun Jul 19, 2020 8:40 am
Forum: HARDWARE DISCUSSIONS
Topic: Smonson's untitled simple harddisk project
Replies: 45
Views: 19932

Re: Smonson's untitled simple harddisk project

Thanks @czietz. I guess that means there's something wrong with the data on the disk itself.
by Smonson
Sun Jul 19, 2020 3:18 am
Forum: HARDWARE DISCUSSIONS
Topic: Smonson's untitled simple harddisk project
Replies: 45
Views: 19932

Re: Smonson's untitled simple harddisk project

So, I think I got this all pretty close to working... I still need to speed up the SD card transfers because there's a 3-second timeout on ACSI transfers, after which the operation gets aborted. And of course the AHDI drivers insist on doing 128-sector bursts which is too many for most of my SD card...
by Smonson
Sat Jul 18, 2020 7:23 am
Forum: HARDWARE DISCUSSIONS
Topic: Smonson's untitled simple harddisk project
Replies: 45
Views: 19932

Re: Smonson's untitled simple harddisk project

Phew! After implementing that geometry page thing, plus read, write, and format, I can format the device in the AHCI drivers now (with 100% bad sectors). ICD Pro doesn't work at all. I think it's set up to only work with SCSI drives. I set it up with 1 head, 10 sectors per track, and 8 tracks but th...
by Smonson
Sat Jul 18, 2020 12:39 am
Forum: HARDWARE DISCUSSIONS
Topic: Smonson's untitled simple harddisk project
Replies: 45
Views: 19932

Re: Smonson's untitled simple harddisk project

See page 460 of this document (Rigid drive geometry parameters page, 0x04h ): https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwjay6ea7dTqAhWSUMAKHeBfCK4QFjABegQIBxAB&url=https%3A%2F%2Fwww.seagate.com%2Ffiles%2Fstaticfiles%2Fsupport%2Fdocs%2Fman...

Go to advanced search