port_write
Write a byte or word to an x86 I/O port to configure hardware, unchain Mode X, or control Hercules graphics.
Instructions
Write to an x86 I/O port. Width is 1 (byte) or 2 (word). For Mode X unchaining, Hercules graphics, hardware config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | I/O port address (0x0000..0xFFFF). | |
| value | Yes | Value to write. | |
| width | No | Width: 1 (byte) or 2 (word). Default 1. |