please explain to me why video/bios shadowing must be disabled to use graphics... -- Victory!!!
Hi.
Quoted 5 lines · Bart Oldeman
Quoted 3 lines
Doing the reset call from within DOS brings everything back in a sane state.
Just wondering, why this reset is needed so badly?Just a very rough guess: proper initialization of certain BIOS variables in the range 0x400-0x4ff (0040:0000-0040:00ff) ?
Exactly! Plus some int vectors, which I can easily identify as they are pointing to a vbios seg.
Now I am getting that vectors together with 0x40:00-ff from /dev/mem, skipping the INIT and opening the high ports and... - I have a full-screen VESA!
There are still some minor problems to resolve, but I expect to get the new video startup code within a few weeks, just let me play full-screen GTA a little:)
Oh, and there is still one very bad thing, which is that we can't open the high ports in a fast mode (or can we?), so sometimes it works even slower than xdos... why ioperm() doesn't allow
Quoted 1 line
0x3ffports?..
Quoted 5 lines · Stas Sergeev
Oh, and there is still one very bad thing, which is that we can't open the high ports in a fast mode (or can we?), so sometimes it works even slower than xdos... why
ioperm()doesn't allowQuoted 1 line
0x3ffports?..
Once upon a time Linus decided that a 128 byte per-process i/o bitmap is ok, but 8192 bytes is excessively large.
see also iopl(2)
Bart