msxbuild/src/maplib/mapbios.xml
Willem 78b2f24aed
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -1s
Added leftovers of maplib poc test
2025-04-27 17:15:35 +02:00

51 lines
2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<root:maplib>
<group name="msxbios1">
<const name="STARTUP" address="0000">
<function>Tests RAM and sets RAM slot for the system</function>
<registers>ALL</registers>
<remark>After this, a jump must be made to INIT, for further initialisation.</remark>
</const>
<const name="SYNCHR" address="0008">
<function>Tests whether the character of (HL) is the specified character if not, it generates SYNTAX ERROR, otherwise it goes to CHRGTR (#0010)</function>
<input>Set the character to be tested in (HL) and the character to be compared next to RST instruction which calls this routine (inline parameter)</input>
<output>HL is increased by one and A receives (HL), When the tested character is numerical, the carry flag is set the end of the statement (00h or 3Ah) causes</output>
<registers>AF, HL</registers>
</const>
<const name="RDSLT" address="000C">
<function>Reads the value of an address in another slot</function>
<input>
A - ExxxSSPP Slot-ID
│ ││└┴─ Primary slot number (00-11)
│ └┴─── Secondary slot number (00-11)
└───────────── Expanded slot (0 = no, 1 = yes)
HL - Address to read</input>
<output>A - Contains the value of the read address</output>
<registers>AF, C, DE</registers>
<remark>This routine turns off the interupt, but won't turn it on again</remark>
</const>
<const name="" address="">
<function></function>
<input></input>
<output></output>
<registers></registers>
<remark></remark>
</const>
<const name="" address="">
<function></function>
<input></input>
<output></output>
<registers></registers>
<remark></remark>
</const>
</group>
<group name="msxbios2">
<const name="" address="">
<function></function>
<input></input>
<output></output>
<registers></registers>
<remark></remark>
</const>
</group>
</root:maplib>