move to other repo

This commit is contained in:
gohigh
2024-02-19 04:33:20 -05:00
parent 13b4e36585
commit 86e3679142
25 changed files with 0 additions and 2551 deletions

View File

@@ -1,77 +0,0 @@
Incompatible issues with recent Bochs version (2.6.x)
-----------------------------------------------------
Jiong Zhao jiong.zhao@tongji.edu.cn 2017.09.08
To fix the "vga-update-interval not found" error:
Comment out (using '#' symbol) or delete the following lines:
#vga_update_interval: 300000
Incompatible issues with recent Bochs version (2.4.x)
-----------------------------------------------------
Jiong Zhao gohigh@gmail.com 2010.10.15
The bochs image files collected in this directory are built several years ago.
They can be ran normally under Buchs 2.2.X version. But when you use these image
files under one of the recent high Bochs verions, you may encounter some incompatible
problems when using those old *.bxrc with them.
The fix method is easy. Just modify the *.bxrc file as following:
1. Modify the "romimage" line to the exact like this:
romimage: file=$BXSHARE/BIOS-bochs-latest
2. Modify the "vgaromimage" line like this:
vgaromimage: file = $BXSHARE/VGABIOS-lgpl-latest
3. Comment out or delete the following lines:
#parport1: enable=0
#floppy_command_delay: 50000
#ips: 4000000
That's all!
Problem when run with the newer Bochs software and fixing methods
-----------------------------------------------------------------
gohigh@sh163.net, gohigh@gmail.com 2006.08.28
When running the Linux kernel 0.1x in Bochs environment with version number
newer or equal to 2.2.6, you may encounter an problem at the bootstrap period
with the error message "HD controller not ready". There are two general
methods you can use to fix this problem.
1. One way is tricky but easy and without modify the kernel code. you need
only copy the harddisk image file to another name and modify the .bxrc file
to attach it as a second or slave hd in it. Fox example, if you have a hard
disk image file with name is hdc-0.11.img, just copy it to produce another
disk image with a name something like hdd-0.11.img. Then modify
the corresponding configuration file, for example, bochsrc-hd.bxrc. Add the
following line, and the parameters in the line should be the same with your
hdc-0.11.img line. Then you can go with the newer bochs system.
ata0-slave: type=disk, path="hdd-0.11.img", mode=flat, cylinders=410, heads=16, spt=38
2. The second mothod is to modify the linux/kernel/blk_drv/hd.c file in you
Linux kernel 0.11. Change the code at line 163 and 165:
163 int retries=10000;
164
165 while (--retries && (inb_p(HD_STATUS)&0xc0)!=0x40);
as following:
163int retries=100000;
164
165while (--retries && (inb_p(HD_STATUS)&0x80));
then rebuild the kernel and write it to the boot floppy image file:
dd if=Image of=/dev/fd0
(End)

View File

@@ -1,32 +0,0 @@
/*
* Linux 0.00 - a fake version :)
*/
"it switched between two processes that printed AAAA... and BBBB...
respectively by using the timer-interrupt - Gods I was proud over that"
--Linus Torvalds
2005-06-13: Include sources for Linux 0.11 and Redhat 9 systems.
Sources simplified.
2005-01-20: This version is built under RedHat 9.
---
I built it under Linux 0.11. Just for fun and for learning something.
Two tasks multtasking in level 3, but they are coded in 'kernel' code
same as Linux kernel's task0 & task1. It has got one system call to
display character.
The source has no or little comments, SORRY! If you want to understand
what the hell they are meant, please look into the kernel 0.11 source
code.
Jiong Zhao (gohigh@sh163.net)
www.oldlinux.org
2004-12-17

View File

@@ -1,124 +0,0 @@
#=======================================================================
# ROMIMAGE:
# You now need to load a ROM BIOS into F0000-FFFFF. I've wiped
# out most of the BIOS hooks, and replace them with real BIOS
# support. Normally, you can use a precompiled BIOS in the bios/
# directory, named BIOS-bochs-yymmdd. Use the latest one in there.
#=======================================================================
romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000
#romimage: file=$BXSHARE/BIOS-bochs-2-processors, address=0xf0000
#=======================================================================
# MEGS
# set this to the default number of Megabytes of memory you want
# to emulate. You may also pass the '-megs xyz' option to bochs
# The default is 32MB, most OS's won't need more than that.
#=======================================================================
#megs: 64
megs: 16
#=======================================================================
# VGAROMIMAGE
# You now need to load a VGA ROM BIOS into C0000.
#=======================================================================
vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
#vgaromimage: $BXSHARE\VGABIOS-elpin-2.40
#=======================================================================
# 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)
#
# 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: 1_44=a:, status=inserted # for win32
floppya: 1_44="Image", status=inserted
#=======================================================================
# BOOT:
# This defines your boot drive.
# You can either boot from 'a', 'c' or 'cdrom'
# Examples:
# boot: c
# boot: a
# boot: cdrom
#=======================================================================
boot: a
#boot: c
#=======================================================================
# LOG:
# Give the path of the log file you'd like Bochs debug and misc. verbage
# to be written to. If you really don't want it, make it /dev/null. :^(
#
# Examples:
# log: ./bochs.out
# log: /dev/tty
#=======================================================================
#log: /dev/null
log: bochsout.txt
#=======================================================================
# KEYBOARD_SERIAL_DELAY:
# Approximate time in microseconds that it takes one character to
# be transfered from the keyboard to controller over the serial path.
# Examples:
# keyboard_serial_delay: 200
#=======================================================================
#keyboard_serial_delay: 200
#=======================================================================
# KEYBOARD_PASTE_DELAY:
# Approximate time in microseconds between attempts to paste
# characters to the keyboard controller. This leaves time for the
# guest os to deal with the flow of characters. The ideal setting
# depends on how your operating system processes characters. The
# default of 100000 usec (.1 seconds) was chosen because it works
# consistently in Windows.
#=======================================================================
#keyboard_paste_delay: 100000
#=======================================================================
# FLOPPY_COMMAND_DELAY:
# Time in microseconds to wait before completing some floppy commands
# such as read/write/seek/etc, which normally have a delay associated.
# I had this hardwired to 50,000 before.
#=======================================================================
#floppy_command_delay: 50000
#=======================================================================
# IPS:
# Emulated Instructions Per Second. This is the number of IPS that bochs
# is capable of running on your machine. Read the note in config.h
# on how to find this. Make sure to recompile after.
#
# IPS is used to calibrate many time-dependent events within the bochs
# simulation. For example, changing IPS affects the frequency of VGA
# updates, the duration of time before a key starts to autorepeat, and
# the measurement of BogoMips and other benchmarks.
#
# Examples:
# Machine Mips
# ________________________________________________________________
# 650Mhz Athlon K-7 with Linux 2.4.4/egcs-2.91.66 2 to 2.5 Mips
# 400Mhz Pentium II with Linux 2.0.36/egcs-1.0.3 1 to 1.8 Mips
# 166Mhz 64bit Sparc with Solaris 2.x approx 0.75 Mips
# 200Mhz Pentium with Linux 2.x approx 0.5 Mips
#
#=======================================================================
#ips: 4000000

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5c3fafb5f82ec1736c054c42a85a7110aec960d65b1f21e38f466c0dc973464
size 84856057

View File

@@ -1,877 +0,0 @@
kernel/blk_drv/blk_drv.a(ll_rw_blk.o) needed due to _blk_size
kernel/blk_drv/blk_drv.a(floppy.o) needed due to _do_floppy
kernel/blk_drv/blk_drv.a(hd.o) needed due to _do_hd
kernel/blk_drv/blk_drv.a(ramdisk.o) needed due to _rd_load
kernel/chr_drv/chr_drv.a(tty_io.o) needed due to _fg_console
kernel/chr_drv/chr_drv.a(console.o) needed due to _NR_CONSOLES
kernel/chr_drv/chr_drv.a(keyboard.o) needed due to _keyboard_interrupt
kernel/chr_drv/chr_drv.a(serial.o) needed due to _rs_init
kernel/chr_drv/chr_drv.a(rs_io.o) needed due to _rs1_interrupt
kernel/chr_drv/chr_drv.a(tty_ioctl.o) needed due to _tty_ioctl
kernel/chr_drv/chr_drv.a(pty.o) needed due to _mpty_write
kernel/math/math.a(math_emulate.o) needed due to _math_emulate
kernel/math/math.a(error.o) needed due to _math_error
kernel/math/math.a(ea.o) needed due to _ea
kernel/math/math.a(get_put.o) needed due to _get_short_real
kernel/math/math.a(add.o) needed due to _fadd
kernel/math/math.a(mul.o) needed due to _fmul
kernel/math/math.a(div.o) needed due to _fdiv
kernel/math/math.a(compare.o) needed due to _ftst
kernel/math/math.a(convert.o) needed due to _short_to_temp
lib/lib.a(ctype.o) needed due to __ctype
lib/lib.a(_exit.o) needed due to __exit
lib/lib.a(open.o) needed due to _open
lib/lib.a(close.o) needed due to _close
lib/lib.a(write.o) needed due to _write
lib/lib.a(dup.o) needed due to _dup
lib/lib.a(setsid.o) needed due to _setsid
lib/lib.a(execve.o) needed due to _execve
lib/lib.a(wait.o) needed due to _wait
Allocating common _drive_info: 20 at 32128
Allocating common _hash_table: 4cc at 32148
Allocating common __ctmp: 4 at 32614
Allocating common _tty_table: 4000 at 32618
Allocating common _user_stack: 1000 at 36618
Allocating common _file_table: 400 at 37618
Allocating common _rd_start: 4 at 37a18
Allocating common _request: 480 at 37a1c
Allocating common _errno: 4 at 37e9c
Allocating common _super_block: 360 at 37ea0
Files:
boot/head.o text 0(64b8), data 20000(0), bss 235f0(0) hex
init/main.o text 64b8(604), data 20000(48), bss 235f0(420) hex
kernel/kernel.o text 6abc(5700), data 20048(1328), bss 23a10(700) hex
mm/mm.o text c1bc(1744), data 21370(f18), bss 24110(0) hex
fs/fs.o text d900(68a0), data 22288(f60), bss 24110(8) hex
kernel/blk_drv/blk_drv.a(ll_rw_blk.o) text 141a0(494), data 231e8(58), bss 24118(0) hex
kernel/blk_drv/blk_drv.a(floppy.o) text 14634(1c00), data 23240(168), bss 24118(8) hex
kernel/blk_drv/blk_drv.a(hd.o) text 16234(153c), data 233a8(c0), bss 24120(4) hex
kernel/blk_drv/blk_drv.a(ramdisk.o) text 17770(4fc), data 23468(4), bss 24124(0) hex
kernel/chr_drv/chr_drv.a(tty_io.o) text 17c6c(1dd8), data 2346c(20), bss 24124(db60) hex
kernel/chr_drv/chr_drv.a(console.o) text 19a44(21dc), data 2348c(1c), bss 31c84(4a4) hex
kernel/chr_drv/chr_drv.a(keyboard.o) text 1bc20(804), data 234a8(0), bss 32128(0) hex
kernel/chr_drv/chr_drv.a(serial.o) text 1c424(158), data 234a8(0), bss 32128(0) hex
kernel/chr_drv/chr_drv.a(rs_io.o) text 1c57c(fc), data 234a8(0), bss 32128(0) hex
kernel/chr_drv/chr_drv.a(tty_ioctl.o) text 1c678(4e0), data 234a8(20), bss 32128(0) hex
kernel/chr_drv/chr_drv.a(pty.o) text 1cb58(1dc), data 234c8(0), bss 32128(0) hex
kernel/math/math.a(math_emulate.o) text 1cd34(18d0), data 234c8(0), bss 32128(0) hex
kernel/math/math.a(error.o) text 1e604(28), data 234c8(0), bss 32128(0) hex
kernel/math/math.a(ea.o) text 1e62c(18c), data 234c8(20), bss 32128(0) hex
kernel/math/math.a(get_put.o) text 1e7b8(4b0), data 234e8(0), bss 32128(0) hex
kernel/math/math.a(add.o) text 1ec68(1ac), data 234e8(0), bss 32128(0) hex
kernel/math/math.a(mul.o) text 1ee14(154), data 234e8(0), bss 32128(0) hex
kernel/math/math.a(div.o) text 1ef68(26c), data 234e8(0), bss 32128(0) hex
kernel/math/math.a(compare.o) text 1f1d4(274), data 234e8(0), bss 32128(0) hex
kernel/math/math.a(convert.o) text 1f448(45c), data 234e8(0), bss 32128(0) hex
lib/lib.a(ctype.o) text 1f8a4(0), data 234e8(104), bss 32128(0) hex
lib/lib.a(_exit.o) text 1f8a4(10), data 235ec(0), bss 32128(0) hex
lib/lib.a(open.o) text 1f8b4(28), data 235ec(0), bss 32128(0) hex
lib/lib.a(close.o) text 1f8dc(20), data 235ec(0), bss 32128(0) hex
lib/lib.a(write.o) text 1f8fc(28), data 235ec(0), bss 32128(0) hex
lib/lib.a(dup.o) text 1f924(20), data 235ec(0), bss 32128(0) hex
lib/lib.a(setsid.o) text 1f944(18), data 235ec(0), bss 32128(0) hex
lib/lib.a(execve.o) text 1f95c(28), data 235ec(0), bss 32128(0) hex
lib/lib.a(wait.o) text 1f984(54), data 235ec(0), bss 32128(0) hex
Global symbols:
_dup: 0x1f924
_nmi: 0x9458
_bmap: 0xe5a0
_iput: 0xe5f0
_fadd: 0x1ec78
_blk_dev_init: 0x14608
_open: 0x1f8b4
_fmul: 0x1ee34
_do_execve: 0x10a8c
_fdiv: 0x1ef88
_con_init: 0x1b3f0
_put_super: 0xf640
_sys_setgid: 0xa250
_sys_umask: 0xab24
_con_write: 0x1a20c
_short_to_temp: 0x1f458
_fcom: 0x1f298
_show_task: 0x6b48
_buffer_init: 0xf488
_sys_settimeofday: 0xaa5c
_sys_getgroups: 0xa624
_tmp_floppy_area: 0x5000
_get_free_page: 0xd58c
_schedule: 0x6de0
_copy_mem: 0x958c
_sys_times: 0xa480
_blk_size: 0x23224
_release: 0xab90
_get_short_int: 0x1e85c
_hd_timeout: 0x233ac
_sys_uname: 0xa734
_table_list: 0x23470
_sysbeepstop: 0x1b9ac
_bounds: 0x946d
_sys_execve: 0x79d0
_keyboard_interrupt: 0x1bc23
_sys_rmdir: 0x124dc
_vsprintf: 0x9dd0
_getblk: 0xefd0
_int_to_real: 0x1f844
_floppy_init: 0x16194
_spty_write: 0x1cc58
_sys_sigsuspend: 0xbddc
_floppy_change: 0x146ec
_sys_setgroups: 0xa67c
_sys_setup: 0x16300
_swap_out: 0xd484
_check_disk_change: 0xee34
_stack_start: 0x212bc
_session_of_pgrp: 0xb1d4
_free_page: 0xc208
_sys_pause: 0x6f20
_create_block: 0xe5b8
_page_fault: 0xd8c8
_drive_info: 0x32128
_do_tty_interrupt: 0x18774
_truncate: 0x13ad8
_hash_table: 0x32148
_do_wp_page: 0xc7a8
_hd_interrupt: 0x79f8
_unexpected_hd_interrupt: 0x168f4
__ctmp: 0x32614
_system_call: 0x78a8
_nr_buffers: 0x23194
__exit: 0x1f8a4
_sys_tz: 0x21304
__edata: 0x235f0
_kill_proc: 0xb320
_double_fault: 0x949e
_last_pid: 0x21300
_get_hash_table: 0xef6c
_blk_dev: 0x231ec
_rs2_interrupt: 0x1c584
_timer_interrupt: 0x7994
_setup_rw_floppy: 0x14b0c
_sys_call_table: 0x20048
_get_short_real: 0x1e7c8
_math_error: 0x1e614
_rd_load: 0x17ac4
_find_empty_process: 0x9a90
_tty_write: 0x184f4
_pg_dir: 0x0
_open_namei: 0x11ce0
_rs1_interrupt: 0x1c57c
_put_short_int: 0x1eaf4
_do_select: 0x13e40
_last_task_used_math: 0x211b8
_copy_process: 0x9668
_sys_getrlimit: 0xa7e4
_rd_length: 0x23468
_parallel_interrupt: 0x7a70
_do_timer: 0x7474
_rd_init: 0x179b0
_ll_rw_block: 0x145c8
_blank_screen: 0x1ba84
_printk: 0x9b78
_invalidate_buffers: 0xedb0
_is_orphaned_pgrp: 0xb634
_floppy_interrupt: 0x7a3a
_unexpected_floppy_interrupt: 0x15ab4
_new_inode: 0x135a4
_console_print: 0x1ba8c
_floppy_deselect: 0x146b8
_jiffies_offset: 0x211b0
__etext: 0x20000
_kill_pg: 0xb208
_temp_to_short: 0x1f538
_tty_read: 0x181c4
_sys_sgetmask: 0xbd84
__ctype: 0x234e8
_sys_getpid: 0x769c
_sys_chroot: 0xda74
_unblank_screen: 0x1ba88
_do_double_fault: 0x7b18
_in_group_p: 0xa6f4
__namei: 0x11bdc
_tty_init: 0x194c4
_file_write: 0x10350
_sys_setrlimit: 0xa828
_sys_getuid: 0x76c4
___math_abort: 0x1e520
_mpty_write: 0x1cb74
_HIGH_MEMORY: 0x21370
_current: 0x211b4
_jiffies: 0x211a8
_divide_error: 0x941c
_put_short_real: 0x1ea40
_get_super: 0xf5a8
_do_signal: 0xbf5c
_file_read: 0x1022c
_tty_table: 0x32618
_sys_mpx: 0xa2d4
_sys_access: 0xd980
_chr_dev_init: 0x1879c
_start_buffer: 0x2318c
_user_stack: 0x36618
_write_verify: 0xc8ac
_coprocessor_error: 0x7930
_do_coprocessor_error: 0x8f0c
_sys_dup: 0x137e8
_do_screendump: 0x1ba10
_get_empty_inode: 0xe730
_put_dirty_page: 0xc630
_sys_brk: 0xa4cc
_do_general_protection: 0x7c78
_general_protection: 0x94ea
_sys_getgid: 0x76ec
_overflow: 0x9466
_setsid: 0x1f944
_sync_dev: 0xeca0
_do_int3: 0x8108
_tty_signal: 0x18148
_new_block: 0x1324c
_rs_write: 0x1c55c
_file_table: 0x37618
_read_pipe: 0x112a8
_hd_times_out: 0x16edc
_tty_ioctl: 0x1c69c
_sys_readlink: 0x105f0
_sys_getrusage: 0xa88c
_sys_sigaction: 0xbe8c
_do_divide_error: 0x7f2c
_sys_kill: 0xb414
_sys_lock: 0xa2cc
_ea: 0x1e63c
_sys_link: 0x12ae4
_wait_on_floppy_select: 0x23324
_sys_nice: 0x7714
_sys_gtty: 0xa1b8
_do_exit: 0xb698
_sys_sigpending: 0xbdb0
_hd_ioctl: 0x17714
_kernel_mktime: 0xc13c
_change_console: 0x17c7c
_wait_for_keypress: 0x17cc0
_core_dump: 0xbf58
_sys_symlink: 0x128e8
_sys_exit: 0xbaec
_audit_ptree: 0xaeec
_current_DOR: 0x212f4
_real_to_int: 0x1f704
_SWAP_DEV: 0x22278
_sleep_on: 0x6fe8
_sys_open: 0xdcf4
_try_to_swap_out: 0xd3c0
_device_not_available: 0x7954
_do_device_not_available: 0x8830
_sys_fork: 0x79e0
_invalid_TSS: 0x94d5
_rd_start: 0x37a18
_sys_acct: 0xa2bc
_sys_ssetmask: 0xbd90
_do_debug: 0x82cc
_get_long_real: 0x1e7f4
_put_BCD: 0x1ebd4
_block_read: 0xfd90
_sys_dup2: 0x137c4
_mem_map: 0x21374
_NR_CONSOLES: 0x2348c
__end: 0x38200
_sys_stty: 0xa1b0
_do_invalid_TSS: 0x8af0
_do_no_page: 0xccbc
_sys_getpgrp: 0xa5c4
_sys_sync: 0xec38
_sys_prof: 0xa1c0
_write: 0x1f8fc
_reserved: 0x9482
_put_long_real: 0x1ea78
_sys_stat: 0x1053c
_wait_for_request: 0x231e8
_mount_root: 0xfb08
_fg_console: 0x2346c
_write_pipe: 0x113b0
_sys_getppid: 0x76ac
_update_screen: 0x1b898
_show_state: 0x6c4c
_do_rd_request: 0x17820
_bad_task_ptr: 0xac44
_sys_mkdir: 0x120dc
_startup_time: 0x211ac
_sys_setreuid: 0xa320
_adjust_clock: 0xab14
_get_temp_real: 0x1e828
_sys_creat: 0xde64
_verify_area: 0x9508
_sys_time: 0xa2e4
_sys_mknod: 0x11f44
_sys_break: 0xa1a0
_sys_pipe: 0x114a4
_sys_phys: 0xa2c4
_sys_read: 0xe008
_do_nmi: 0x8178
_get_long_int: 0x1e8a8
_do_hd_request: 0x17014
_sys_fstat: 0x105b4
_sys_ioctl: 0x138e4
_show_mem: 0xd0a8
_sys_getegid: 0x7700
_swap_in: 0xd320
_sys_ptrace: 0xa1a8
_do_alignment_check: 0x7dd4
_do_overflow: 0x8420
_alignment_check: 0x94f1
_free_page_tables: 0xc2a8
_sys_setregid: 0xa1c8
_NR_syscalls: 0x201a4
_math_emulate: 0x1e4dc
_beepcount: 0x234a4
_do_coprocessor_segment_overrun: 0x8998
_coprocessor_segment_overrun: 0x947b
_floppy_off: 0x72dc
_do_fd_request: 0x15dc4
_block_write: 0xfc70
_rw_char: 0x101d8
_ROOT_DEV: 0x23198
_sys_mount: 0xf9c8
_do_floppy_timer: 0x72f0
_request: 0x37a1c
_wake_up: 0x7098
_sys_ftime: 0xa198
_copy_to_cooked: 0x17d40
_waitpid: 0x1f984
_free_block: 0x130c0
_blankinterval: 0x23494
_inode_table: 0x22288
_get_empty_page: 0xc974
_sys_uselib: 0x106c4
_sys_geteuid: 0x76d8
_math_state_restore: 0x6d80
_breada: 0xf3e0
_panic: 0x9b3c
_do_bounds: 0x8574
_do_floppy: 0x23240
_sys_lstat: 0x10578
_blankcount: 0x23498
_un_wp_page: 0xc6cc
_brelse: 0xf214
_lnamei: 0x11cb4
_sys_rename: 0x12fd0
_etext: 0x20000
_execve: 0x1f95c
_sys_setpgid: 0xa500
_put_longlong_int: 0x1eb78
_get_longlong_int: 0x1e8f0
_invalid_op: 0x9474
_selected: 0x23323
_do_stack_segment: 0x8dac
_stack_segment: 0x94e3
_do_hd: 0x233a8
_copy_page_tables: 0xc45c
_temp_to_long: 0x1f5f8
_sys_umount: 0xf8d4
_fucom: 0x1f370
_sys_lseek: 0xdf10
_sys_select: 0x13fe4
_put_long_int: 0x1eb38
_sys_close: 0xde94
_invalidate_inodes: 0xe250
_namei: 0x11cc8
_put_temp_real: 0x1eab8
_sys_waitpid: 0xbb04
_sys_alarm: 0x7644
_sys_chmod: 0xdad4
_do_invalid_op: 0x86d0
_free_inode: 0x13474
_sys_chdir: 0xda14
_sys_fcntl: 0x137f8
_trap_init: 0x91d4
_sys_chown: 0xdb48
_task: 0x211bc
_interruptible_sleep_on: 0x6f64
_csi_m: 0x19f04
_get_pipe_inode: 0xe844
_do_segment_not_present: 0x8c50
_segment_not_present: 0x94dc
_get_BCD: 0x1e948
_ll_rw_page: 0x14454
_ticks_to_floppy_on: 0x70ec
_wait: 0x1f9ac
_sys_unlink: 0x12730
_hd_info: 0x233b8
_sys_ustat: 0xd910
_hd_init: 0x176b4
_errno: 0x37e9c
_sys_ulimit: 0xa2dc
_sys_sethostname: 0xa76c
_bread: 0xf284
_ftst: 0x1f1e4
_do_reserved: 0x9088
_rs_init: 0x1c434
_mem_init: 0xcfc8
_pipe_ioctl: 0x115e8
_sys_gettimeofday: 0xa9e0
_irq13: 0x9489
_sys_stime: 0xa430
_floppy_on: 0x7190
_iget: 0xe8b4
_sys_signal: 0xbe28
_main: 0x66b0
_long_to_temp: 0x1f4bc
_bread_page: 0xf2f0
_init: 0x68f8
_add_timer: 0x73c4
_sys_setsid: 0xa5d0
_debug: 0x9451
_close: 0x1f8dc
_sys_setuid: 0xa3c4
_sys_utime: 0xd918
_edata: 0x235f0
_sched_init: 0x7750
_end: 0x38200
_gdt: 0x5cb8
_super_block: 0x37ea0
_sync_inodes: 0xe2d4
_init_swapping: 0xd6c8
_idt: 0x54b8
_sys_write: 0xe138
_int3: 0x945f
_swap_free: 0xd25c
Local symbols of boot/head.o:
startup_32: 0x0
setup_idt: 0x6f
setup_gdt: 0x9f
check_x87: 0x5a
after_page_tables: 0x5400
ignore_int: 0x5428
rp_sidt: 0x8c
idt_descr: 0x54aa
gdt_descr: 0x54b2
pg0: 0x1000
pg1: 0x2000
pg2: 0x3000
pg3: 0x4000
setup_paging: 0x5450
int_msg: 0x5414
Local symbols of init/main.o:
gcc_compiled.: 0x64b8
_sprintf: 0x64c8
_time_init: 0x64e0
_memory_end: 0x20000
_buffer_memory_end: 0x20004
_main_memory_start: 0x20008
_argv_init: 0x2000c
_envp_init: 0x20014
_argv_rc: 0x20020
_envp_rc: 0x20028
_argv: 0x20034
_envp: 0x2003c
_term: 0x235f0
_printf: 0x6848
_printbuf: 0x23610
Local symbols of kernel/kernel.o:
sched.o: 0x6abc
gcc_compiled.: 0x6abc
_init_task: 0x201a8
_wait_motor: 0x212c4
_mon_timer: 0x212d4
_moff_timer: 0x212e4
_next_timer: 0x212f8
_timer_list: 0x23a10
_blanked.0: 0x212fc
sys_call.o: 0x7898
SIG_CHLD: 0x11
EAX: 0x0
EBX: 0x4
ECX: 0x8
EDX: 0xc
ORIG_EAX: 0x10
FS: 0x14
ES: 0x18
DS: 0x1c
EIP: 0x20
CS: 0x24
EFLAGS: 0x28
OLDESP: 0x2c
OLDSS: 0x30
state: 0x0
counter: 0x4
priority: 0x8
signal: 0xc
sigaction: 0x10
blocked: 0x210
sa_handler: 0x0
sa_mask: 0x4
sa_flags: 0x8
sa_restorer: 0xc
nr_system_calls: 0x52
ENOSYS: 0x26
bad_sys_call: 0x7898
ret_from_sys_call: 0x78e1
reschedule: 0x789c
traps.o: 0x7a78
gcc_compiled.: 0x7a78
asm.o: 0x941c
no_error_code: 0x9421
error_code: 0x94a3
fork.o: 0x94f8
gcc_compiled.: 0x94f8
panic.o: 0x9af8
gcc_compiled.: 0x9af8
printk.o: 0x9b78
gcc_compiled.: 0x9b78
_buf: 0x23d10
vsprintf.o: 0x9ba0
gcc_compiled.: 0x9ba0
_number: 0x9bec
sys.o: 0xa188
gcc_compiled.: 0xa188
_thisname: 0x2130c
_firsttime.0: 0x2133c
exit.o: 0xab44
gcc_compiled.: 0xab44
signal.o: 0xbd74
gcc_compiled.: 0xbd74
mktime.o: 0xc13c
gcc_compiled.: 0xc13c
_month: 0x21340
Local symbols of mm/mm.o:
memory.o: 0xc1bc
gcc_compiled.: 0xc1bc
_share_page: 0xcab4
swap.o: 0xd22c
gcc_compiled.: 0xd22c
_swap_bitmap: 0x22274
_dir_entry.0: 0x2227c
_page_entry.1: 0x22280
page.o: 0xd8c8
Local symbols of fs/fs.o:
open.o: 0xd900
gcc_compiled.: 0xd900
_check_char_dev: 0xdba4
read_write.o: 0xdf00
gcc_compiled.: 0xdf00
inode.o: 0xe220
gcc_compiled.: 0xe220
_write_inode: 0xeb48
__bmap: 0xe350
_last_inode.0: 0x23188
_read_inode: 0xea1c
file_table.o: 0xec28
gcc_compiled.: 0xec28
buffer.o: 0xec28
gcc_compiled.: 0xec28
_buffer_wait: 0x23190
_find_buffer: 0xef2c
_free_list: 0x24110
super.o: 0xf534
gcc_compiled.: 0xf534
_lock_super: 0xf544
_free_super: 0xf56c
_wait_on_super: 0xf584
_read_super: 0xf6cc
block_dev.o: 0xfc60
gcc_compiled.: 0xfc60
char_dev.o: 0xfe94
gcc_compiled.: 0xfe94
_rw_ttyx: 0xfea4
_rw_tty: 0xfed0
_rw_ram: 0xff0c
_rw_mem: 0xff14
_rw_kmem: 0x10044
_rw_port: 0x100f0
_rw_memory: 0x1014c
_crw_table: 0x2319c
file_dev.o: 0x1021c
gcc_compiled.: 0x1021c
stat.o: 0x104ac
gcc_compiled.: 0x104ac
_cp_stat: 0x104bc
exec.o: 0x106b4
gcc_compiled.: 0x106b4
_create_tables: 0x1075c
_count: 0x1080c
_copy_strings: 0x1083c
_change_ldt: 0x10970
pipe.o: 0x11298
gcc_compiled.: 0x11298
namei.o: 0x11628
gcc_compiled.: 0x11628
_permission: 0x11638
_match: 0x116ac
_find_entry: 0x11714
_add_entry: 0x11878
_follow_link: 0x119c4
_get_dir: 0x11a78
_dir_namei: 0x11b94
_empty_dir: 0x12360
_subdir: 0x12c74
_do_rename: 0x12cd8
_wait.0: 0x231bc
_lock.1: 0x231c0
bitmap.o: 0x1302c
gcc_compiled.: 0x1302c
fcntl.o: 0x1372c
gcc_compiled.: 0x1372c
_dupfd: 0x1373c
ioctl.o: 0x138d4
gcc_compiled.: 0x138d4
_ioctl_table: 0x231c4
truncate.o: 0x13990
gcc_compiled.: 0x13990
_free_ind: 0x139a0
_free_dind: 0x13a3c
select.o: 0x13bc8
gcc_compiled.: 0x13bc8
_add_wait: 0x13bd8
_free_wait: 0x13c28
_get_tty: 0x13cbc
_check_in: 0x13d24
_check_out: 0x13d80
_check_ex: 0x13df0
Local symbols of kernel/blk_drv/blk_drv.a(ll_rw_blk.o):
gcc_compiled.: 0x141a0
_make_request: 0x141fc
Local symbols of kernel/blk_drv/blk_drv.a(floppy.o):
gcc_compiled.: 0x14634
_recalibrate: 0x23244
_reset: 0x23248
_seek: 0x2324c
_floppy_type: 0x23250
_cur_spec1: 0x23310
_cur_rate: 0x23314
_floppy: 0x23318
_current_drive: 0x2331c
_sector: 0x2331d
_head: 0x2331e
_track: 0x2331f
_seek_track: 0x23320
_current_track: 0x23321
_command: 0x23322
_bad_flp_intr: 0x14784
_rw_interrupt: 0x148bc
_reply_buffer: 0x24118
_seek_interrupt: 0x14ea4
_transfer: 0x15350
_recal_interrupt: 0x159ac
_reset_interrupt: 0x15bb0
_floppy_on_interrupt: 0x161e4
_floppy_sizes: 0x23328
Local symbols of kernel/blk_drv/blk_drv.a(hd.o):
gcc_compiled.: 0x16234
_recalibrate: 0x233b0
_reset: 0x233b4
_NR_HD: 0x233e8
_hd: 0x233ec
_hd_sizes: 0x2343c
_callable.0: 0x23464
_i.1: 0x24120
_reset_hd: 0x1669c
_bad_rw_intr: 0x16914
_read_intr: 0x169d4
_write_intr: 0x16be4
_recal_intr: 0x16dd0
Local symbols of kernel/blk_drv/blk_drv.a(ramdisk.o):
gcc_compiled.: 0x17770
Local symbols of kernel/chr_drv/chr_drv.a(tty_io.o):
gcc_compiled.: 0x17c6c
_tty_queues: 0x24124
_cr_flag.0: 0x23488
Local symbols of kernel/chr_drv/chr_drv.a(console.o):
gcc_compiled.: 0x19a44
_can_do_colour: 0x23490
_translations: 0x2349c
_scrup: 0x19b1c
_vc_cons: 0x31c84
_video_type: 0x32124
_video_num_lines: 0x32110
_video_size_row: 0x32114
_video_num_columns: 0x32120
_video_port_reg: 0x32108
_video_mem_base: 0x3211c
_video_port_val: 0x32104
_scrdown: 0x19de4
_sysbeep: 0x1b9c0
_video_page: 0x3210c
_video_mem_term: 0x32118
Local symbols of kernel/chr_drv/chr_drv.a(keyboard.o):
size: 0x400
head: 0x4
tail: 0x8
proc_list: 0xc
buf: 0x10
mode: 0x1bc20
leds: 0x1bc21
e0: 0x1bc22
set_e0: 0x1bc81
set_e1: 0x1bc8a
key_table: 0x1c006
e0_e1: 0x1bc56
put_queue: 0x1bc93
ctrl: 0x1bccc
alt: 0x1bcd0
unctrl: 0x1bce4
unalt: 0x1bce8
lshift: 0x1bcfe
unlshift: 0x1bd06
rshift: 0x1bd0e
unrshift: 0x1bd16
caps: 0x1bd1e
set_leds: 0x1bd3c
kb_wait: 0x1c406
uncaps: 0x1bd53
scroll: 0x1bd5b
num: 0x1bd79
cursor: 0x1bd82
cur2: 0x1bda2
reboot: 0x1c40f
cur: 0x1bdcb
num_table: 0x1bde5
cur_table: 0x1bdf2
ok_cur: 0x1bdd7
func: 0x1bdff
end_func: 0x1be34
ok_func: 0x1be11
alt_func: 0x1be2d
func_table: 0x1be35
key_map: 0x1be65
shift_map: 0x1bec6
alt_map: 0x1bf27
do_self: 0x1bf88
none: 0x1bff0
minus: 0x1bff1
die: 0x1c421
Local symbols of kernel/chr_drv/chr_drv.a(serial.o):
gcc_compiled.: 0x1c424
Local symbols of kernel/chr_drv/chr_drv.a(rs_io.o):
size: 0x400
rs_addr: 0x0
head: 0x4
tail: 0x8
proc_list: 0xc
buf: 0x10
startup: 0x100
rs_int: 0x1c589
rep_int: 0x1c5a1
end: 0x1c5be
jmp_table: 0x1c5cc
modem_status: 0x1c5dc
write_char: 0x1c620
read_char: 0x1c5ec
line_status: 0x1c5e4
write_buffer_empty: 0x1c660
Local symbols of kernel/chr_drv/chr_drv.a(tty_ioctl.o):
gcc_compiled.: 0x1c678
_quotient: 0x234a8
Local symbols of kernel/chr_drv/chr_drv.a(pty.o):
gcc_compiled.: 0x1cb58
Local symbols of kernel/math/math.a(math_emulate.o):
gcc_compiled.: 0x1cd34
_do_emu: 0x1ce38
___st: 0x1e5dc
_fpush: 0x1e56c
_fpop: 0x1e540
_fxchg: 0x1e598
Local symbols of kernel/math/math.a(error.o):
gcc_compiled.: 0x1e604
Local symbols of kernel/math/math.a(ea.o):
gcc_compiled.: 0x1e62c
___regoffset: 0x234c8
Local symbols of kernel/math/math.a(get_put.o):
gcc_compiled.: 0x1e7b8
Local symbols of kernel/math/math.a(add.o):
gcc_compiled.: 0x1ec68
Local symbols of kernel/math/math.a(mul.o):
gcc_compiled.: 0x1ee14
Local symbols of kernel/math/math.a(div.o):
gcc_compiled.: 0x1ef68
Local symbols of kernel/math/math.a(compare.o):
gcc_compiled.: 0x1f1d4
Local symbols of kernel/math/math.a(convert.o):
gcc_compiled.: 0x1f448
Local symbols of lib/lib.a(ctype.o):
gcc_compiled.: 0x1f8a4
Local symbols of lib/lib.a(_exit.o):
gcc_compiled.: 0x1f8a4
Local symbols of lib/lib.a(open.o):
gcc_compiled.: 0x1f8b4
Local symbols of lib/lib.a(close.o):
gcc_compiled.: 0x1f8dc
Local symbols of lib/lib.a(write.o):
gcc_compiled.: 0x1f8fc
Local symbols of lib/lib.a(dup.o):
gcc_compiled.: 0x1f924
Local symbols of lib/lib.a(setsid.o):
gcc_compiled.: 0x1f944
Local symbols of lib/lib.a(execve.o):
gcc_compiled.: 0x1f95c
Local symbols of lib/lib.a(wait.o):
gcc_compiled.: 0x1f984

View File

@@ -1,316 +0,0 @@
00000000000i[ ] Bochs x86 Emulator 2.6.9
00000000000i[ ] Built from SVN snapshot on April 9, 2017
00000000000i[ ] Compiled on Apr 9 2017 at 09:32:13
00000000000i[ ] System configuration
00000000000i[ ] processors: 1 (cores=1, HT threads=1)
00000000000i[ ] A20 line support: yes
00000000000i[ ] IPS is set to 4000000
00000000000i[ ] CPU configuration
00000000000i[ ] SMP support: no
00000000000i[ ] level: 6
00000000000i[ ] APIC support: xapic
00000000000i[ ] FPU support: yes
00000000000i[ ] MMX support: yes
00000000000i[ ] 3dnow! support: no
00000000000i[ ] SEP support: yes
00000000000i[ ] SIMD support: sse2
00000000000i[ ] XSAVE support: no
00000000000i[ ] AES support: no
00000000000i[ ] SHA support: no
00000000000i[ ] MOVBE support: no
00000000000i[ ] ADX support: no
00000000000i[ ] x86-64 support: yes
00000000000i[ ] 1G paging support: no
00000000000i[ ] MWAIT support: yes
00000000000i[ ] VMX support: 1
00000000000i[ ] Optimization configuration
00000000000i[ ] RepeatSpeedups support: yes
00000000000i[ ] Fast function calls: yes
00000000000i[ ] Handlers Chaining speedups: yes
00000000000i[ ] Devices configuration
00000000000i[ ] PCI support: i440FX i430FX
00000000000i[ ] Networking support: NE2000 E1000
00000000000i[ ] Sound support: SB16 ES1370
00000000000i[ ] USB support: UHCI OHCI EHCI xHCI
00000000000i[ ] VGA extension support: vbe cirrus voodoo
00000000000i[MEM0 ] allocated memory at 041E6020. after alignment, vector=041E7000
00000000000i[MEM0 ] 16.00MB
00000000000i[MEM0 ] mem block size = 0x00020000, blocks=128
00000000000i[MEM0 ] rom at 0xfffe0000/131072 ('C:\Program Files (x86)\Bochs-2.6.9/BIOS-bochs-latest')
00000000000i[PLUGIN] init_dev of 'pci' plugin device by virtual method
00000000000i[DEV ] i440FX PMC present at device 0, function 0
00000000000i[PLUGIN] init_dev of 'pci2isa' plugin device by virtual method
00000000000i[DEV ] PIIX3 PCI-to-ISA bridge present at device 1, function 0
00000000000i[PLUGIN] init_dev of 'cmos' plugin device by virtual method
00000000000i[CMOS ] Using local time for initial clock
00000000000i[CMOS ] Setting initial clock to: Fri Sep 08 00:41:11 2017 (time0=1504802471)
00000000000i[PLUGIN] init_dev of 'dma' plugin device by virtual method
00000000000i[DMA ] channel 4 used by cascade
00000000000i[PLUGIN] init_dev of 'pic' plugin device by virtual method
00000000000i[PLUGIN] init_dev of 'pit' plugin device by virtual method
00000000000i[PLUGIN] init_dev of 'vga' plugin device by virtual method
00000000000i[MEM0 ] Register memory access handlers: 0x0000000a0000 - 0x0000000bffff
00000000000i[VGA ] interval=200000, mode=realtime
00000000000i[MEM0 ] Register memory access handlers: 0x0000e0000000 - 0x0000e0ffffff
00000000000i[BXVGA ] VBE Bochs Display Extension Enabled
00000000000i[WINGUI] Desktop Window dimensions: 1829 x 1029
00000000000i[WINGUI] Number of Mouse Buttons = 16
00000000000i[WINGUI] IME disabled
00000000000i[MEM0 ] rom at 0xc0000/41472 ('C:\Program Files (x86)\Bochs-2.6.9/VGABIOS-lgpl-latest')
00000000000i[PLUGIN] init_dev of 'floppy' plugin device by virtual method
00000000000i[DMA ] channel 2 used by Floppy Drive
00000000000i[FLOPPY] fd0: 'bootimage-0.12-fd' ro=0, h=2,t=80,spt=18
00000000000i[FLOPPY] fd1: 'diska.img' ro=0, h=2,t=80,spt=18
00000000000i[FLOPPY] Using boot sequence floppy, none, none
00000000000i[FLOPPY] Floppy boot signature check is enabled
00000000000i[PLUGIN] init_dev of 'acpi' plugin device by virtual method
00000000000i[DEV ] ACPI Controller present at device 1, function 3
00000000000i[PLUGIN] init_dev of 'ioapic' plugin device by virtual method
00000000000i[IOAPIC] initializing I/O APIC
00000000000i[MEM0 ] Register memory access handlers: 0x0000fec00000 - 0x0000fec00fff
00000000000i[IOAPIC] IOAPIC enabled (base address = 0xfec00000)
00000000000i[PLUGIN] init_dev of 'keyboard' plugin device by virtual method
00000000000i[KBD ] will paste characters every 400 keyboard ticks
00000000000i[PLUGIN] init_dev of 'harddrv' plugin device by virtual method
00000000000i[PLUGIN] init_dev of 'pci_ide' plugin device by virtual method
00000000000i[DEV ] PIIX3 PCI IDE controller present at device 1, function 1
00000000000i[PLUGIN] init_dev of 'unmapped' plugin device by virtual method
00000000000i[PLUGIN] init_dev of 'biosdev' plugin device by virtual method
00000000000i[PLUGIN] init_dev of 'speaker' plugin device by virtual method
00000000000i[PCSPK ] Using lowlevel sound support for output
00000000000i[PLUGIN] init_dev of 'extfpuirq' plugin device by virtual method
00000000000i[PLUGIN] init_dev of 'parallel' plugin device by virtual method
00000000000i[PAR ] parallel port 1 at 0x0378 irq 7
00000000000i[PLUGIN] init_dev of 'serial' plugin device by virtual method
00000000000i[SER ] com1 at 0x03f8 irq 4 (mode: null)
00000000000i[PLUGIN] init_dev of 'gameport' plugin device by virtual method
00000000000i[PLUGIN] init_dev of 'usb_uhci' plugin device by virtual method
00000000000i[DEV ] USB UHCI present at device 1, function 2
00000000000i[UHCI ] USB UHCI initialized
00000000000i[PLUGIN] register state of 'pci' plugin device by virtual method
00000000000i[PLUGIN] register state of 'pci2isa' plugin device by virtual method
00000000000i[PLUGIN] register state of 'cmos' plugin device by virtual method
00000000000i[PLUGIN] register state of 'dma' plugin device by virtual method
00000000000i[PLUGIN] register state of 'pic' plugin device by virtual method
00000000000i[PLUGIN] register state of 'pit' plugin device by virtual method
00000000000i[PLUGIN] register state of 'vga' plugin device by virtual method
00000000000i[PLUGIN] register state of 'floppy' plugin device by virtual method
00000000000i[PLUGIN] register state of 'unmapped' plugin device by virtual method
00000000000i[PLUGIN] register state of 'biosdev' plugin device by virtual method
00000000000i[PLUGIN] register state of 'speaker' plugin device by virtual method
00000000000i[PLUGIN] register state of 'extfpuirq' plugin device by virtual method
00000000000i[PLUGIN] register state of 'parallel' plugin device by virtual method
00000000000i[PLUGIN] register state of 'serial' plugin device by virtual method
00000000000i[PLUGIN] register state of 'gameport' plugin device by virtual method
00000000000i[PLUGIN] register state of 'usb_uhci' plugin device by virtual method
00000000000i[PLUGIN] register state of 'acpi' plugin device by virtual method
00000000000i[PLUGIN] register state of 'ioapic' plugin device by virtual method
00000000000i[PLUGIN] register state of 'keyboard' plugin device by virtual method
00000000000i[PLUGIN] register state of 'harddrv' plugin device by virtual method
00000000000i[PLUGIN] register state of 'pci_ide' plugin device by virtual method
00000000000i[SYS ] bx_pc_system_c::Reset(HARDWARE) called
00000000000i[CPU0 ] cpu hardware reset
00000000000i[APIC0 ] allocate APIC id=0 (MMIO enabled) to 0x0000fee00000
00000000000i[CPU0 ] CPUID[0x00000000]: 00000005 756e6547 6c65746e 49656e69
00000000000i[CPU0 ] CPUID[0x00000001]: 00000633 00010800 00002028 1fcbfbff
00000000000i[CPU0 ] CPUID[0x00000002]: 00410601 00000000 00000000 00000000
00000000000i[CPU0 ] CPUID[0x00000003]: 00000000 00000000 00000000 00000000
00000000000i[CPU0 ] CPUID[0x00000004]: 00000000 00000000 00000000 00000000
00000000000i[CPU0 ] CPUID[0x00000005]: 00000040 00000040 00000003 00000020
00000000000i[CPU0 ] CPUID[0x80000000]: 80000008 00000000 00000000 00000000
00000000000i[CPU0 ] CPUID[0x80000001]: 00000000 00000000 00000101 2a100000
00000000000i[CPU0 ] CPUID[0x80000002]: 20202020 20202020 20202020 6e492020
00000000000i[CPU0 ] CPUID[0x80000003]: 286c6574 50202952 69746e65 52286d75
00000000000i[CPU0 ] CPUID[0x80000004]: 20342029 20555043 20202020 00202020
00000000000i[CPU0 ] CPUID[0x80000005]: 01ff01ff 01ff01ff 40020140 40020140
00000000000i[CPU0 ] CPUID[0x80000006]: 00000000 42004200 02008140 00000000
00000000000i[CPU0 ] CPUID[0x80000007]: 00000000 00000000 00000000 00000000
00000000000i[CPU0 ] CPUID[0x80000008]: 00003028 00000000 00000000 00000000
00000000000i[PLUGIN] reset of 'pci' plugin device by virtual method
00000000000i[PLUGIN] reset of 'pci2isa' plugin device by virtual method
00000000000i[PLUGIN] reset of 'cmos' plugin device by virtual method
00000000000i[PLUGIN] reset of 'dma' plugin device by virtual method
00000000000i[PLUGIN] reset of 'pic' plugin device by virtual method
00000000000i[PLUGIN] reset of 'pit' plugin device by virtual method
00000000000i[PLUGIN] reset of 'vga' plugin device by virtual method
00000000000i[PLUGIN] reset of 'floppy' plugin device by virtual method
00000000000i[PLUGIN] reset of 'acpi' plugin device by virtual method
00000000000i[PLUGIN] reset of 'ioapic' plugin device by virtual method
00000000000i[PLUGIN] reset of 'keyboard' plugin device by virtual method
00000000000i[PLUGIN] reset of 'harddrv' plugin device by virtual method
00000000000i[PLUGIN] reset of 'pci_ide' plugin device by virtual method
00000000000i[PLUGIN] reset of 'unmapped' plugin device by virtual method
00000000000i[PLUGIN] reset of 'biosdev' plugin device by virtual method
00000000000i[PLUGIN] reset of 'speaker' plugin device by virtual method
00000000000i[PLUGIN] reset of 'extfpuirq' plugin device by virtual method
00000000000i[PLUGIN] reset of 'parallel' plugin device by virtual method
00000000000i[PLUGIN] reset of 'serial' plugin device by virtual method
00000000000i[PLUGIN] reset of 'gameport' plugin device by virtual method
00000000000i[PLUGIN] reset of 'usb_uhci' plugin device by virtual method
00000004635i[BIOS ] $Revision: 13073 $ $Date: 2017-02-16 22:43:52 +0100 (Do, 16. Feb 2017) $
00000318039i[KBD ] reset-disable command received
00000320733i[BIOS ] Starting rombios32
00000321176i[BIOS ] Shutdown flag 0
00000321740i[BIOS ] ram_size=0x01000000
00000322196i[BIOS ] ram_end=16MB
00000629112i[WINGUI] dimension update x=720 y=400 fontheight=16 fontwidth=9 bpp=8
00001149354i[BIOS ] Found 1 cpu(s)
00001163003i[BIOS ] bios_table_addr: 0x000f9cd8 end=0x000fcc00
00001490001i[PCI ] i440FX PMC write to PAM register 59 (TLB Flush)
00001818716i[P2ISA ] PCI IRQ routing: PIRQA# set to 0x0b
00001818742i[P2ISA ] PCI IRQ routing: PIRQB# set to 0x09
00001818742i[P2ISA ] PCI IRQ routing: PIRQC# set to 0x0b
00001818742i[P2ISA ] PCI IRQ routing: PIRQD# set to 0x09
00001818742i[P2ISA ] write: ELCR2 = 0x0a
00001819429i[BIOS ] PIIX3/PIIX4 init: elcr=00 0a
00001827002i[BIOS ] PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237 class=0x0600
00001829226i[BIOS ] PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000 class=0x0601
00001831344i[BIOS ] PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010 class=0x0101
00001831895i[PIDE ] new BM-DMA address: 0xc000
00001832434i[BIOS ] region 4: 0x0000c000
00001834203i[BIOS ] PCI: bus=0 devfn=0x0a: vendor_id=0x8086 device_id=0x7020 class=0x0c03
00001834715i[UHCI ] new base address: 0xc020
00001835268i[BIOS ] region 4: 0x0000c020
00001835451i[UHCI ] new irq line = 9
00001837046i[BIOS ] PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113 class=0x0680
00001837404i[ACPI ] new irq line = 11
00001837632i[ACPI ] new irq line = 9
00001837651i[ACPI ] new PM base address: 0xb000
00001837651i[ACPI ] new SM base address: 0xb100
00001837683i[PCI ] setting SMRAM control register to 0x4a
00002001801i[CPU0 ] Enter to System Management Mode
00002001801i[CPU0 ] enter_system_management_mode: temporary disable VMX while in SMM mode
00002001805i[CPU0 ] RSM: Resuming from System Management Mode
00002165827i[PCI ] setting SMRAM control register to 0x0a
00002180433i[BIOS ] MP table addr=0x000f9db0 MPC table addr=0x000f9ce0 size=0xc8
00002182415i[BIOS ] SMBIOS table addr=0x000f9dc0
00002184373i[BIOS ] ACPI tables: RSDP addr=0x000f9ee0 ACPI DATA addr=0x00ff0000 size=0xf72
00002187758i[BIOS ] Firmware waking vector 0xff00cc
00002189695i[PCI ] i440FX PMC write to PAM register 59 (TLB Flush)
00002190276i[BIOS ] bios_table_cur_addr: 0x000f9f04
00002318033i[VBIOS ] VGABios $Id: vgabios.c,v 1.76 2013/02/10 08:07:03 vruppert Exp $
00002318118i[BXVGA ] VBE known Display Interface b0c0
00002318137i[BXVGA ] VBE known Display Interface b0c5
00002321061i[VBIOS ] VBE Bios $Id: vbe.c,v 1.65 2014/07/08 18:02:25 vruppert Exp $
00014918911i[BIOS ] Booting from 0000:7c00
00027937879i[FLOPPY] read() on floppy image returns 0
00027982325i[FLOPPY] read() on floppy image returns 0
00028026770i[FLOPPY] read() on floppy image returns 0
00028071216i[FLOPPY] read() on floppy image returns 0
00028115661i[FLOPPY] read() on floppy image returns 0
00028160105i[FLOPPY] read() on floppy image returns 0
00028204551i[FLOPPY] read() on floppy image returns 0
00028248996i[FLOPPY] read() on floppy image returns 0
00028293442i[FLOPPY] read() on floppy image returns 0
00028337887i[FLOPPY] read() on floppy image returns 0
00028382331i[FLOPPY] read() on floppy image returns 0
00028426777i[FLOPPY] read() on floppy image returns 0
00028471222i[FLOPPY] read() on floppy image returns 0
00028517390i[FLOPPY] read() on floppy image returns 0
00028561838i[FLOPPY] read() on floppy image returns 0
00028606282i[FLOPPY] read() on floppy image returns 0
00028650727i[FLOPPY] read() on floppy image returns 0
00028695173i[FLOPPY] read() on floppy image returns 0
00028739618i[FLOPPY] read() on floppy image returns 0
00028784064i[FLOPPY] read() on floppy image returns 0
00028828508i[FLOPPY] read() on floppy image returns 0
00028872953i[FLOPPY] read() on floppy image returns 0
00028917399i[FLOPPY] read() on floppy image returns 0
00028961844i[FLOPPY] read() on floppy image returns 0
00029006288i[FLOPPY] read() on floppy image returns 0
00029050734i[FLOPPY] read() on floppy image returns 0
00029095179i[FLOPPY] read() on floppy image returns 0
00029139625i[FLOPPY] read() on floppy image returns 0
00029184070i[FLOPPY] read() on floppy image returns 0
00029228514i[FLOPPY] read() on floppy image returns 0
00029272960i[FLOPPY] read() on floppy image returns 0
00029319134i[FLOPPY] read() on floppy image returns 0
00029363582i[FLOPPY] read() on floppy image returns 0
00029408027i[FLOPPY] read() on floppy image returns 0
00029452471i[FLOPPY] read() on floppy image returns 0
00029496917i[FLOPPY] read() on floppy image returns 0
00029541362i[FLOPPY] read() on floppy image returns 0
00029585808i[FLOPPY] read() on floppy image returns 0
00029630253i[FLOPPY] read() on floppy image returns 0
00029674697i[FLOPPY] read() on floppy image returns 0
00029719143i[FLOPPY] read() on floppy image returns 0
00029763588i[FLOPPY] read() on floppy image returns 0
00029808034i[FLOPPY] read() on floppy image returns 0
00029852479i[FLOPPY] read() on floppy image returns 0
00029896923i[FLOPPY] read() on floppy image returns 0
00029941369i[FLOPPY] read() on floppy image returns 0
00029985814i[FLOPPY] read() on floppy image returns 0
00030030260i[FLOPPY] read() on floppy image returns 0
00030074705i[FLOPPY] read() on floppy image returns 0
00030120877i[FLOPPY] read() on floppy image returns 0
00030165325i[FLOPPY] read() on floppy image returns 0
00030209770i[FLOPPY] read() on floppy image returns 0
00030254216i[FLOPPY] read() on floppy image returns 0
00030298661i[FLOPPY] read() on floppy image returns 0
00030343105i[FLOPPY] read() on floppy image returns 0
00030387551i[FLOPPY] read() on floppy image returns 0
00030431996i[FLOPPY] read() on floppy image returns 0
00030476442i[FLOPPY] read() on floppy image returns 0
00030520887i[FLOPPY] read() on floppy image returns 0
00030565331i[FLOPPY] read() on floppy image returns 0
00030609777i[FLOPPY] read() on floppy image returns 0
00030654222i[FLOPPY] read() on floppy image returns 0
00030698668i[FLOPPY] read() on floppy image returns 0
00030743113i[FLOPPY] read() on floppy image returns 0
00030787557i[FLOPPY] read() on floppy image returns 0
00030832003i[FLOPPY] read() on floppy image returns 0
00030876448i[FLOPPY] read() on floppy image returns 0
00030922617i[FLOPPY] read() on floppy image returns 0
00030967065i[FLOPPY] read() on floppy image returns 0
00031011509i[FLOPPY] read() on floppy image returns 0
00031055954i[FLOPPY] read() on floppy image returns 0
00031100400i[FLOPPY] read() on floppy image returns 0
00031144845i[FLOPPY] read() on floppy image returns 0
00031189291i[FLOPPY] read() on floppy image returns 0
00031233735i[FLOPPY] read() on floppy image returns 0
00031278180i[FLOPPY] read() on floppy image returns 0
00031322626i[FLOPPY] read() on floppy image returns 0
00031367071i[FLOPPY] read() on floppy image returns 0
00031411517i[FLOPPY] read() on floppy image returns 0
00031455961i[FLOPPY] read() on floppy image returns 0
00031500406i[FLOPPY] read() on floppy image returns 0
00031544852i[FLOPPY] read() on floppy image returns 0
00031589297i[FLOPPY] read() on floppy image returns 0
00031633743i[FLOPPY] read() on floppy image returns 0
00031678187i[FLOPPY] read() on floppy image returns 0
00031724364i[FLOPPY] read() on floppy image returns 0
00031768812i[FLOPPY] read() on floppy image returns 0
00031813257i[FLOPPY] read() on floppy image returns 0
00031857703i[FLOPPY] read() on floppy image returns 0
00031902147i[FLOPPY] read() on floppy image returns 0
00031946592i[FLOPPY] read() on floppy image returns 0
00031991038i[FLOPPY] read() on floppy image returns 0
00032035483i[FLOPPY] read() on floppy image returns 0
00032079929i[FLOPPY] read() on floppy image returns 0
00032124373i[FLOPPY] read() on floppy image returns 0
00032168818i[FLOPPY] read() on floppy image returns 0
00447483949i[BIOS ] int13_harddisk: function 15, unmapped device for ELDL=81
00714162822i[FLOPPY] controller reset in software
00716276902i[FLOPPY] io_write: config control register: 0x00
01696040000p[WINGUI] >>PANIC<< POWER button turned off.
01696040000i[CPU0 ] CPU is in protected mode (active)
01696040000i[CPU0 ] CS.mode = 32 bit
01696040000i[CPU0 ] SS.mode = 32 bit
01696040000i[CPU0 ] EFER = 0x00000000
01696040000i[CPU0 ] | EAX=00000000 EBX=00000000 ECX=000320e4 EDX=00000d29
01696040000i[CPU0 ] | ESP=00ffff8c EBP=00ffffa4 ESI=00023448 EDI=00000000
01696040000i[CPU0 ] | IOPL=0 id vip vif ac vm rf nt of df IF tf sf ZF af PF cf
01696040000i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D
01696040000i[CPU0 ] | CS:0008( 0001| 0| 0) 00000000 00ffffff 1 1
01696040000i[CPU0 ] | DS:0010( 0002| 0| 0) 00000000 00ffffff 1 1
01696040000i[CPU0 ] | SS:0010( 0002| 0| 0) 00000000 00ffffff 1 1
01696040000i[CPU0 ] | ES:0010( 0002| 0| 0) 00000000 00ffffff 1 1
01696040000i[CPU0 ] | FS:0017( 0002| 1| 3) 04000000 0009ffff 1 1
01696040000i[CPU0 ] | GS:0017( 0002| 1| 3) 04000000 0009ffff 1 1
01696040000i[CPU0 ] | EIP=00009af9 (00009af9)
01696040000i[CPU0 ] | CR0=0x8000001b CR2=0x040375d0
01696040000i[CPU0 ] | CR3=0x00000000 CR4=0x00000000
01696040000i[CPU0 ] 0x0000000000009af9>> jmp .-2 (0x00009af9) : EBFE
01696040000i[CMOS ] Last time is 1504802895 (Fri Sep 08 00:48:15 2017)
01696040000i[ ] restoring default signal behavior

View File

@@ -1,41 +0,0 @@
# You many now use double quotes around pathnames, in case
# your pathname includes spaces.
#=======================================================================
# MEGS
#=======================================================================
megs: 16
#=======================================================================
# ROMIMAGE:
# The ROM BIOS controls what the PC does when it first powers on.
#=======================================================================
romimage: file=$BXSHARE/BIOS-bochs-latest
#=======================================================================
# VGAROMIMAGE
# You now need to load a VGA ROM BIOS into C0000.
#=======================================================================
vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
#=======================================================================
# FLOPPYA, FLOPPYB:
# Point this to pathname of floppy image file or device
#=======================================================================
floppya: 1_44="bootimage-0.12-fd", status=inserted
floppyb: 1_44=diska.img, status=inserted
#=======================================================================
# BOOT:
#=======================================================================
boot: a
#boot: c
#=======================================================================
# LOG:
# Give the path of the log file you'd like Bochs debug and misc.
#=======================================================================
#log: /dev/null
log: bochsout.txt

View File

@@ -1,121 +0,0 @@
# The configuration file for Linux kernel 0.12.
# For detailed information about each parameters see the file
# bochsrc-sample.txt included in bochs.
#=======================================================================
# MEGS
# Set the number of Megabytes of physical memory you want to emulate.
#=======================================================================
megs: 32
#=======================================================================
# ROMIMAGE:
# The ROM BIOS controls what the PC does when it first powers on.
#=======================================================================
romimage: file=$BXSHARE/BIOS-bochs-latest
#=======================================================================
# VGAROMIMAGE
# You now need to load a VGA ROM BIOS into C0000.
#=======================================================================
vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
#=======================================================================
# CPU:
# This defines cpu-related parameters inside Bochs: Examples:
#
# Bochs Machine/Compiler Mips
# ____________________________________________________________________
# 2.2.6 2.6Ghz Intel Core 2 Duo with WinXP/g++ 3.4 21 to 25 Mips
# 2.2.6 2.1Ghz Athlon XP with Linux 2.6/g++ 3.4 12 to 15 Mips
# 2.0.1 1.6Ghz Intel P4 with Win2000/g++ 3.3 5 to 7 Mips
#=======================================================================
#cpu: count=1, ips=10000000, reset_on_triple_fault=1
#=======================================================================
# FLOPPYA,FLOPPYB:
# Point this to pathname of floppy image file or device
#=======================================================================
floppya: 1_44="bootimage-0.12-hd", status=inserted
floppyb: 1_44="diskb.img", status=inserted
#=======================================================================
# ATA[0-3]-MASTER, ATA[0-3]-SLAVE
#
# This defines the type and characteristics of all attached ata devices:
# type= type of attached device [disk|cdrom]
# mode= only valid for disks [flat|concat|external|dll|sparse|vmware3]
# mode= only valid for disks [undoable|growing|volatile]
# path= path of the image
# cylinders= only valid for disks
# heads= only valid for disks
# spt= only valid for disks
# status= only valid for cdroms [inserted|ejected]
# biosdetect= type of biosdetection [none|auto], only for disks on ata0 [cmos]
# translation=type of translation of the bios, only for disks [none|lba|large|rechs|auto]
# model= string returned by identify device command
# journal= optional filename of the redolog for undoable and volatile disks
#
# Point this at a hard disk image file, cdrom iso file, or physical cdrom
# device. To create a hard disk image, try running bximage. It will help you
# choose the size and then suggest a line that works with it.
#
# In UNIX it may be possible to use a raw device as a Bochs hard disk,
# but WE DON'T RECOMMEND IT. In Windows there is no easy way.
#
# In windows, the drive letter + colon notation should be used for cdroms.
# Depending on versions of windows and drivers, you may only be able to
# access the "first" cdrom in the system. On MacOSX, use path="drive"
# to access the physical drive.
#
# The path is always mandatory. Disk geometry autodetection works with images
# created by bximage if CHS is set to 0/0/0 (cylinders are calculated using
# heads=16 and spt=63). For other hard disk images and modes the cylinders,
# heads, and spt are mandatory.
#
# Default values are:
# mode=flat, biosdetect=auto, translation=auto, model="Generic 1234"
#
# The biosdetect option has currently no effect on the bios
#
# Examples:
# ata0-master: type=disk, mode=flat, path=10M.sample, cylinders=306, heads=4, spt=17
# ata0-slave: type=disk, mode=flat, path=20M.sample, cylinders=615, heads=4, spt=17
# ata1-master: type=disk, mode=flat, path=30M.sample, cylinders=615, heads=6, spt=17
# ata1-slave: type=disk, mode=flat, path=46M.sample, cylinders=940, heads=6, spt=17
# ata2-master: type=disk, mode=flat, path=62M.sample, cylinders=940, heads=8, spt=17
# ata2-slave: type=disk, mode=flat, path=112M.sample, cylinders=900, heads=15, spt=17
# ata3-master: type=disk, mode=flat, path=483M.sample, cylinders=1024, heads=15, spt=63
# ata3-slave: type=cdrom, path=iso.sample, status=inserted
#=======================================================================
ata0-master: type=disk, path="rootimage-0.12-hd", mode=flat, cylinders=487, heads=16, spt=63
#ata0-slave: type=disk, path="rootimage-0.12-hd1", mode=flat, cylinders=487, heads=16, spt=63
#=======================================================================
# BOOT:
#=======================================================================
boot: floppy
#boot: disk
#boot: a
#boot: c
#=======================================================================
# disable the mouse, since DLX is text only
#=======================================================================
mouse: enabled=0
#=======================================================================
# LOG:
#=======================================================================
#log: /dev/null
log: bochsout.txt
#=======================================================================
# LOG CONTROLS
#=======================================================================
panic: action=ask
error: action=report
info: action=report
debug: action=ignore
#debug: action=ignore

View File

@@ -1,763 +0,0 @@
# You may now use double quotes around pathnames, in case
# your pathname includes spaces.
#=======================================================================
# CONFIG_INTERFACE
#
# The configuration interface is a series of menus or dialog boxes that
# allows you to change all the settings that control Bochs's behavior.
# There are two choices of configuration interface: a text mode version
# called "textconfig" and a graphical version called "wx". The text
# mode version uses stdin/stdout and is always compiled in. The graphical
# version is only available when you use "--with-wx" on the configure
# command. If you do not write a config_interface line, Bochs will
# choose a default for you.
#
# NOTE: if you use the "wx" configuration interface, you must also use
# the "wx" display library.
#=======================================================================
#config_interface: textconfig
#config_interface: wx
#=======================================================================
# DISPLAY_LIBRARY
#
# The display library is the code that displays the Bochs VGA screen. Bochs
# has a selection of about 10 different display library implementations for
# different platforms. If you run configure with multiple --with-* options,
# the display_library command lets you choose which one you want to run with.
# If you do not write a display_library line, Bochs will choose a default for
# you.
#
# The choices are:
# x use X windows interface, cross platform
# win32 use native win32 libraries
# carbon use Carbon library (for MacOS X)
# beos use native BeOS libraries
# macintosh use MacOS pre-10
# amigaos use native AmigaOS libraries
# sdl use SDL library, cross platform
# svga use SVGALIB library for Linux, allows graphics without X11
# term text only, uses curses/ncurses library, cross platform
# rfb provides an interface to AT&T's VNC viewer, cross platform
# wx use wxWidgets library, cross platform
# nogui no display at all
#
# NOTE: if you use the "wx" configuration interface, you must also use
# the "wx" display library.
#
# Specific options:
# Some display libraries now support specific option to control their
# behaviour. See the examples below for currently supported options.
#=======================================================================
#display_library: amigaos
#display_library: beos
#display_library: carbon
#display_library: macintosh
#display_library: nogui
#display_library: rfb, options="timeout=60" # time to wait for client
#display_library: sdl, options="fullscreen" # startup in fullscreen mode
#display_library: term
#display_library: win32, options="legacyF12" # use F12 to toggle mouse
#display_library: win32, options="windebug" # use experimental debugger gui
#display_library: wx
#display_library: x
#=======================================================================
# ROMIMAGE:
# The ROM BIOS controls what the PC does when it first powers on.
# Normally, you can use a precompiled BIOS in the source or binary
# distribution called BIOS-bochs-latest. The ROM BIOS is usually loaded
# starting at address 0xf0000, and it is exactly 64k long. Another option
# is 128k BIOS which is loaded at address 0xe0000.
# You can also use the environment variable $BXSHARE to specify the
# location of the BIOS.
# The usage of external large BIOS images (up to 512k) at memory top is
# now supported, but we still recommend to use the BIOS distributed with
# Bochs. Now the start address can be calculated from image size.
#=======================================================================
romimage: file=$BXSHARE/BIOS-bochs-latest
#romimage: file=mybios.bin, address=0xfff80000 # 512k at memory top
#=======================================================================
# CPU:
# This defines cpu-related parameters inside Bochs:
#
# COUNT:
# Set the number of processors:cores per processor:threads per core
# when Bochs is compiled for SMP emulation.
# Bochs currently supports up to 8 threads running simultaniosly.
# If Bochs is compiled without SMP support, it won't accept values
# different from 1.
#
# QUANTUM:
# Maximum amount of instructions allowed to execute by processor before
# returning control to another cpu. This option exists only in Bochs
# binary compiled with SMP support.
#
# RESET_ON_TRIPLE_FAULT:
# Reset the CPU when triple fault occur (highly recommended) rather than
# PANIC. Remember that if you trying to continue after triple fault the
# simulation will be completely bogus !
#
# IPS:
# Emulated Instructions Per Second. This is the number of IPS that bochs
# is capable of running on your machine. You can recompile Bochs with
# --enable-show-ips option enabled, to find your workstation's capability.
# Measured IPS value will then be logged into your log file or status bar
# (if supported by the gui).
#
# IPS is used to calibrate many time-dependent events within the bochs
# simulation. For example, changing IPS affects the frequency of VGA
# updates, the duration of time before a key starts to autorepeat, and
# the measurement of BogoMips and other benchmarks.
#
# Examples:
#
# Bochs Machine/Compiler Mips
# ____________________________________________________________________
# 2.2.6 2.6Ghz Intel Core 2 Duo with WinXP/g++ 3.4 21 to 25 Mips
# 2.2.6 2.1Ghz Athlon XP with Linux 2.6/g++ 3.4 12 to 15 Mips
# 2.0.1 1.6Ghz Intel P4 with Win2000/g++ 3.3 5 to 7 Mips
# 1.4 650Mhz Athlon K-7 with Linux 2.4.4/egcs-2.91.66 2 to 2.5 Mips
# 1.4 400Mhz Pentium II with Linux 2.0.36/egcs-1.0.3 1 to 1.8 Mips
#=======================================================================
cpu: count=1, ips=10000000, reset_on_triple_fault=1
#=======================================================================
# MEGS
# Set the number of Megabytes of physical memory you want to emulate.
# The default is 32MB, most OS's won't need more than that.
# The maximum amount of memory supported is 2048Mb.
#=======================================================================
#megs: 256
#megs: 128
#megs: 64
megs: 32
#megs: 16
#megs: 8
#=======================================================================
# OPTROMIMAGE[1-4]:
# You may now load up to 4 optional ROM images. Be sure to use a
# read-only area, typically between C8000 and EFFFF. These optional
# ROM images should not overwrite the rombios (located at
# F0000-FFFFF) and the videobios (located at C0000-C7FFF).
# Those ROM images will be initialized by the bios if they contain
# the right signature (0x55AA) and a valid checksum.
# It can also be a convenient way to upload some arbitrary code/data
# in the simulation, that can be retrieved by the boot loader
#=======================================================================
#optromimage1: file=optionalrom.bin, address=0xd0000
#optromimage2: file=optionalrom.bin, address=0xd1000
#optromimage3: file=optionalrom.bin, address=0xd2000
#optromimage4: file=optionalrom.bin, address=0xd3000
#optramimage1: file=/path/file1.img, address=0x0010000
#optramimage2: file=/path/file2.img, address=0x0020000
#optramimage3: file=/path/file3.img, address=0x0030000
#optramimage4: file=/path/file4.img, address=0x0040000
#=======================================================================
# VGAROMIMAGE
# You now need to load a VGA ROM BIOS into C0000.
#=======================================================================
#vgaromimage: file=bios/VGABIOS-elpin-2.40
vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
#vgaromimage: file=bios/VGABIOS-lgpl-latest-cirrus
#=======================================================================
# VGA:
# Here you can specify the display extension to be used. With the value
# 'none' you can use standard VGA with no extension. Other supported
# values are 'vbe' for Bochs VBE and 'cirrus' for Cirrus SVGA support.
#=======================================================================
#vga: extension=cirrus
vga: extension=vbe
#=======================================================================
# 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' (or 'floppy').
#
# 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)
# floppya: 320k=path, status=inserted (320K 5.25" floppy)
# floppya: 180k=path, status=inserted (180K 5.25" floppy)
# floppya: 160k=path, status=inserted (160K 5.25" floppy)
# floppya: image=path, status=inserted (guess type from image size)
#
# 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 win32 platforms, use drive letters
# such as a: or b: as the path. The parameter 'image' works with image files
# only. In that case the size must match one of the supported types.
#=======================================================================
floppya: 1_44=/dev/fd0, status=inserted
#floppya: image=../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=/dev/rfd0a, status=inserted
#=======================================================================
# FLOPPYB:
# See FLOPPYA above for syntax
#=======================================================================
#floppyb: 1_44=b:, status=inserted
#floppyb: 1_44=b.img, status=inserted
#=======================================================================
# ATA0, ATA1, ATA2, ATA3
# ATA controller for hard disks and cdroms
#
# ata[0-3]: enabled=[0|1], ioaddr1=addr, ioaddr2=addr, irq=number
#
# These options enables up to 4 ata channels. For each channel
# the two base io addresses and the irq must be specified.
#
# ata0 and ata1 are enabled by default with the values shown below
#
# Examples:
# ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
# ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
# ata2: enabled=1, ioaddr1=0x1e8, ioaddr2=0x3e0, irq=11
# ata3: enabled=1, ioaddr1=0x168, ioaddr2=0x360, irq=9
#=======================================================================
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata2: enabled=0, ioaddr1=0x1e8, ioaddr2=0x3e0, irq=11
ata3: enabled=0, ioaddr1=0x168, ioaddr2=0x360, irq=9
#=======================================================================
# ATA[0-3]-MASTER, ATA[0-3]-SLAVE
#
# This defines the type and characteristics of all attached ata devices:
# type= type of attached device [disk|cdrom]
# mode= only valid for disks [flat|concat|external|dll|sparse|vmware3]
# mode= only valid for disks [undoable|growing|volatile]
# path= path of the image
# cylinders= only valid for disks
# heads= only valid for disks
# spt= only valid for disks
# status= only valid for cdroms [inserted|ejected]
# biosdetect= type of biosdetection [none|auto], only for disks on ata0 [cmos]
# translation=type of translation of the bios, only for disks [none|lba|large|rechs|auto]
# model= string returned by identify device command
# journal= optional filename of the redolog for undoable and volatile disks
#
# Point this at a hard disk image file, cdrom iso file, or physical cdrom
# device. To create a hard disk image, try running bximage. It will help you
# choose the size and then suggest a line that works with it.
#
# In UNIX it may be possible to use a raw device as a Bochs hard disk,
# but WE DON'T RECOMMEND IT. In Windows there is no easy way.
#
# In windows, the drive letter + colon notation should be used for cdroms.
# Depending on versions of windows and drivers, you may only be able to
# access the "first" cdrom in the system. On MacOSX, use path="drive"
# to access the physical drive.
#
# The path is always mandatory. Disk geometry autodetection works with images
# created by bximage if CHS is set to 0/0/0 (cylinders are calculated using
# heads=16 and spt=63). For other hard disk images and modes the cylinders,
# heads, and spt are mandatory.
#
# Default values are:
# mode=flat, biosdetect=auto, translation=auto, model="Generic 1234"
#
# The biosdetect option has currently no effect on the bios
#
# Examples:
# ata0-master: type=disk, mode=flat, path=10M.sample, cylinders=306, heads=4, spt=17
# ata0-slave: type=disk, mode=flat, path=20M.sample, cylinders=615, heads=4, spt=17
# ata1-master: type=disk, mode=flat, path=30M.sample, cylinders=615, heads=6, spt=17
# ata1-slave: type=disk, mode=flat, path=46M.sample, cylinders=940, heads=6, spt=17
# ata2-master: type=disk, mode=flat, path=62M.sample, cylinders=940, heads=8, spt=17
# ata2-slave: type=disk, mode=flat, path=112M.sample, cylinders=900, heads=15, spt=17
# ata3-master: type=disk, mode=flat, path=483M.sample, cylinders=1024, heads=15, spt=63
# ata3-slave: type=cdrom, path=iso.sample, status=inserted
#=======================================================================
ata0-master: type=disk, mode=flat, path="30M.sample"
#ata0-master: type=disk, mode=flat, path="30M.sample", cylinders=615, heads=6, spt=17
#ata0-master: type=disk, mode=flat, path="c.img", cylinders=0 # autodetect
#ata0-slave: type=cdrom, path=D:, status=inserted
#ata0-slave: type=cdrom, path=/dev/cdrom, status=inserted
#ata0-slave: type=cdrom, path="drive", status=inserted
#ata0-slave: type=cdrom, path=/dev/rcd0d, status=inserted
#=======================================================================
# BOOT:
# This defines the boot sequence. Now you can specify up to 3 boot drives,
# which can be 'floppy', 'disk', 'cdrom' or 'network' (boot ROM).
# Legacy 'a' and 'c' are also supported.
# Examples:
# boot: floppy
# boot: cdrom, disk
# boot: network, disk
# boot: cdrom, floppy, disk
#=======================================================================
#boot: floppy
boot: disk
#=======================================================================
# CLOCK:
# This defines the parameters of the clock inside Bochs:
#
# SYNC:
# TO BE COMPLETED (see Greg explanation in feature request #536329)
#
# TIME0:
# Specifies the start (boot) time of the virtual machine. Use a time
# value as returned by the time(2) system call. If no time0 value is
# set or if time0 equal to 1 (special case) or if time0 equal 'local',
# the simulation will be started at the current local host time.
# If time0 equal to 2 (special case) or if time0 equal 'utc',
# the simulation will be started at the current utc time.
#
# Syntax:
# clock: sync=[none|slowdown|realtime|both], time0=[timeValue|local|utc]
#
# Example:
# clock: sync=none, time0=local # Now (localtime)
# clock: sync=slowdown, time0=315529200 # Tue Jan 1 00:00:00 1980
# clock: sync=none, time0=631148400 # Mon Jan 1 00:00:00 1990
# clock: sync=realtime, time0=938581955 # Wed Sep 29 07:12:35 1999
# clock: sync=realtime, time0=946681200 # Sat Jan 1 00:00:00 2000
# clock: sync=none, time0=1 # Now (localtime)
# clock: sync=none, time0=utc # Now (utc/gmt)
#
# Default value are sync=none, time0=local
#=======================================================================
#clock: sync=none, time0=local
#=======================================================================
# FLOPPY_BOOTSIG_CHECK: disabled=[0|1]
# Enables or disables the 0xaa55 signature check on boot floppies
# Defaults to disabled=0
# Examples:
# floppy_bootsig_check: disabled=0
# floppy_bootsig_check: disabled=1
#=======================================================================
floppy_bootsig_check: disabled=0
#=======================================================================
# LOG:
# Give the path of the log file you'd like Bochs debug and misc. verbiage
# to be written to. If you don't use this option or set the filename to
# '-' the output is written to the console. If you really don't want it,
# make it "/dev/null" (Unix) or "nul" (win32). :^(
#
# Examples:
# log: ./bochs.out
# log: /dev/tty
#=======================================================================
#log: /dev/null
log: bochsout.txt
#=======================================================================
# LOGPREFIX:
# This handles the format of the string prepended to each log line.
# You may use those special tokens :
# %t : 11 decimal digits timer tick
# %i : 8 hexadecimal digits of cpu current eip (ignored in SMP configuration)
# %e : 1 character event type ('i'nfo, 'd'ebug, 'p'anic, 'e'rror)
# %d : 5 characters string of the device, between brackets
#
# Default : %t%e%d
# Examples:
# logprefix: %t-%e-@%i-%d
# logprefix: %i%e%d
#=======================================================================
#logprefix: %t%e%d
#=======================================================================
# LOG CONTROLS
#
# Bochs now has four severity levels for event logging.
# panic: cannot proceed. If you choose to continue after a panic,
# don't be surprised if you get strange behavior or crashes.
# error: something went wrong, but it is probably safe to continue the
# simulation.
# info: interesting or useful messages.
# debug: messages useful only when debugging the code. This may
# spit out thousands per second.
#
# For events of each level, you can choose to crash, report, or ignore.
# TODO: allow choice based on the facility: e.g. crash on panics from
# everything except the cdrom, and only report those.
#
# If you are experiencing many panics, it can be helpful to change
# the panic action to report instead of fatal. However, be aware
# that anything executed after a panic is uncharted territory and can
# cause bochs to become unstable. The panic is a "graceful exit," so
# if you disable it you may get a spectacular disaster instead.
#=======================================================================
panic: action=ask
error: action=report
info: action=report
debug: action=ignore
#pass: action=fatal
#=======================================================================
# DEBUGGER_LOG:
# Give the path of the log file you'd like Bochs to log debugger output.
# If you really don't want it, make it /dev/null or '-'. :^(
#
# Examples:
# debugger_log: ./debugger.out
#=======================================================================
#debugger_log: /dev/null
#debugger_log: debugger.out
debugger_log: -
#=======================================================================
# COM1, COM2, COM3, COM4:
# This defines a serial port (UART type 16550A). In the 'term' you can specify
# a device to use as com1. This can be a real serial line, or a pty. To use
# a pty (under X/Unix), create two windows (xterms, usually). One of them will
# run bochs, and the other will act as com1. Find out the tty the com1
# window using the `tty' command, and use that as the `dev' parameter.
# Then do `sleep 1000000' in the com1 window to keep the shell from
# messing with things, and run bochs in the other window. Serial I/O to
# com1 (port 0x3f8) will all go to the other window.
# Other serial modes are 'null' (no input/output), 'file' (output to a file
# specified as the 'dev' parameter), 'raw' (use the real serial port - under
# construction for win32), 'mouse' (standard serial mouse - requires
# mouse option setting 'type=serial', 'type=serial_wheel' or 'type=serial_msys')
# and 'socket' (connect a networking socket).
#
# Examples:
# com1: enabled=1, mode=null
# com1: enabled=1, mode=mouse
# com2: enabled=1, mode=file, dev=serial.out
# com3: enabled=1, mode=raw, dev=com1
# com3: enabled=1, mode=socket, dev=localhost:8888
#=======================================================================
#com1: enabled=1, mode=term, dev=/dev/ttyp9
#=======================================================================
# PARPORT1, PARPORT2:
# This defines a parallel (printer) port. When turned on and an output file is
# defined the emulated printer port sends characters printed by the guest OS
# into the output file. On some platforms a device filename can be used to
# send the data to the real parallel port (e.g. "/dev/lp0" on Linux, "lpt1" on
# win32 platforms).
#
# Examples:
# parport1: enabled=1, file="parport.out"
# parport2: enabled=1, file="/dev/lp0"
# parport1: enabled=0
#=======================================================================
parport1: enabled=1, file="parport.out"
#=======================================================================
# SB16:
# This defines the SB16 sound emulation. It can have several of the
# following properties.
# All properties are in the format sb16: property=value
# midi: The filename is where the midi data is sent. This can be a
# device or just a file if you want to record the midi data.
# midimode:
# 0=no data
# 1=output to device (system dependent. midi denotes the device driver)
# 2=SMF file output, including headers
# 3=output the midi data stream to the file (no midi headers and no
# delta times, just command and data bytes)
# wave: This is the device/file where wave output is stored
# wavemode:
# 0=no data
# 1=output to device (system dependent. wave denotes the device driver)
# 2=VOC file output, incl. headers
# 3=output the raw wave stream to the file
# log: The file to write the sb16 emulator messages to.
# loglevel:
# 0=no log
# 1=resource changes, midi program and bank changes
# 2=severe errors
# 3=all errors
# 4=all errors plus all port accesses
# 5=all errors and port accesses plus a lot of extra info
# dmatimer:
# microseconds per second for a DMA cycle. Make it smaller to fix
# non-continuous sound. 750000 is usually a good value. This needs a
# reasonably correct setting for the IPS parameter of the CPU option.
#
# For an example look at the next line:
#=======================================================================
#sb16: midimode=1, midi=/dev/midi00, wavemode=1, wave=/dev/dsp, loglevel=2, log=sb16.log, dmatimer=600000
#=======================================================================
# VGA_UPDATE_INTERVAL:
# Video memory is scanned for updates and screen updated every so many
# virtual seconds. The default is 40000, about 25Hz. Keep in mind that
# you must tweak the 'cpu: ips=N' directive to be as close to the number
# of emulated instructions-per-second your workstation can do, for this
# to be accurate.
#
# Examples:
# vga_update_interval: 250000
#=======================================================================
vga_update_interval: 300000
# using for Winstone '98 tests
#vga_update_interval: 100000
#=======================================================================
# KEYBOARD_SERIAL_DELAY:
# Approximate time in microseconds that it takes one character to
# be transfered from the keyboard to controller over the serial path.
# Examples:
# keyboard_serial_delay: 200
#=======================================================================
keyboard_serial_delay: 250
#=======================================================================
# KEYBOARD_PASTE_DELAY:
# Approximate time in microseconds between attempts to paste
# characters to the keyboard controller. This leaves time for the
# guest os to deal with the flow of characters. The ideal setting
# depends on how your operating system processes characters. The
# default of 100000 usec (.1 seconds) was chosen because it works
# consistently in Windows.
#
# If your OS is losing characters during a paste, increase the paste
# delay until it stops losing characters.
#
# Examples:
# keyboard_paste_delay: 100000
#=======================================================================
keyboard_paste_delay: 100000
#=======================================================================
# MOUSE:
# This option prevents Bochs from creating mouse "events" unless a mouse
# is enabled. The hardware emulation itself is not disabled by this.
# You can turn the mouse on by setting enabled to 1, or turn it off by
# setting enabled to 0. Unless you have a particular reason for enabling
# the mouse by default, it is recommended that you leave it off.
# You can also toggle the mouse usage at runtime (control key + middle
# mouse button on X11, SDL, wxWidgets and Win32).
# With the mouse type option you can select the type of mouse to emulate.
# The default value is 'ps2'. The other choices are 'imps2' (wheel mouse
# on PS/2), 'serial', 'serial_wheel' and 'serial_msys' (one com port requires
# setting 'mode=mouse'). To connect a mouse to an USB port, see the 'usb1'
# option (requires PCI and USB support).
#
# Examples:
# mouse: enabled=1
# mouse: enabled=1, type=imps2
# mouse: enabled=1, type=serial
# mouse: enabled=0
#=======================================================================
mouse: enabled=0
#=======================================================================
# private_colormap: Request that the GUI create and use it's own
# non-shared colormap. This colormap will be used
# when in the bochs window. If not enabled, a
# shared colormap scheme may be used. Not implemented
# on all GUI's.
#
# Examples:
# private_colormap: enabled=1
# private_colormap: enabled=0
#=======================================================================
private_colormap: enabled=0
#=======================================================================
# fullscreen: ONLY IMPLEMENTED ON AMIGA
# Request that Bochs occupy the entire screen instead of a
# window.
#
# Examples:
# fullscreen: enabled=0
# fullscreen: enabled=1
#=======================================================================
#fullscreen: enabled=0
#screenmode: name="sample"
#=======================================================================
# ne2k: NE2000 compatible ethernet adapter
#
# Examples:
# ne2k: ioaddr=IOADDR, irq=IRQ, mac=MACADDR, ethmod=MODULE, ethdev=DEVICE, script=SCRIPT
#
# ioaddr, irq: You probably won't need to change ioaddr and irq, unless there
# are IRQ conflicts.
#
# mac: The MAC address MUST NOT match the address of any machine on the net.
# Also, the first byte must be an even number (bit 0 set means a multicast
# address), and you cannot use ff:ff:ff:ff:ff:ff because that's the broadcast
# address. For the ethertap module, you must use fe:fd:00:00:00:01. There may
# be other restrictions too. To be safe, just use the b0:c4... address.
#
# ethdev: The ethdev value is the name of the network interface on your host
# platform. On UNIX machines, you can get the name by running ifconfig. On
# Windows machines, you must run niclist to get the name of the ethdev.
# Niclist source code is in misc/niclist.c and it is included in Windows
# binary releases.
#
# script: The script value is optional, and is the name of a script that
# is executed after bochs initialize the network interface. You can use
# this script to configure this network interface, or enable masquerading.
# This is mainly useful for the tun/tap devices that only exist during
# Bochs execution. The network interface name is supplied to the script
# as first parameter
#
# If you don't want to make connections to any physical networks,
# you can use the following 'ethmod's to simulate a virtual network.
# null: All packets are discarded, but logged to a few files.
# arpback: ARP is simulated. Disabled by default.
# vde: Virtual Distributed Ethernet
# vnet: ARP, ICMP-echo(ping), DHCP and read/write TFTP are simulated.
# The virtual host uses 192.168.10.1.
# DHCP assigns 192.168.10.2 to the guest.
# TFTP uses the ethdev value for the root directory and doesn't
# overwrite files.
#
#=======================================================================
# ne2k: ioaddr=0x300, irq=9, mac=fe:fd:00:00:00:01, ethmod=fbsd, ethdev=en0 #macosx
# ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:00, ethmod=fbsd, ethdev=xl0
# ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:00, ethmod=linux, ethdev=eth0
# ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:01, ethmod=win32, ethdev=MYCARD
# ne2k: ioaddr=0x300, irq=9, mac=fe:fd:00:00:00:01, ethmod=tap, ethdev=tap0
# ne2k: ioaddr=0x300, irq=9, mac=fe:fd:00:00:00:01, ethmod=tuntap, ethdev=/dev/net/tun0, script=./tunconfig
# ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:01, ethmod=null, ethdev=eth0
# ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:01, ethmod=vde, ethdev="/tmp/vde.ctl"
# ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:01, ethmod=vnet, ethdev="c:/temp"
#=======================================================================
# KEYBOARD_MAPPING:
# This enables a remap of a physical localized keyboard to a
# virtualized us keyboard, as the PC architecture expects.
# If enabled, the keymap file must be specified.
#
# Examples:
# keyboard_mapping: enabled=1, map=gui/keymaps/x11-pc-de.map
#=======================================================================
keyboard_mapping: enabled=0, map=
#=======================================================================
# KEYBOARD_TYPE:
# Type of keyboard return by a "identify keyboard" command to the
# keyboard controler. It must be one of "xt", "at" or "mf".
# Defaults to "mf". It should be ok for almost everybody. A known
# exception is french macs, that do have a "at"-like keyboard.
#
# Examples:
# keyboard_type: mf
#=======================================================================
#keyboard_type: mf
#=======================================================================
# USER_SHORTCUT:
# This defines the keyboard shortcut to be sent when you press the "user"
# button in the headerbar. The shortcut string is a combination of maximum
# 3 key names (listed below) separated with a '-' character. The old-style
# syntax (without the '-') still works for the key combinations supported
# in Bochs 2.2.1.
# Valid key names:
# "alt", "bksl", "bksp", "ctrl", "del", "down", "end", "enter", "esc",
# "f1", ... "f12", "home", "ins", "left", "menu", "minus", "pgdwn", "pgup",
# "plus", "right", "shift", "space", "tab", "up", "win" and "print".
#
# Example:
# user_shortcut: keys=ctrl-alt-del
#=======================================================================
#user_shortcut: keys=ctrl-alt-del
#=======================================================================
# I440FXSUPPORT:
# This option controls the presence of the i440FX PCI chipset. You can
# also specify the devices connected to PCI slots. Up to 5 slots are
# available now. These devices are currently supported: ne2k, pcivga,
# pcidev and pcipnic. If Bochs is compiled with Cirrus SVGA support
# you'll have the additional choice 'cirrus'.
#
# Example:
# i440fxsupport: enabled=1, slot1=pcivga, slot2=ne2k
#=======================================================================
i440fxsupport: enabled=1
#=======================================================================
# USB1:
# This option controls the presence of the USB root hub which is a part
# of the i440FX PCI chipset. With the portX option you can connect devices
# to the hub (currently supported: 'mouse', 'tablet', 'keypad' and 'disk').
# If you connect the mouse or tablet to one of the ports, Bochs forwards the
# mouse movement data to the USB device instead of the selected mouse type.
# When connecting the keypad to one of the ports, Bochs forwards the input of
# the numeric keypad to the USB device instead of the PS/2 keyboard.
# To connect a flat image as an USB hardisk you can use the 'disk' device with
# the path to the image separated with a colon (see below).
#=======================================================================
#usb1: enabled=1
#usb1: enabled=1, port1=mouse, port2=disk:usbdisk.img
#=======================================================================
# CMOSIMAGE:
# This defines image file that can be loaded into the CMOS RAM at startup.
# The rtc_init parameter controls whether initialize the RTC with values stored
# in the image. By default the time0 argument given to the clock option is used.
# With 'rtc_init=image' the image is the source for the initial time.
#
# Example:
# cmosimage: file=cmos.img, rtc_init=image
#=======================================================================
#cmosimage: file=cmos.img, rtc_init=time0
#=======================================================================
# MAGIC_BREAK:
# This enables the "magic breakpoint" feature when using the debugger.
# The useless cpu instruction XCHG BX, BX causes Bochs to enter the
# debugger mode. This might be useful for software development.
#
# Example:
# magic_break: enabled=1
#=======================================================================
#magic_break: enabled=1
#=======================================================================
# other stuff
#=======================================================================
#load32bitOSImage: os=nullkernel, path=../kernel.img, iolog=../vga_io.log
#load32bitOSImage: os=linux, path=../linux.img, iolog=../vga_io.log, initrd=../initrd.img
#text_snapshot_check: enabled=1
#print_timestamps: enabled=1
#-------------------------
# PCI host device mapping
#-------------------------
#pcidev: vendor=0x1234, device=0x5678
#=======================================================================
# GDBSTUB:
# Enable GDB stub. See user documentation for details.
# Default value is enabled=0.
#=======================================================================
#gdbstub: enabled=0, port=1234, text_base=0, data_base=0, bss_base=0
#=======================================================================
# IPS:
# The IPS directive is DEPRECATED. Use the parameter IPS of the CPU
# directive instead.
#=======================================================================
#ips: 10000000
#=======================================================================
# for Macintosh, use the style of pathnames in the following
# examples.
#
# vgaromimage: :bios:VGABIOS-elpin-2.40
# romimage: file=:bios:BIOS-bochs-latest, address=0xf0000
# floppya: 1_44=[fd:], status=inserted
#=======================================================================

View File

@@ -1 +0,0 @@
"c:\program files\Bochs-2.3.6\bochsdbg" -q -f bochsrc-0.12-hd.bxrc

View File

@@ -1,193 +0,0 @@
Linux 0.1x System
This is a old linux system containning almost all the tools and coresponding
sources at that time. The kernel version is 0.12. But the root file system
can be used for kernel 0.11, 0.12 and 0.9x.
Due to the kernel limits (no ptrace syscall), this system does not have any
debug tools such gdb, but it contains gcc 1.40 develop envirnment. So you can
Compile the kernel and each kind of tools using the sources included.
In order to remain the kernel as its kind, only few patches are used. These
patches include:
Poe-IGL(Shadow Init) init patches to init/main.c;
syscall rename patches to fs/namei.c;
Changlog:
=========
2008.03.24
Nothing changed with kernel, but the santax of .bxrc files to use
with new bochs versions (2.3.x or later).
2004.03.23
Built two bash 1.05 shells w/o job control. (bash.job, bash.noj)
The bash.noj can be used with origanl bootimage-0.11 image file.
(Now named rootimage-0.11.Z)
2004.03.15
Try to compile linux 0.01 kernel. The procedure of compiling is
easy and almost got no errors except need to add SYSSIZE manually.
But the Image cannot be used. It can only be operated on hd(s). But
I got "Bad partition table on drive 0". Using the debug function
of Bochs, I followed into the procedure sys_setup() and found that
the rw_abs_hd() in hd.c return successfully but the buffer conatins
nothing! So the check sentence for '55','AA' certainly not passed.
Maybe this bootimage can be used with in an old pc. :)
2004.03.14
Clean up all *.o files from /usr/src/ to reduce the ocuupation of
disk space. Add a 'w' command. Insert into sched.c two funcs:
count_active_tasks() & calc_load(). Added some constants in
sched.h (EXP_1 etc.)
2004.03.13
Updated the man tools. Modified its config.h for using nroff (e.g.
Deleted the -Tascii options). Added the gzip-1.2.4. There is a
gzip-1.0.4 source code. But when I found it in the Oldlinux/gnu
directory, I had already installed the gzip-1.2.4 :)(gzip, gunzip
and zcat are the same).
2004.03.12
Add two more commands to the system: fdisk, ps (include free & kdb).
The kernel is heavily patched for the ps. When the kernel Image was
rebuilt, You must use command:
ps U /usr/src/linux/tools/system
to update the database used for ps (in /etc/psdatabase).
2004.03.11
The bootimage-0.95 built from source code linux-0.95.tar.Z can not
be used with HD! I have suck with it! Originally, I want to build
a linux 0.12+ by using the ptrace code from 0.95 source code. But
this error had cost my 2 days time!
2004.03.09
Built bootimage-0.95 using souce code linux-0.95.tar.Z. The compiler
used is gcc 2.2.2d. When using gcc 1.40, I got 'program cc1 got fatal
signal 6' at compiling fork.c and console.c. When delete '-O', these
two piece of codes can be compiled. But the bootimage built is not
correctly (barfs regs messages) and couldn't be used.
Built bootimage-0.10. You must modify the Makefile. Because it had
been heavily modified by tso. There is a problem in detecting hd in
hd.c file. So I have to modi it to detect no hds (NR_HD =0). Another
place you must modify is include/linux/kernel.h. Comment out the
function prototypes of malloc & free_s. Because there were no these
two functions in 0.10. The kernel must use these two functions in
libc.a The new image file is bootimage-0.10.1. In the boot/
directory, there is a file used for converting as86 assembly to gas
assembly language.
2004.03.08
Not really!!!!!!!!!!!!!!!!!!!!
As I doubt that the error (Virtual memory execeed in 'new') was
caused by gcc2.2.2 not setting ____brk_addr for the program,
I modified the crt0.s. Added following 4 lines at the top:
/*-------------------------------------------------*/
movl $45, %eax /* syscal setbrk() */
movl $0, %ebx /* Actually to get the brk */
int $0x80
movl %eax, ____brk_addr
/*--------------------------------------------------*/
Now, triumph!!! The gcc 2.2.2 is working !!!
This method was stimulated by the 0.98.3's crt0.s
Now relinking the program with this new crt0.o, everything goes
OK! No '-g' or '-static' needed.
Built 'install', 'cksum', 'bc', 'tput', 'crond'. Creates 'gcrt0.o'
and modified gcc 2.2.2's specs. Let it not search .../shared
& .../jump directory. Now the specs looks like:
/*-------------------------------*/
...
*startfile:
%{g*:crt0.o%s} %{!g*:%{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s )}}
...
/*---------------------------------*/
The gcrt0.s looks like:
/*---------------------------------------------*/
text
.globl _environ
__entry:
/* Set brk_addr. */
movl $45,%eax
movl $0,%ebx
int $0x80
movl %eax,____brk_addr
/* setup profiling. This block is new. diff from crt0.s */
pushl $__mcleanup
call _atexit
addl $4, %esp
pushl $_etest
pushl $__entry
call _monstartup
addl $8,%esp
/* Setup _environ and call _main */
movl 8(%esp),%eax
movl %eax,_environ
call _main
pushl %eax
1: call _exit
jmp 1b
.data
_environ:
.long 0
/*--------------------------------------------*/
Copyed the 'sync' cmd to the rootimage-0.11.
In order to use gdb on linux 0.12, I will add some syscalls
to the kernel. The first one maybe sys_ptrace.
2004.03.07
Abort the installation of gcc 2.2.2d on linux 0.12 kernel!
The reason is: The linker ld compiled using source binsrc.tar.Z
can be used for gcc 1.40 and gcc 2.2.2. But The successfully
compiled program that uses gcc222 will display error message:
" Virtual memory exceeded in 'new'" when used. So there is still
some errors in gcc 2.2.2d compiled in kernel 0.12 environment.
......
Now the gcc 2.2.2 can be used. But when using, we must include
flag '-g' or '-static' for static linking, otherwise the linker
will search a noexited directory /usr/lib/gcc-lib/.../shared.
The linker can use new one compiled from binsrc.tar.Z or the old
one for gcc 1.40.
The gcc 2.2.2 is very unstable in 0.12 environmen. We abandend it
at last !!! (Virtuall memory execeeded in 'new')
2004.03.06
Because the ar & nm for gcc 1.40 could not recognize the 2.2.2
libc.a correctly, I had to rebuild these compiling tools.
Get the binutils source (binsrc.tar.Z) modified by H.J.L. Compiled
it using linux 0.98.3 (ygg1992). Then set the machine type to zero
in all compiled binaries. So they can ran in in linux 0.12 environ.
By using the 0.98.3's <include> & </usr/lib/gcc-lib/i386-linux/2.2.2d>
libs, all compile time error was dispear. but when using gcc 2.2.2 to
compile, at the linking period, there would be still contain some
unkown error messages, ex. "Function not implemented for hello" by
the ld. Maybe this is caused by 'specs' for the gcc or, caused by
some not implemented syscalls called by the ld. I'll check it
tommorrow.
2004.03.05
Compiling the gcc 2.2.2. I can only correctly compile one stage.
The resultings gcc of the second stage will cause general protection
error. I don't know why. The installed the first stage gcc 2.2.2,
I can only use the old libc.a. As the ld or nm etc didn't reconize
some of the modules in libc.a (showing "malformed").
The orignal include files can be used. the new include (0.98.3's)
files will cause gcc generate some errors (___cerr_sbuf or something)
So I am going to compile the Libc.2.2.2 tomorrow.
2004.03.04
Compiling the kernel 0.11. fix some issues associtated with file
date & time. Also did a diff ( diff -r linux-0.11 linux-0.11.org)
The linux 0.11 system is now fully completed.
2004.03.02
Add Linus rename syscall patch to enable moving directory.
Modfy init/main.c, change the default supervior's directory (root)
from /usr/root to /root.
2004.02.29
Add Shadow Init patch to enable using login.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6dc6cf34b99fb3dc840e42902e2eb16abe8447ab5de0a8abd90d65478a2c700
size 251338752