Click here to Skip to main content
14,665,866 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Thought of the Day Pin
W Balboos, GHB1-Jul-20 5:13
mveW Balboos, GHB1-Jul-20 5:13 
GeneralRe: Thought of the Day Pin
jeron11-Jul-20 5:13
Memberjeron11-Jul-20 5:13 
GeneralRe: Thought of the Day Pin
Slacker0071-Jul-20 5:13
professionalSlacker0071-Jul-20 5:13 
GeneralRe: Thought of the Day Pin
DerekT-P1-Jul-20 6:01
professionalDerekT-P1-Jul-20 6:01 
GeneralRe: Thought of the Day Pin
Gary R. Wheeler1-Jul-20 7:54
MemberGary R. Wheeler1-Jul-20 7:54 
GeneralRe: Thought of the Day Pin
DRHuff1-Jul-20 9:18
MemberDRHuff1-Jul-20 9:18 
GeneralRe: Thought of the Day Pin
OriginalGriff1-Jul-20 20:22
mveOriginalGriff1-Jul-20 20:22 
GeneralNo sacrifice, no victory Pin
CodeWraith1-Jul-20 2:22
MemberCodeWraith1-Jul-20 2:22 
Accessing a hard disk with an 8 bit processor is a slow affair. No matter how modern that drive may be, you will never get your bytes faster than the processor and the bus can shovel them in.

Serial ATA is no option, simply because my UART and the bus can't keep up with the minimum bit rate. Not by a long shot.

Ok, then it's good old parallel ATA/IDE. The problem here is that even the oldest specification requires a 16 bit data bus. You can use it with an 8 bit bus, but then the upper 8 bits of every 16 bit word would be wasted. You would lose half of your drive's capacity. Since this was last seen on old IBM XT era computers, I also doubt that any reasonably modern file system can live with that.

A common way around this is to put a parallel port between the processor and the drives. That solves the 16 bit problem, but then things get really slow. The processor is more busy with the port's control and data registers than actually sending or receiving bytes. Remember the C64's floppy drives? That sort of slow.

Now, it looks like my little processor's bus is compatible with the drives' controllers. I might even get it to work in DMA mode, speeding up things instead of slowing them down. And I would waste half of the drive's space.

So, what option should I go for? And what file system should I use? FAT16 (or similar) would be the minimum, better FAT32.
I have lived with several Zen masters - all of them were cats.

His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

GeneralRe: No sacrifice, no victory Pin
Mike Hankey1-Jul-20 2:57
professionalMike Hankey1-Jul-20 2:57 
GeneralRe: No sacrifice, no victory Pin
CodeWraith1-Jul-20 3:55
MemberCodeWraith1-Jul-20 3:55 
GeneralRe: No sacrifice, no victory Pin
Mike Hankey1-Jul-20 4:03
professionalMike Hankey1-Jul-20 4:03 
GeneralRe: No sacrifice, no victory Pin
CodeWraith1-Jul-20 4:14
MemberCodeWraith1-Jul-20 4:14 
GeneralRe: No sacrifice, no victory Pin
Mike Hankey1-Jul-20 4:23
professionalMike Hankey1-Jul-20 4:23 
GeneralRe: No sacrifice, no victory Pin
CodeWraith1-Jul-20 5:48
MemberCodeWraith1-Jul-20 5:48 
GeneralRe: No sacrifice, no victory Pin
Daniel Pfeffer1-Jul-20 3:06
professionalDaniel Pfeffer1-Jul-20 3:06 
GeneralRe: No sacrifice, no victory Pin
CodeWraith1-Jul-20 3:52
MemberCodeWraith1-Jul-20 3:52 
GeneralRe: No sacrifice, no victory Pin
Kornfeld Eliyahu Peter1-Jul-20 3:56
mveKornfeld Eliyahu Peter1-Jul-20 3:56 
GeneralRe: No sacrifice, no victory Pin
CodeWraith1-Jul-20 4:40
MemberCodeWraith1-Jul-20 4:40 
GeneralRe: No sacrifice, no victory Pin
Kornfeld Eliyahu Peter1-Jul-20 6:47
mveKornfeld Eliyahu Peter1-Jul-20 6:47 
GeneralRe: No sacrifice, no victory Pin
CodeWraith1-Jul-20 8:33
MemberCodeWraith1-Jul-20 8:33 
GeneralRe: No sacrifice, no victory Pin
englebart2-Jul-20 3:37
professionalenglebart2-Jul-20 3:37 
GeneralRe: No sacrifice, no victory Pin
Storm-blade1-Jul-20 4:26
professionalStorm-blade1-Jul-20 4:26 
GeneralRe: No sacrifice, no victory Pin
CodeWraith1-Jul-20 5:20
MemberCodeWraith1-Jul-20 5:20 
GeneralRe: No sacrifice, no victory Pin
Mircea Neacsu1-Jul-20 6:21
MemberMircea Neacsu1-Jul-20 6:21 
GeneralRe: No sacrifice, no victory Pin
CodeWraith1-Jul-20 9:06
MemberCodeWraith1-Jul-20 9:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.