port_read
Read x86 I/O ports via dosbox-mcp to inspect VGA registers, sound cards, or HGC control ports; choose byte or word width.
Instructions
Read an x86 I/O port. Width is 1 (byte) or 2 (word). Use for VGA registers, sound cards, HGC control ports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | I/O port address (0x0000..0xFFFF). | |
| width | No | Width: 1 (byte) or 2 (word). Default 1. |