flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Second-Stage Loader before File System? |
Author |
|
revolution 28 Aug 2009, 02:03
Well usually I am afraid to say anything here, but since you say "don't be afraid" then I will make a comment.
Basically, it doesn't matter what you do when you start your OS. It all depends upon how you have structured it. If you find that putting a "second-stage" loader before something else to be useful to aid your development then go ahead and do it. You have nothing to lose by trying. No one else can tell you that it is bad, or good, since no one else but you knows what your OS even does or how it works. |
|||
28 Aug 2009, 02:03 |
|
cod3b453 28 Aug 2009, 13:15
I've also planned to do it that way both for simplicity and allowing me to have code to debug any FS problems.
|
|||
28 Aug 2009, 13:15 |
|
Mac2004 28 Aug 2009, 13:43
|
|||
28 Aug 2009, 13:43 |
|
dosin 28 Aug 2009, 13:59
Quote: Second-Stage Loader before File System If your using a floppy disk for testing.. should be fine only would cause a little less space on what all ready has limited space.. using a floppy disk every bit counts.. but you could code it to have a multi boot sys.. loads your OS on the floppy or if keypress load the mbr off the hd... but could all be done by removing the floppy..but would be good to learn how to boot your OS and how other OS boot.. For testing I made a multi boot system for a floppy but does not boot the floppy .. it boots the HD ... either windows or my os.. I am still working on a new file system.. but like rev... stated - its your os.. you are in control of how it loads.. but one advandage of just using the Fat is that other OS can read it.. so just copy and past your updated kernel and go .. versus using a tool to format every time you make a change.. your floppies will last longer.. |
|||
28 Aug 2009, 13:59 |
|
neville 29 Aug 2009, 02:12
Maybe it's not so much the OS but the particular application you're running that decides what is accessible. For example I use DEBUG a lot for reading and writing disk sectors. However all of the Microsoft versions of DEBUG supplied with MSDOS or Windoze are annoying because they refuse to access any media without a valid FAT and the so-called BIOS Parameter Block (BPB). They also check that their own "version" matches the OS version for no apparent reason other than to be a pain. I discovered that the DR-DOS version of DEBUG contains no limitations and is quite happy to read/write disk sectors on non-FAT disks, even disks without the BPB, and when running under any version of DOS or Windoze!
An excellent 32-bit version of DEBUG, David Lindauer's "Get Real DeBugger" GRDB also has no such limitations when running under DOS. It even has support for Flat Real Mode and PCI bus access so I've used it extensively _________________ FAMOS - the first memory operating system |
|||
29 Aug 2009, 02:12 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.