Bochs
Re:Bochs
If you download the latest version for windows and look in the bochs folder you'll find an well documented sample file.
From the bochsrc-sample.txt from version 2.0.1:
note the 2nd line from the bottom:
#floppya: 1_44=a:, status=inserted
From the bochsrc-sample.txt from version 2.0.1:
Code: Select all
#=======================================================================
# FLOPPYA:
# Point this to pathname of floppy image file or device
# This should be of a bootable floppy(image/device) if you're
# booting from 'a'.
#
# You can set the initial status of the media to 'ejected' or 'inserted'.
# floppya: 2_88=path, status=ejected (2.88M 3.5" floppy)
# floppya: 1_44=path, status=inserted (1.44M 3.5" floppy)
# floppya: 1_2=path, status=ejected (1.2M 5.25" floppy)
# floppya: 720k=path, status=inserted (720K 3.5" floppy)
# floppya: 360k=path, status=inserted (360K 5.25" floppy)
#
# The path should be the name of a disk image file. On unix, you can use
# a raw device name such as /dev/fd0 on Linux. On WinNT and Win2k, use
# drive letters such as a: or b: as the path. Raw floppy access is not
# supported on Windows 95 and 98.
#=======================================================================
floppya: 1_44=/dev/fd0, status=inserted
#floppya: file=../1.44, status=inserted
#floppya: 1_44=/dev/fd0H1440, status=inserted
#floppya: 1_2=../1_2, status=inserted
#floppya: 1_44=a:, status=inserted
#floppya: 1_44=a.img, status=inserted
#floppya: 1_44=a:, status=inserted
Re:Bochs
http://www.mega-tokyo.com/forum/index.php?board=1;action=display;threadid=2801;start=0chrisa128 wrote: I couldn't find this anywhere on the forums.
Re:Bochs
Hi,
could be a problem with you boot code
suggestions:-
1. start your boot code with a jmp
i.e
[org 0x07c00]
jmp start
db ..........
db........
..........
.......
start:
.............
..........
2. End boot code with signature
i.e
times 510 - ($ - $$) db 0 (or something like that, check NASM docs)
followed by
dw 0xaa55
or
db 0x55
db 0xaa
post your code if you still get errors.
could be a problem with you boot code
suggestions:-
1. start your boot code with a jmp
i.e
[org 0x07c00]
jmp start
db ..........
db........
..........
.......
start:
.............
..........
2. End boot code with signature
i.e
times 510 - ($ - $$) db 0 (or something like that, check NASM docs)
followed by
dw 0xaa55
or
db 0x55
db 0xaa
post your code if you still get errors.