Hello,
Today I decided to try running Plex86 on my Linux system using my real hard
disk ("/dev/hda"). What I did was to re-create the device special file in
my user account via "mknod", hack "default_image_t::open" in
"user/plugins/bochs/iodev/harddrv.cc" so that it passes "O_RDONLY" instead of
"O_RDWR" to "open()" (I don't want the program to mess up my hard disk just
yet), create a configuration file based on "conf/freedos" but with the
correct settings for my hard disk, compile, and run. However, instead of
starting Win95, the VM gave me the following error:
Invalid system disk
Replace the disk, and then press any key
The output from Plex86 was as follows:
Processing command-line options
Opening VM (/dev/plex86)
Processing config file /home/plex86/conf...
Allocating 4MB of physical memory in VM
Mapping virtualized physical memory into monitor
Zeroing virtualized physical memory
Mapping monitor print buffer into user mem.
bochs: ips = 1000000
unmapped_c::init: IGNORING unmapped ports
bochs: [cmos] Setting initial clock to: Mon Dec 18 23:30:23 2000
bochs: Opening image for device 0
bochs: bx_options.floppy_command_delay = 500
vga construct static
bochs: font_width = 8
bochs: font_height = 16
bochs: default_depth = 16
bochs: waiting for MapNotify
bochs: MapNotify found.
bochs: vga: interval=200000
vga init called
bochs: TTY not used, serial port is not connected
ROM: loading image '../bios/BIOS-plex86-2000_0817a' @ 0xf0000 (65536 bytes)
ROM: loading image '../bios/VGABIOS-elpin-2.40' @ 0xc0000 (32768 bytes)
Setting prescan depth to 3
prescan on
Processed 63 lines of config file '/home/plex86/conf'
Initializing plugins
Running VM
bochs: timer0 period set to 18 hz
bochs: CMOS: write reg 14h: value = 04h
bochs: vga: io write: 3cf: reg 05: value = 10h
bochs: vga: io write: 3da: ignoring: feature ctrl & vert sync
bochs: *** io read 3c5 case 1: sequencer clocking mode
bochs: vga: io write 3c0: address mode reg=16
bochs: vga: io write 3c0: address mode reg=17
bochs: vga: io write 3c0: address mode reg=18
bochs: vga: io write 3c0: address mode reg=19
bochs: vga: io write 3c0: address mode reg=20
bochs: update(): color text mode: mem map is 1
bochs: *** io read 3c5 case 1: sequencer clocking mode
bochs: vga: io write: 3cf: reg 05: value = 10h
bochs: *** io read 3c5 case 1: sequencer clocking mode
What should I do to get everything working? Or are there currently any issues
with running Plex86 on real device files?
Thanks,
--
# http://www.bigfoot.com/~expm1/ gpg:58a4f695e9696cf1179a7cc9e2fc02b8ed223547
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
Comment: For info see http://www.geekcode.com/
GCS/MU/>AT d- s:(+) a-- C(++) UL>++++ P++(+++) L++(+++) E- W++>+++ N+ o?>++ K?
w--- O? M? V? PS+ PE Y+>++ PGP++>++++ t? 5? X? R- tv- b+>+++ DI(+) D+ G>++++
e>+++++ h-->--- r-->+++ y
-----END GEEK CODE BLOCK-----