forked from doubleXnine/MiniOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bochsrc-gdb
34 lines (25 loc) · 1.02 KB
/
bochsrc-gdb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
###############################################################
# Configuration file for Bochs
###############################################################
# how much memory the emulated machine will have
megs: 32
# filename of ROM images
#romimage: file=/usr/share/bochs/BIOS-bochs-latest
romimage: file=/usr/local/share/bochs/BIOS-bochs-latest
#vgaromimage: file=/usr/share/vgabios/vgabios.bin
vgaromimage: file=/usr/local/share/bochs/VGABIOS-lgpl-latest
# what disk images will be used
floppya: 1_44=a.img, status=inserted
# choose the boot disk.
boot: floppy
# where do we send log messages?
# log: bochsout.txt
# disable the mouse
mouse: enabled=0
# enable key mapping, using US layout as default.
#keyboard: enabled=1, map=/usr/share/bochs/keymaps/x11-pc-us.map
keyboard: keymap=/usr/local/share/bochs/keymaps/x11-pc-us.map
# hard disk; added by xw, 18/5/25
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata0-master: type=disk, path="80m.img", mode=flat, cylinders=162, heads=16, spt=63
gdbstub: enabled=1, port=2345