Results 1 to 4 of 4

Thread: What makes a boot disk boot?

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    44
    I love getting way ahead of myself! I've only just started learning assembly, but it got me thinking about producing an operating system! Because everything's at such a low level and .asm is insanely fast in comparison to higher level languages it seems the ideal language to use for a lot of the very low-level OS stuff. So my actual question is how do I make a floppy disk bootable (in that a machine with no OS installed can start from it)?
    VB5 Enterprise, C++Builder 5, JBuilder 3.5 (so far unused )

  2. #2

  3. #3
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Because the previous link is down...

    http://www.experts-exchange.com/Prog..._20638017.html
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  4. #4
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,945

    Not sure this is useful but->

    As far as I can tell any program less than 512 bytes running
    independently from any operating system can simply
    be written to sector number 0 of a disk which will be loaded and executed when booting from the disk.

    One of the easiest ways to experiment with this I can think of
    is to use Debug.exe to create a small assembly program and
    to then write it to a disk.

    The BIOS will load 512 bytes from the first sector on any disk it attempts to boot from and execute it as a computer program.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width