Compare commits
2 Commits
81a3442ac5
...
875527aa98
| Author | SHA1 | Date | |
|---|---|---|---|
| 875527aa98 | |||
| c0d47d4db0 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -9,3 +9,5 @@ stevia-log
|
|||||||
.vscode/
|
.vscode/
|
||||||
*.map
|
*.map
|
||||||
compose-dev.yaml
|
compose-dev.yaml
|
||||||
|
eth_null-tx.log
|
||||||
|
eth_null-txdump.txt
|
||||||
66
bochsrc.txt
66
bochsrc.txt
@@ -1,44 +1,44 @@
|
|||||||
# configuration file generated by Bochs
|
#
|
||||||
plugin_ctrl: voodoo=false, unmapped=true, biosdev=true, speaker=true, extfpuirq=true, parallel=true, serial=true, busmouse=false, e1000=false, es1370=false, gameport=true, ne2k=false, sb16=false, usb_uhci=false, usb_ohci=false, usb_ehci=false, usb_xhci=false
|
# Bochs config
|
||||||
|
#
|
||||||
config_interface: textconfig
|
config_interface: textconfig
|
||||||
display_library: x, options=gui_debug
|
display_library: x, options=gui_debug
|
||||||
memory: guest=64, host=64, block_size=128
|
plugin_ctrl: voodoo=false, unmapped=true, biosdev=true, speaker=true, extfpuirq=true, parallel=true, serial=true, busmouse=false, e1000=true, es1370=false, gameport=true, ne2k=false, sb16=false, usb_uhci=true, usb_ohci=false, usb_ehci=false, usb_xhci=false
|
||||||
romimage: file="/usr/share/bochs/BIOS-bochs-legacy", address=0x00000000, options=none, flash_data=none
|
print_timestamps: enabled=1
|
||||||
vgaromimage: file="/usr/share/bochs/VGABIOS-lgpl-latest"
|
|
||||||
boot: disk
|
|
||||||
floppy_bootsig_check: disabled=0
|
|
||||||
floppya: type=1_44
|
|
||||||
# no floppyb
|
|
||||||
ata0: enabled=true, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
|
|
||||||
ata0-master: type=disk, path="./build/disk.img", mode=flat, cylinders=0, heads=0, spt=0, sect_size=512, model="Stevia Disk", biosdetect=auto, translation=lba
|
|
||||||
ata0-slave: type=none
|
|
||||||
ata1: enabled=false
|
|
||||||
ata1-master: type=none
|
|
||||||
ata1-slave: type=none
|
|
||||||
ata2: enabled=false
|
|
||||||
ata3: enabled=false
|
|
||||||
optromimage1: file=none
|
|
||||||
optromimage2: file=none
|
|
||||||
optromimage3: file=none
|
|
||||||
optromimage4: file=none
|
|
||||||
optramimage1: file=none
|
|
||||||
optramimage2: file=none
|
|
||||||
optramimage3: file=none
|
|
||||||
optramimage4: file=none
|
|
||||||
pci: enabled=1, chipset=i440fx, slot1=none, slot2=none, slot3=none, slot4=none, slot5=none
|
|
||||||
vga: extension=vbe, update_freq=10, realtime=1, ddc=builtin
|
|
||||||
cpu: count=1, ips=1000000, model=p3_katmai, reset_on_triple_fault=1, cpuid_limit_winnt=0, ignore_bad_msrs=1, mwait_is_nop=0
|
|
||||||
print_timestamps: enabled=0
|
|
||||||
port_e9_hack: enabled=false, all_rings=false
|
|
||||||
private_colormap: enabled=0
|
private_colormap: enabled=0
|
||||||
clock: sync=none, time0=local, rtc_sync=0
|
|
||||||
# no cmosimage
|
|
||||||
log: -
|
log: -
|
||||||
logprefix: %t%e%d
|
logprefix: %t%e%d
|
||||||
debug: action=ignore
|
debug: action=ignore
|
||||||
info: action=report
|
info: action=report
|
||||||
error: action=report
|
error: action=report
|
||||||
panic: action=ask
|
panic: action=ask
|
||||||
|
magic_break: enabled=1
|
||||||
|
port_e9_hack: enabled=1, all_rings=false
|
||||||
|
#
|
||||||
|
# Machine Spec
|
||||||
|
# 1x Pentium 3 @ (1M IPS) w/ 64MiB of System memory on the i440fx
|
||||||
|
cpu: count=1, ips=1000000, model=p3_katmai, reset_on_triple_fault=0, cpuid_limit_winnt=0, ignore_bad_msrs=1, mwait_is_nop=0
|
||||||
|
memory: guest=64, host=64, block_size=128
|
||||||
|
romimage: file="/usr/share/bochs/BIOS-bochs-legacy", address=0x00000000, options=none, flash_data=none
|
||||||
|
vgaromimage: file="/usr/share/vgabios/vgabios-stdvga.bin"
|
||||||
|
pci: enabled=1, chipset=i440fx
|
||||||
|
vga: extension=vbe, update_freq=10, realtime=1, ddc=builtin
|
||||||
|
clock: sync=none, time0=local, rtc_sync=0
|
||||||
|
#
|
||||||
|
# Disks
|
||||||
|
#
|
||||||
|
boot: disk
|
||||||
|
floppy_bootsig_check: disabled=0
|
||||||
|
floppya: type=1_44
|
||||||
|
floppyb: type=1_44
|
||||||
|
ata0: enabled=true, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
|
||||||
|
ata0-master: type=disk, path="./build/disk.img", mode=flat, cylinders=0, heads=0, spt=0, sect_size=512, model="Stevia Disk", biosdetect=auto, translation=lba
|
||||||
|
ata0-slave: type=none
|
||||||
|
#
|
||||||
|
# Other hardware
|
||||||
|
#
|
||||||
|
usb_ehci: enabled=1, companion=ohci
|
||||||
|
e1000: enabled=1, mac=52:54:00:12:34:56, ethmod=null
|
||||||
keyboard: type=mf, serial_delay=150, paste_delay=100000, user_shortcut=none
|
keyboard: type=mf, serial_delay=150, paste_delay=100000, user_shortcut=none
|
||||||
mouse: type=none, enabled=false, toggle=ctrl+mbutton
|
mouse: type=none, enabled=false, toggle=ctrl+mbutton
|
||||||
sound: waveoutdrv=dummy, waveout=none, waveindrv=dummy, wavein=none, midioutdrv=dummy, midiout=none
|
sound: waveoutdrv=dummy, waveout=none, waveindrv=dummy, wavein=none, midioutdrv=dummy, midiout=none
|
||||||
@@ -49,5 +49,3 @@ com1: enabled=true, mode=null
|
|||||||
com2: enabled=false
|
com2: enabled=false
|
||||||
com3: enabled=false
|
com3: enabled=false
|
||||||
com4: enabled=false
|
com4: enabled=false
|
||||||
magic_break: enabled=1
|
|
||||||
port_e9_hack: enabled=1, all_rings=false
|
|
||||||
|
|||||||
@@ -91,6 +91,9 @@ PrintString:
|
|||||||
mov si, [bp + 4] ; source string
|
mov si, [bp + 4] ; source string
|
||||||
.print_L0:
|
.print_L0:
|
||||||
movzx ax, byte [si]
|
movzx ax, byte [si]
|
||||||
|
%ifdef __STEVIA_DEV_DEBUG
|
||||||
|
out 0xe9, byte al ; bochs magic debug port
|
||||||
|
%endif
|
||||||
push ax
|
push ax
|
||||||
call PrintCharacter
|
call PrintCharacter
|
||||||
add sp, 0x2
|
add sp, 0x2
|
||||||
|
|||||||
Reference in New Issue
Block a user