Boot disk.

This is a discussion on Boot disk. within the C Programming forums, part of the General Programming Boards category; To some of you this might be a dumb question, but is there any way to compile a C program ...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220

    Question Boot disk.

    To some of you this might be a dumb question, but is there any way to compile a C program onto a boot disk? So the program runs when the computer starts? Or do you need to use ASM?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,854
    You mean like an autoexec.bat file, which just contains
    a:\myprog.exe

  3. #3
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220

  4. #4
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    Well sure, if you're making an OS...if you just want it to start when windows starts there's a miriad of ways...

  5. #5
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    605
    Found this quite useful when I was looking for something similar.

    http://www.nondot.org/sabre/os/files.../nasmBoot.html


    Hope it helps.

  6. #6
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220
    I was just making a bootdisk version of PONG

  7. #7
    Registered User lliero's Avatar
    Join Date
    Oct 2001
    Posts
    59

    anyone who knows the author of.....

    guys,


    anyone of you knows the author of this link

    http://www25.brinkster.com/acos


    ken posted the link. maybe ken knows the author... can you tell me?


    lliero

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. freebsd and redhat dual boot.
    By xddxogm3 in forum Linux Programming
    Replies: 1
    Last Post: 05-09-2004, 07:06 PM
  2. Boot up disk for windows xp
    By santaclaus in forum Tech Board
    Replies: 23
    Last Post: 12-25-2003, 01:05 PM
  3. floppy disk boot sector
    By krishnancbalak in forum C Programming
    Replies: 2
    Last Post: 06-13-2003, 10:53 AM
  4. Formatting Output
    By Aakash Datt in forum C++ Programming
    Replies: 2
    Last Post: 05-16-2003, 09:20 PM
  5. XP Boot Disk
    By MethodMan in forum Tech Board
    Replies: 6
    Last Post: 01-13-2003, 02:13 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21