Creating DOS - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Creating DOS

NitroAtomNitroAtom Posts: 12Member
I really want to create my own MS-DOS, I know I have the programming knowledge I just don't know where to start, so I'm asking for any resources anyone has. Possibly even create a new fileing system just for fun.

«1

Comments

  • melissa_may1melissa_may1 Posts: 937Member
    : I really want to create my own MS-DOS, I know I have the programming knowledge I just don't know where to start, so I'm asking for any resources anyone has. Possibly even create a new fileing system just for fun.
    :

    Hi!

    Quite a project you're planning!

    If you want it to be compatible with MS-DOS, you'll need to start out by finding out how the boot process works. Reading the MBR, boot record, partition table, etc. will all have to be done.

    I wrote a description of the DOS boot process, and posted it in the BASIC forum here at Programmer's Heaven. Take a look at it. It's something to start with.

    This is not an impossible job, but it is a big one. Some years ago, I disassembled a floppy disk format program (manually), commented it, made some modifications to it, and re-assembled it. It actually worked!

    That was a good lesson in DOS internals, since I had to learn about writing the boot sectors, and creating the directory.

    Have fun with your project! Post back, and let us know how it's going.

    Melissa


  • DrychtnathDrychtnath Posts: 12Member
    Isn't it hard to create your own MS-DOS? Dosn't that have to be made by MicroSoft (MS)??? Jus wondering...

    Cheers;)
  • melissa_may1melissa_may1 Posts: 937Member
    Hi!

    : Isn't it hard to create your own MS-DOS?

    Well, legally you cannot "create" MS-DOS, since it already exists. But you can create an OS which is fully compatible with MS-DOS.

    Dosn't that have to be made by MicroSoft (MS)??? Jus wondering...

    Again, MS-DOS is a Microsoft product. But others have created compatible DOS systems. PC-DOS, which was originally by Microsoft, eventually was taken over by IBM, and developed separately.

    And Digital Research had their version, called DR-DOS, which was MS-DOS compatible. So, it can be done. You just can't call it "MS-DOS"!

    Melissa

  • netstatbotexnetstatbotex Posts: 13Member
    hey send me a text on how to read c++ programing language .. send to [email protected]


  • BASIC FriendBASIC Friend Posts: 354Member
    : hey send me a text on how to read c++ programing language .. send to [email protected]
    :
    :
    :
    Just open the *.cpp file with notepad. Wow! That was easy!

    Just kidding. Seriously there are plenty of good online tutorials out there. There are probably several you can get from programmers heaven.

  • jnelsonjnelson Posts: 5Member
    : : I really want to create my own MS-DOS, I know I have the programming knowledge I just don't know where to start, so I'm asking for any resources anyone has. Possibly even create a new fileing system just for fun.
    : :
    :
    : Hi!
    :
    : Quite a project you're planning!
    :
    : If you want it to be compatible with MS-DOS, you'll need to start out by finding out how the boot process works. Reading the MBR, boot record, partition table, etc. will all have to be done.
    :
    : I wrote a description of the DOS boot process, and posted it in the BASIC forum here at Programmer's Heaven. Take a look at it. It's something to start with.
    :
    : This is not an impossible job, but it is a big one. Some years ago, I disassembled a floppy disk format program (manually), commented it, made some modifications to it, and re-assembled it. It actually worked!
    :
    : That was a good lesson in DOS internals, since I had to learn about writing the boot sectors, and creating the directory.
    :
    : Have fun with your project! Post back, and let us know how it's going.
    :
    : Melissa
    :
    :
    :
    Do you still have the code for the floopy disk format program?
    If so, I would really like to see it.

    thanks,
    Jimmy
  • melissa_may1melissa_may1 Posts: 937Member
    : Do you still have the code for the floopy disk format program?
    : If so, I would really like to see it.
    :
    : thanks,
    : Jimmy
    :

    Hi Jimmy:

    Since I almost never throw anything out, it's probably around here somewhere :)

    But it was done around 1980, before PCs, and in Z80 assembly language. Since it used some system calls, and talked directly to the floppy disk controller chip, it probably wouldn't be readable, even if you know Z80 assembler. Though I did comment every line :)

    I make no promises, but if for some reason I stumble onto it, I can send along a copy. I wouldn't sit by the e-mail, though, if I were you...

    :)




    [purple]Melissa[/purple]

  • jnelsonjnelson Posts: 5Member
    : : Do you still have the code for the floopy disk format program?
    : : If so, I would really like to see it.
    : :
    : : thanks,
    : : Jimmy
    : :
    :
    : Hi Jimmy:
    :
    : Since I almost never throw anything out, it's probably around here somewhere :)
    :
    : But it was done around 1980, before PCs, and in Z80 assembly language. Since it used some system calls, and talked directly to the floppy disk controller chip, it probably wouldn't be readable, even if you know Z80 assembler. Though I did comment every line :)
    :
    : I make no promises, but if for some reason I stumble onto it, I can send along a copy. I wouldn't sit by the e-mail, though, if I were you...
    :
    : :)
    :
    :
    :
    :
    : [purple]Melissa[/purple]
    :
    :

    Hi Melissa,
    Thanks for responding. If you run across it fine. If you don't, that's fine too. I don't know the Z80, but I do have the specs. I'm working mainly on the x86 and starting to play with the 8051, but mainly I just like to see how things work.

    thanks again,
    Jimmy
  • jeffpostjeffpost Posts: 316Member
    : I really want to create my own MS-DOS, I know I have the programming knowledge I just don't know where to start, so I'm asking for any resources anyone has. Possibly even create a new fileing system just for fun.
    :
    :
    Search the web for FreeDOS. Also try to find a copy of [italic]Dissecting DOS[/italic] by Michael Podanoffsky, published by Addison-Wesley. Much of your work has already been done for you.


  • melissa_may1melissa_may1 Posts: 937Member
    : Hi Melissa,
    : Thanks for responding. If you run across it fine. If you don't, that's fine too. I don't know the Z80, but I do have the specs. I'm working mainly on the x86 and starting to play with the 8051, but mainly I just like to see how things work.
    :
    : thanks again,
    : Jimmy
    :


    Hi Jimmy!

    Thanks to Jeffpost, here's a link to an 8086 floppy format program:

    http://www.freedos.org/freedos/software/lsm2html.cgi?file=base/format.lsm

    BTW, I'm just getting back into 8051 programming, after taking a few years off. What are you working on? I have tons of links and software, etc. How about you?




    [purple]Melissa[/purple]

«1
Sign In or Register to comment.