Page 1 of 2

exception on boches!

Posted: Sun Nov 10, 2013 6:41 am
by brighteningeyes
hi guys!
i'm trying to make an OS
in testing (IRQ and ISR), a problem in boches:
some exceptions!
this is the attachment of the output
output.txt
Boches's Output!
(19.66 KiB) Downloaded 62 times

Re: exception on boches!

Posted: Sun Nov 10, 2013 7:33 am
by Nable

Code: Select all

00000000000p[MEM0 ] >>PANIC<< ROM: couldn't open ROM image file '(null)/VGABIOS-lgpl-latest'.
I don't think that you've removed/replaced BIOS image intentionally. At least, try solving this problem.

Re: exception on boches!

Posted: Sun Nov 10, 2013 8:02 am
by brighteningeyes
where is this?
i've built boches from SVN
i don't think that SVN Snapshot has this

Re: exception on boches!

Posted: Sun Nov 10, 2013 9:05 am
by brighteningeyes
i've updated the bochs and the problem has been fixed: another problem acurd:
in the log, it says panic<<no bootable device
this is the output file:
output.txt
bochs output!
(12.22 KiB) Downloaded 56 times

Re: exception on boches!

Posted: Sun Nov 10, 2013 10:31 am
by AbstractYouShudNow
Your problem just seems to be your unability to set it up correctly, and it's hard to diagnose your problem if you don't at least give some details about your platform. So I'll just give you a beautiful... RTFM.

PS: The name of the software is Bochs, avoid writing Boches, since German and French people probably won't like... (think WW2)

Re: exception on boches!

Posted: Sun Nov 10, 2013 2:36 pm
by brighteningeyes
my platform is windows7 with bochs 2.6.2.

this is my bochs configuration file:

Code: Select all

# configuration file generated by Bochs
plugin_ctrl: unmapped=1, biosdev=1, speaker=1, extfpuirq=1, parallel=1, serial=1, gameport=1
config_interface: win32config
display_library: win32
memory: host=32, guest=32
romimage: file="C:\Program Files\Bochs/BIOS-bochs-latest"
vgaromimage: file="C:\Program Files\Bochs/VGABIOS-lgpl-latest"
boot: floppy
floppy_bootsig_check: disabled=0
floppya: type=1_44, 1_44="AmirOS.iso", status=inserted, write_protected=0
floppyb: type=1_44
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata0-master: type=none
ata0-slave: type=none
ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata1-master: type=none
ata1-slave: type=none
ata2: enabled=0
ata3: enabled=0
pci: enabled=1, chipset=i440fx
vga: extension=vbe, update_freq=5
cpu: count=1, ips=4000000, model=bx_generic, reset_on_triple_fault=1, cpuid_limit_winnt=0, ignore_bad_msrs=1, mwait_is_nop=0
cpuid: level=6, stepping=3, model=3, family=6, vendor_string="GenuineIntel", brand_string="              Intel(R) Pentium(R) 4 CPU        "
cpuid: mmx=1, apic=xapic, sse=sse2, sse4a=0, misaligned_sse=0, sep=1, movbe=0, adx=0
cpuid: aes=0, xsave=0, xsaveopt=0, x86_64=1, 1g_pages=0, pcid=0, fsgsbase=0, smep=0
cpuid: smap=0, mwait=1, vmx=1
print_timestamps: enabled=0
port_e9_hack: enabled=0
private_colormap: enabled=0
clock: sync=none, time0=local, rtc_sync=0
# no cmosimage
# no loader
log: output.txt
logprefix: %t%e%d
debug: action=ignore
info: action=report
error: action=report
panic: action=report
keyboard: type=mf, serial_delay=250, paste_delay=100000, user_shortcut=none
mouse: type=ps2, enabled=0, toggle=ctrl+mbutton
parport1: enabled=1, file=none
parport2: enabled=0
com1: enabled=1, mode=null, dev=none
com2: enabled=0
com3: enabled=0
com4: enabled=0

Re: exception on boches!

Posted: Mon Nov 11, 2013 12:04 am
by Combuster
floppya: type=1_44, 1_44="AmirOS.iso"
Seriously?

Re: exception on boches!

Posted: Mon Nov 11, 2013 3:23 am
by brighteningeyes
what is the problem?
what is setuped incorrectly?
do i have to change one of them?
i want to load my ISO image for testing!

Re: exception on boches!

Posted: Mon Nov 11, 2013 6:14 am
by Combuster
What you're doing is equivalent to computer abuse. Hint: use a 1.2M floppy drive or it won't even begin to fit.

Image

Re: exception on boches!

Posted: Mon Nov 11, 2013 6:31 am
by brighteningeyes
i have done that and it doesn't work!
this is the config:

Code: Select all

# configuration file generated by Bochs
plugin_ctrl: unmapped=1, biosdev=1, speaker=1, extfpuirq=1, parallel=1, serial=1, gameport=1
config_interface: win32config
display_library: win32
memory: host=32, guest=32
romimage: file="C:\Program Files\Bochs/BIOS-bochs-latest"
vgaromimage: file="C:\Program Files\Bochs/VGABIOS-lgpl-latest"
boot: floppy
floppy_bootsig_check: disabled=0
floppya: type=1_2, 1_2="AmirOS.iso", status=inserted, write_protected=0
# no floppyb
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata0-master: type=none
ata0-slave: type=none
ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata1-master: type=none
ata1-slave: type=none
ata2: enabled=0
ata3: enabled=0
pci: enabled=1, chipset=i440fx
vga: extension=vbe, update_freq=5
cpu: count=1, ips=4000000, model=bx_generic, reset_on_triple_fault=1, cpuid_limit_winnt=0, ignore_bad_msrs=1, mwait_is_nop=0
cpuid: level=6, stepping=3, model=3, family=6, vendor_string="GenuineIntel", brand_string="              Intel(R) Pentium(R) 4 CPU        "
cpuid: mmx=1, apic=xapic, sse=sse2, sse4a=0, misaligned_sse=0, sep=1, movbe=0, adx=0
cpuid: aes=0, xsave=0, xsaveopt=0, x86_64=1, 1g_pages=0, pcid=0, fsgsbase=0, smep=0
cpuid: smap=0, mwait=1, vmx=1
print_timestamps: enabled=0
port_e9_hack: enabled=0
private_colormap: enabled=0
clock: sync=none, time0=local, rtc_sync=0
# no cmosimage
# no loader
log: output.txt
logprefix: %t%e%d
debug: action=ignore
info: action=report
error: action=report
panic: action=report
keyboard: type=mf, serial_delay=250, paste_delay=100000, user_shortcut=none
mouse: type=ps2, enabled=0, toggle=ctrl+mbutton
parport1: enabled=1, file=none
parport2: enabled=0
com1: enabled=1, mode=null, dev=none
com2: enabled=0
com3: enabled=0
com4: enabled=0
now what is the problem?
what should i do next?

Re: exception on boches!

Posted: Mon Nov 11, 2013 6:35 am
by Combuster
brighteningeyes wrote:now what is the problem?
You just failed the IQ test. If you're just going to blindly follow instructions without even bothering to know what you do, please take on a different hobby :wink: [-o<

Re: exception on boches!

Posted: Mon Nov 11, 2013 6:45 am
by bwat
brighteningeyes wrote:i have done that and it doesn't work!
this is the config:

Code: Select all

floppya: type=1_2, 1_2="AmirOS.iso", status=inserted, write_protected=0
now what is the problem?
what should i do next?
Do you really want to try to load an iso file from a floppy? They're usually CDROMs or DVDs no?
Combuster wrote:You just failed the IQ test.
And you are as abusive as ever.

Re: exception on boches!

Posted: Mon Nov 11, 2013 7:06 am
by Combuster
bwat wrote:And you are as abusive as ever.
Thank you :D

Re: exception on boches!

Posted: Mon Nov 11, 2013 7:08 am
by brighteningeyes
i know that iso files are CD images
but how can i test them in bochs?
it doesn't have anything for that!
because of this i tryed this very stupid thing!
how to test ISO images in bochs?

Re: exception on boches!

Posted: Mon Nov 11, 2013 7:14 am
by bwat
brighteningeyes wrote:i know that iso files are CD images
but how can i test them in bochs?
it doesn't have anything for that!
because of this i tryed this very stupid thing!
how to test ISO images in bochs?
Please don't prove Combuster right!
http://lmgtfy.com/?q=osdev+cdrom+bochs+iso+image