Hi Everyone,
 
I'm trying to get win98 on partition one of my hard-drive ( > 500MB - about 2 GB, actually) booting under Plex under Linux (Slack 7.1, +/-) - and I know that's at least 3 unsupported things, but it is a useful configuration and, hey, it's about time, you know. Anyhoo, I used the following conf file (win98 in the tarball I uploaded - oops!):
 
 
####################################################################
# This is an example plex86 configuration file
####################################################################
 
####################################################################
# Memory settings
####################################################################
 
# number of megabytes for vm
memory = 16
 
####################################################################
# Plugins
####################################################################
 
plugin = ./plugins/bochs/plugin-bochs.so
bochs-opt boot: c
bochs-opt diskc: file="/dev/hda1", cyl=8959, heads=15, spt=63
#bochs-opt floppya: 1_44=../../1.44a, status=inserted
bochs-opt keyboard_serial_delay: 200
bochs-opt floppy_command_delay: 500
bochs-opt vga_update_interval: 200000
bochs-opt mouse: enabled=0
bochs-opt private_colormap: enabled=0
bochs-opt i440fxsupport: enabled=0
bochs-opt newharddrivesupport: enabled=1
bochs-opt ips: 1000000
bochs-opt time0: 938581955
bochs-init
 
# The system BIOS
load-rom: file=../bios/BIOS-plex86-current, address=0xf0000
 
# The VGA BIOS
load-rom: file=../bios/VGABIOS-elpin-2.40, address=0xc0000
 
 
####################################################################
# Debugging settings
####################################################################
# syntax for disassembly
db_syntax = at&t
 
 
####################################################################
# VM tweaks
####################################################################
 
# Maximum depth that the scan-before-execute code will try
# to recursively prescan code in the current code page, by
# following intra-page branches.
prescan: depth = 3, ring3 = on
 
 
####################################################################
# end of config file
####################################################################
 
When I ran Plex, I got the following:
Processing command-line options
Opening VM (/dev/plex86)
Processing config file ../conf/win98...
Allocating 16MB 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: Wed Sep 29 01:12:35 1999
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 = 24
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-current' @ 0xf0000 (65536 bytes)
ROM: loading image '../bios/VGABIOS-elpin-2.40' @ 0xc0000 (32768 bytes)
Setting prescan depth to 3
prescan on
Processed 62 lines of config file '../conf/win98'
Initializing plugins
Running VM
::init_monitor OK -----------------
nexus_size = 0x24E
 
bochs: CMOS: write reg 14h: value = 04h
::sysIOOut: No handler defined for port 0x46E8!.
 
::sysIOOut: No handler defined for port 0x102!.
 
::sysIOOut: No handler defined for port 0x4AE8!.
 
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: *** 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
::fetchDecode InvalidOpcode b1=0xFF nnn=7
 
::#UD: FF causes exception 6
 
::fetchDecode InvalidOpcode b1=0xFF nnn=7
 
::#UD: FF causes exception 6
 
::fetchDecode InvalidOpcode b1=0xFF nnn=7
 
::#UD: FF causes exception 6
 
...
The "::fetchDecode..." and "#UD:..." pair of lines continue forever. (I did have an Elpin Bios screen up at the time, though).
 
Hmm... 46E8, 102 and 4AE8 aren't mapped on my (physical) system and 3Cx looks like VGA to me, so I probably am not getting out of the Bios...
 
I'll be looking into this and will post progress. Meanwhile, any suggestions welcome...
 
Colin
 
 
 

Reply via email to