Click here to Skip to main content
15,900,724 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 Weak Pin
MacSpudster5-Apr-18 4:22
professionalMacSpudster5-Apr-18 4:22 
GeneralRe: Thought of the Weak Pin
Richard MacCutchan5-Apr-18 4:36
mveRichard MacCutchan5-Apr-18 4:36 
GeneralRe: Thought of the Weak Pin
PIEBALDconsult5-Apr-18 4:57
mvePIEBALDconsult5-Apr-18 4:57 
GeneralRe: Thought of the Weak Pin
MacSpudster5-Apr-18 5:13
professionalMacSpudster5-Apr-18 5:13 
GeneralRe: Thought of the Weak Pin
Richard MacCutchan5-Apr-18 6:11
mveRichard MacCutchan5-Apr-18 6:11 
GeneralRe: Thought of the Weak Pin
Dr.Walt Fair, PE5-Apr-18 6:42
professionalDr.Walt Fair, PE5-Apr-18 6:42 
GeneralRe: Thought of the Weak Pin
Richard MacCutchan5-Apr-18 4:36
mveRichard MacCutchan5-Apr-18 4:36 
GeneralHow to implement file system on 8 bit computer? Send codez plz! Pin
CodeWraith5-Apr-18 3:39
CodeWraith5-Apr-18 3:39 
I always wanted to ask such a *smart* question, especially right here. I will take care of the codez myself, but I need an idea, which file system to use once I get this working.

I'm building my own IDE/ATA port. The hardware part is almost too easy: A Intel 8255 parallel I/O port provides 24 I/O lines, enough for the ATA interface. Let's keep everything in CMOS, so it's going to be the 82C55. Hooking this up to the processor's bus is nothing special. It will get one of my chip selects and a 16 byte address space for memory mapped I/O.

So far, so good.

Now I have downloaded the ATA specifications. Bla, bla, bla, data registers, bla, bla, bla, status register, bla, bla, bla, command register...., bla, bla, bla, cylinders, heads, sectors, bla, bla, bla, or better use LBA mode...

It all comes down to setting up the 8255 to read or write 512 byte sectors from or to the disks, a 16 bit word at a time. Does not sound so hard. Let's add in some status and error checking.

Now comes the really tough part: Up to here I can identify the connected drives, read sectors and write sectors. I need a file system. This simple ATA interface can support drives up to 128 GB. FAT16 or FAT32 would not be sufficient and I would not really enjoy implementing something as FAT as NTFS (pun intended) on a 8 bit computer.

Any ideas for a lightweight alternative?

Edit: FAT32 may work, but then I would have to partition the drives into up to four partitions of max. 32 GB each.
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: How to implement file system on 8 bit computer? Send codez plz! Pin
OriginalGriff5-Apr-18 4:00
mveOriginalGriff5-Apr-18 4:00 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
CodeWraith5-Apr-18 4:08
CodeWraith5-Apr-18 4:08 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
OriginalGriff5-Apr-18 4:11
mveOriginalGriff5-Apr-18 4:11 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
CodeWraith5-Apr-18 4:26
CodeWraith5-Apr-18 4:26 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
OriginalGriff5-Apr-18 4:40
mveOriginalGriff5-Apr-18 4:40 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
CodeWraith5-Apr-18 4:49
CodeWraith5-Apr-18 4:49 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
OriginalGriff5-Apr-18 4:56
mveOriginalGriff5-Apr-18 4:56 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
CodeWraith5-Apr-18 5:01
CodeWraith5-Apr-18 5:01 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
OriginalGriff5-Apr-18 5:15
mveOriginalGriff5-Apr-18 5:15 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
lopatir5-Apr-18 4:13
lopatir5-Apr-18 4:13 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
CodeWraith5-Apr-18 4:29
CodeWraith5-Apr-18 4:29 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
den2k885-Apr-18 4:22
professionalden2k885-Apr-18 4:22 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
CodeWraith5-Apr-18 4:35
CodeWraith5-Apr-18 4:35 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
lopatir5-Apr-18 6:21
lopatir5-Apr-18 6:21 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
Kirk 103898216-Apr-18 4:28
Kirk 103898216-Apr-18 4:28 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
lopatir6-Apr-18 6:54
lopatir6-Apr-18 6:54 
GeneralRe: How to implement file system on 8 bit computer? Send codez plz! Pin
Kirk 103898216-Apr-18 7:22
Kirk 103898216-Apr-18 7:22 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   494 votes