Added leftovers of maplib poc test
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -1s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -1s
This commit is contained in:
parent
5b809ee5bd
commit
78b2f24aed
4 changed files with 136 additions and 0 deletions
51
src/maplib/mapbios.xml
Normal file
51
src/maplib/mapbios.xml
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
<?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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue