+ Reply to Thread
Results 1 to 9 of 9

Thread: How to test and run your own OS without rebooting your machine !

  1. #1
    outsid3r's Avatar
    outsid3r is offline Programming God
    Join Date
    Jul 2008
    Posts
    621
    Rep Power
    19

    How to test and run your own OS without rebooting your machine !

    Hi all, i recently discovered a program that is able to emulate an operative system inside another operative system like windows. So if you are doing an operative system you don't need to reboot your machine each time you want to test it. You can use PC BOCHS which is an open source operative sistem emulator, what you must do run it's:


    1º:
    Download PC BOCHS in this website: bochs: The Open Source IA-32 Emulation Project (Home Page).


    2º:
    After uinzip the file you must create a configuration file and force a boot thought a bootable floppy disk. Before writing the configuration file you must create a directory which will contain the configuration file and that configuration file must be named bochsrc.txt

    Example of the configuration file:

    #Quantity of memory that the emulated SO will have:
    megs: 32

    #Name of the file of the rom images:
    romimage: file=../BIOS-bochs-latest, address=0xf0000
    vgaromimage: ../VGABIOS-elpin-2.40

    #Drive that we will use and the image we will use is loader2.img
    floppya: 1_44=loader2.img, status=inserted

    #Disk of the boot
    boot: a

    #Erro messages go here
    log: bochsout.txt

    #Disable mouse unseless your OS uses mouse
    mouse: enabled=0



    3º:
    After all this just run the PC BOCH and press 5 to begin the simulation, and remember, to create an image you will need a software like WinImage or RawWrite.


    It's just this

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    mikelbring is offline Programmer
    Join Date
    Jul 2008
    Location
    Nebraska
    Posts
    118
    Rep Power
    0

    Re: How to test and run your own OS without rebooting your machine !

    Or it's called vmware.

  4. #3
    Join Date
    Jul 2008
    Location
    Somewhere that is shorter to write than "In the gloomy shadows of my personal namespace"
    Posts
    10,725
    Blog Entries
    2
    Rep Power
    90

    Re: How to test and run your own OS without rebooting your machine !

    Nice, will you use this in your future OS-project?
    Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

  5. #4
    outsid3r's Avatar
    outsid3r is offline Programming God
    Join Date
    Jul 2008
    Posts
    621
    Rep Power
    19

    Re: How to test and run your own OS without rebooting your machine !

    Yea, of course, i will not reboot my machine millions of times

  6. #5
    Join Date
    May 2008
    Posts
    2,126
    Blog Entries
    1
    Rep Power
    33

    Re: How to test and run your own OS without rebooting your machine !

    You're writing an OS?

    So I assume you are quite skilled in C and Assembly?

  7. #6
    outsid3r's Avatar
    outsid3r is offline Programming God
    Join Date
    Jul 2008
    Posts
    621
    Rep Power
    19

    Re: How to test and run your own OS without rebooting your machine !

    No, i'm not writing yet a really OS yet, i'm currently making a small console to run with a floppy disk at boot, a simple thing really. I'm not quite skilled both in C and ASM, but i think i have the knowledge to build something interesting like a simple single-task OS, i study a lot how OS works and in general, how everything works on a computer, which is more important than everything then we are thinking about building an OS.

  8. #7
    Jordan Guest

    Re: How to test and run your own OS without rebooting your machine !

    I didn't realize there was a free PC Emulator. I've always used VMWare and briefly used Virtual PC by Windows. Thanks for the post.

  9. #8
    Join Date
    Sep 2008
    Location
    Kosovo
    Posts
    4,032
    Rep Power
    44

    Re: How to test and run your own OS without rebooting your machine !

    Cool One .. +rep

  10. #9
    outsid3r's Avatar
    outsid3r is offline Programming God
    Join Date
    Jul 2008
    Posts
    621
    Rep Power
    19

    Re: How to test and run your own OS without rebooting your machine !

    ty

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help w/CNC machine
    By cooldook in forum Visual Basic Programming
    Replies: 1
    Last Post: 12-21-2010, 07:53 PM
  2. Computer rebooting
    By mikelbring in forum Computer Hardware
    Replies: 1
    Last Post: 03-31-2010, 06:21 AM
  3. Soda-machine with C# help!!!
    By cabalsun in forum C# Programming
    Replies: 2
    Last Post: 02-26-2010, 02:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

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