Click here to Skip to main content
15,887,214 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
W Balboos, GHB1-Jul-20 5:13 
GeneralRe: Thought of the Day Pin
jeron11-Jul-20 5:13
jeron11-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
Gary R. Wheeler1-Jul-20 7:54 
GeneralRe: Thought of the Day Pin
DRHuff1-Jul-20 9:18
DRHuff1-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
CodeWraith1-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
mveMike Hankey1-Jul-20 2:57 
GeneralRe: No sacrifice, no victory Pin
CodeWraith1-Jul-20 3:55
CodeWraith1-Jul-20 3:55 
GeneralRe: No sacrifice, no victory Pin
Mike Hankey1-Jul-20 4:03
mveMike Hankey1-Jul-20 4:03 
GeneralRe: No sacrifice, no victory Pin
CodeWraith1-Jul-20 4:14
CodeWraith1-Jul-20 4:14 
GeneralRe: No sacrifice, no victory Pin
Mike Hankey1-Jul-20 4:23
mveMike Hankey1-Jul-20 4:23 
GeneralRe: No sacrifice, no victory Pin
CodeWraith1-Jul-20 5:48
CodeWraith1-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
CodeWraith1-Jul-20 3:52 
GeneralRe: No sacrifice, no victory Pin
Kornfeld Eliyahu Peter1-Jul-20 3:56
professionalKornfeld Eliyahu Peter1-Jul-20 3:56 
GeneralRe: No sacrifice, no victory Pin
CodeWraith1-Jul-20 4:40
CodeWraith1-Jul-20 4:40 
GeneralRe: No sacrifice, no victory Pin
Kornfeld Eliyahu Peter1-Jul-20 6:47
professionalKornfeld Eliyahu Peter1-Jul-20 6:47 
GeneralRe: No sacrifice, no victory Pin
CodeWraith1-Jul-20 8:33
CodeWraith1-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
CodeWraith1-Jul-20 5:20 
GeneralRe: No sacrifice, no victory Pin
Mircea Neacsu1-Jul-20 6:21
Mircea Neacsu1-Jul-20 6:21 
GeneralRe: No sacrifice, no victory Pin
CodeWraith1-Jul-20 9:06
CodeWraith1-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.