Ramon van Handel wrote:
> I also moved the vga_io.log stuff into the "real"
> BIOS, and converted the IO using a perl script into
> plugins/bios/vga.S. Trying to run this uncovered a whole
> stack of bugs in the way the plugin system currently handles
> IO, which I fixed. A patch is attached with all of this.
Hmm, this can't be quite correct: you have all those
'op_size * count' in there, which is broken; a REP OUTSD
might read from a lot of memory addresses (op_size * count),
but it writes everything to the *same* 4 bytes in I/O space.
So it really should be 'op_size' as it used to be ...
And b.t.w. I don't think we need to consider the case that
the 4 I/O bytes accessed by a single OUTSD/INSD instruction
are registered by different drivers; if this really happens,
it must be a bug anyway.
Bye,
Ulrich
--
Ulrich Weigand,
IMMD 1, Universitaet Erlangen-Nuernberg,
Martensstr. 3, D-91058 Erlangen, Phone: +49 9131 85-27688