Hi,
In an effort to try to understand how a specific VGA card (the
CyberPro505x) is working, I'm using dosemu as a tool to capture port I/O.
With the card, there is a small program that can read (and write) to
specific ports for the card, displaying the result. I tried to write a
similar tool but that didn't work, so I'm trying to see what the original
tool is doing exactly.
When I run the program, dosemu logs indicate it is reading/writing to ports
0x3ce and 0x3cf (as well as 0x3c1, from other attempts):
"
PORTw: 3ce not available for write
PORTb: 3cf not available for read
PORTb: 3cf not available for read
"
I assumed this error was because I didn't allow port access in the conf
file. So I added:
"
$_ports = "0x3ce 0x3cf 0x3c1"
$_video = "vga"
$_console = (0)
$_graphics = (1)
$_videoportaccess = (1)
"
to the configuration file.
Now I also get:
"
PORT: allow_io for port 0x03ce:1 perm=3 or=0 and=ff
PORT: in range 0x03c0-0x03df already registered as vga+
PORT: no device specified for vga+
PORT: allow_io for port 0x03cf:1 perm=3 or=0 and=ff
PORT: in range 0x03c0-0x03df already registered as vga+
PORT: no device specified for vga+
PORT: allow_io for port 0x03c1:1 perm=3 or=0 and=ff
PORT: in range 0x03c0-0x03df already registered as vga+
PORT: no device specified for vga+
"
in the log. What am I doing wrong? I saw that for e.g. printer access,
another syntax for the the $_ports settings is used (using a device), but
what device to use as 'vga+'? Do I need to run dosemu as root (I'm
currently using the "local" binary distribution)
Thanks in advance,
Herman
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html