flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Two quick questions!

Author
Thread Post new topic Reply to topic
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
rhyno_dagreat
Hey y'all! I got two quick questions.

1. What is the definition of a filesystem, and how does it work? I'd like to make a very simple one for my OS and I have seen various examples, but none I have seen so far make that much sense except for (believe it or not) that one guy's tiny 16-bit mode OS that came in here a couple of weeks or so ago.

2. What's the layout of a COM executable, and how can I get them to be readable by my OS?

Thanks for your alls time!

-Rhyno
Post 22 Oct 2006, 00:56
View user's profile Send private message Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
rhyno_dagreat
BTW, the guy's name was kuscsikp, and it was his 512 byte OS.
Post 22 Oct 2006, 03:25
View user's profile Send private message Reply with quote
smiddy



Joined: 31 Oct 2004
Posts: 559
smiddy
1. I recommend looking up FAT 12/16 to get an idea of hat they are about.

2. COM files are flat binary executables, you would just load them at a specific location and jmp to that location to run it. (Ussually in realmode they are at and offset of 100h from the segment they are loaded).
Post 22 Oct 2006, 06:27
View user's profile Send private message Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
rhyno_dagreat
Thanks smiddy!
Post 22 Oct 2006, 06:32
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.