Debug device

From MSX Game Library

Revision as of 18:17, 27 July 2023 by Aoineko (talk | contribs) (Created page with "Proposal to improve the debugging protocol used by openMSX pseudo-device. Based on: https://openmsx.org/manual/user.html#debugdevice == Improvement == In Multi-byte mode, u...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Proposal to improve the debugging protocol used by openMSX pseudo-device.

Based on: https://openmsx.org/manual/user.html#debugdevice

Improvement

In Multi-byte mode, use the two remaining bits for: bits #2: 0=8 bits number; 1=16 bits number (requires 2 consecutive outputs to 2Fh port) bits #3: 0=unsigned, 1=signed (needed for decimal display)

Bit #7 can also be used: 0=Output 1=Special (for the moment, have a break with FFh)