Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Tree [r9] /
History



File Date Author Commit
lfsedit 2010-02-02 somerhino [r6] Added graphics module
LameOs.asm 2010-02-05 somerhino [r9] Added SquareDodge, the ultimate in computer ent...
LameOs.filesystem 2010-01-31 somerhino [r3] Added file system editor
LameOs.filesystemBackup 2010-02-05 somerhino [r9] Added SquareDodge, the ultimate in computer ent...
LameOs.img 2010-02-05 somerhino [r9] Added SquareDodge, the ultimate in computer ent...
LameOsFS.asm 2010-01-30 somerhino [r1] Initial check in.
LameOsGfx.asm 2010-02-05 somerhino [r9] Added SquareDodge, the ultimate in computer ent...
README.txt 2010-01-30 somerhino [r1] Initial check in.
buildLameOs 2010-01-30 somerhino [r1] Initial check in.
extractFs 2010-01-30 somerhino [r1] Initial check in.
formatFs 2010-01-30 somerhino [r1] Initial check in.
testLameOs 2010-01-30 somerhino [r1] Initial check in.

Read Me

x86 OS that runs in 16-bit real mode - Clint Caywood

build with:
	./buildLameOs
Building automatically backs up the current file system to 
LameOs.filesystemBackup.

LameOs.asm contains the system code

LameOs.filesystem contains the filesystem

./formatFs clears the filesystem

./extractFs extracts the filesystem from the image files so future builds
will preserve any changes made by the OS



File System: 2848 blocks, each 512 bytes each
	Block 0: File system meta data 
        Bit 0 corresponds to block 2 of filesystem, and so forth

        Contains 356 bytes of this data
        Byte 357 contains the number of files in the filesystem.
    Block 1: File table
        File entries are composed of an 8-byte file name and a 2-byte
        block address (relative to the first FILESYSTEM block- not OS block)
        
        Therefore, the file table (and file system) can contain up to 51 files 
    Blocks 2 through 2848: File data

Fileblock:
    Contains array of 16-bit words, each of which reference a file data block.
    Files therefore can be a maximum of 256 blocks (131072 bytes)