You are not logged in.


#1 2005-11-02 14:06:20

python
Member
Registered: 2005-11-01
Posts: 12
PM

Bochs

I downloaded bochs to run your os to see how it works... Excly how do i use bochs. Im cimpletely clueless, Ive never used emulating software before.

Thanks

Offline

 

#2 2005-11-03 10:29:54

bubach
Administrator
From: Trollhättan, Sweden
Registered: 2005-02-15
Posts: 366
PM  Website

Re: Bochs

Whn you install bochs there's a file called bochsrc.txt or something like that.
edit it so that it looks something like:

#######################################
#                                     #
#      BOCHS config file for BOS      #
#                                     #
#######################################

romimage: file=BIOS-bochs-latest, address=0xf0000
megs: 32
vgaromimage: VGABIOS-elpin-2.40
floppya: 1_44=a:, status=inserted
boot: a
floppy_bootsig_check: disabled=0
log: bochsout.txt
panic: action=ask
error: action=report
info: action=report
debug: action=ignore
debugger_log: debugger.out
vga_update_interval: 300000
keyboard_serial_delay: 250
keyboard_paste_delay: 100000
floppy_command_delay: 50000
ips: 1000000
mouse: enabled=0
keyboard_mapping: enabled=0, map=
user_shortcut: keys=ctrlaltdel

then simply run bochs.exe with a bos floppy in drive a: and press enter when
the text menu appears.
if you don't have a floppy drive, change the line:

floppya: 1_44=a:, status=inserted

to the imagename instead, which for version 0.04 is

floppya: 1_44=bos_0.04.img, status=inserted

HTH

Offline

 

#3 2005-11-03 13:48:18

python
Member
Registered: 2005-11-01
Posts: 12
PM

Re: Bochs

I ran it without bochs it was great! I cant wait until you implant fasm in it. How am I going to save my asm files If the entire thing is on a floppy disk? Would it save to floppy or hdd?

Offline

 

#4 2005-11-03 21:14:49

bubach
Administrator
From: Trollhättan, Sweden
Registered: 2005-02-15
Posts: 366
PM  Website

Re: Bochs

To floppy at first, not planning hdd support yet.

Offline

 

#5 2005-11-03 22:31:35

python
Member
Registered: 2005-11-01
Posts: 12
PM

Re: Bochs

Im going to need a big floppy...

Offline

 

#6 2005-11-04 00:31:03

Nelson
Member
Registered: 2005-07-02
Posts: 35
PM

Re: Bochs

Why? BOS isn't that big. 1.44MB is plenty for now especially since there is no FS.

Offline

 

#7 2005-11-04 21:19:50

python
Member
Registered: 2005-11-01
Posts: 12
PM

Re: Bochs

No No No...I mean if im going to save my FASM programs on BOS in 0.05

Offline

 

#8 2005-11-04 22:20:41

Nelson
Member
Registered: 2005-07-02
Posts: 35
PM

Re: Bochs

When the time arrises someone will write a HD driver for BOS.

Offline

 

#9 2005-11-05 03:38:21

bubach
Administrator
From: Trollhättan, Sweden
Registered: 2005-02-15
Posts: 366
PM  Website

Re: Bochs

I will have plenty of time to write a hd driver before you
fill up an entire floppy with asm code and programs.. wink

Offline

 

#10 2005-11-06 01:25:12

python
Member
Registered: 2005-11-01
Posts: 12
PM

Re: Bochs

how about adding a pascal compiler as well? Also you have not emailed me back...look at your inbox for asmhackers.net...im treymonty@myway.com!

Thanks!

Offline

 

#11 2005-11-06 22:26:09

bubach
Administrator
From: Trollhättan, Sweden
Registered: 2005-02-15
Posts: 366
PM  Website

Re: Bochs

I can't check my mail right now, i'll do that tomorrow or sth.

Offline

 

#12 2005-11-29 05:45:55

vertov
Guest

Re: Bochs

regarding bochs...i find that qemu is much faster
http://fabrice.bellard.free.fr/qemu/

or if you're on the windows side of things
http://www.h7.dion.ne.jp/~qemu-win/

bochs will give you 1/100th of what your cpu clock is but qemu will give you approximately 25x speed increase.

 

#13 2005-11-29 21:39:49

bubach
Administrator
From: Trollhättan, Sweden
Registered: 2005-02-15
Posts: 366
PM  Website

Re: Bochs

I have qemu too, it's just that i use the debugger in BOCHS to found a lot of
errors in my code.. wink

Offline

 

#14 2005-12-03 21:55:50

smiddy
Active member
Registered: 2005-02-15
Posts: 183
PM

Re: Bochs

bubach wrote:

I have qemu too, it's just that i use the debugger in BOCHS to found a lot of
errors in my code.. wink

...and all this time I thought you wrote error free code. tongue


- [color=red]s[/color][color=blue]m[/color][color=red]i[/color][color=blue]d[/color][color=red]d[/color][color=blue]y[/color]

Offline

 

#15 2005-12-05 10:58:19

bubach
Administrator
From: Trollhättan, Sweden
Registered: 2005-02-15
Posts: 366
PM  Website

Re: Bochs

Offline

 

 

Board footer

Powered by PunBB
BOS homepage © Copyright 2005 Christoffer Bubach
Strict XHTML and valid CSS.