- "Kevin P. Lawton" <[EMAIL PROTECTED]>: Wed Aug 15 18:32:28 CEST 2001
Many more moularization changes. Now, all the IO devices which are
compiled by default, use a plugin interface and are loaded as
individual plugins. I haven't cleaned up some of the devices which
are not compiled in by default.
Only tested and fixed the conf/ files for freedos and win95.
If you try with your own conf files, you must modify them
like 'freedos' or 'win95'. This interface will be in flux for
a while, as I'm making several passes through the code to
clean it up, while keeping things in working condition.
Currently, options are set through the old bx_options structure,
but next I plan to fix this, passing options directly to each
plugin via a more modular/intelligent get/set option interface.
Here is a list of the devices which are now plugins (an
excerpt from a conf file):
plugin = ./plugins/bochs/iodev/cmos.so
plugin = ./plugins/bochs/iodev/dma.so
plugin = ./plugins/bochs/iodev/system.so
plugin = ./plugins/bochs/iodev/vga.so
plugin = ./plugins/bochs/iodev/serial.so
plugin = ./plugins/bochs/iodev/parallel.so
plugin = ./plugins/bochs/iodev/keyboard.so
plugin = ./plugins/bochs/iodev/floppy.so
plugin = ./plugins/bochs/iodev/harddrv.so
Also as I make passes through the code, I'll clean up the plugin
interface too. It's a little hacky in parts. But if I redesign
it all in one shot, I'm sure I'm going to introduce some big errors
which will make testing/debugging really difficult.
-Kevin
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kevin Lawton [EMAIL PROTECTED]
MandrakeSoft, Inc. Plex86 developer
http://www.linux-mandrake.com/ http://www.plex86.org/