BCALLs Template

From WikiTI
Revision as of 19:11, 24 March 2005 by AndyJ (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Example of a BCALL Wiki


Official Name: SomeCall
BCALL Address: $4444

Synopsis

This ROM Call does absolutely nothing since it doesn't exist. :)

Register Inputs

  • a: Page to look copy from
  • de: Address to copy to
  • hl: Address to copy from

Register Outputs

None.

Memory Inputs

  • (de): Address to copy a byte from
  • keyExtend: An example of a known RAM block.

Memory Outputs

  • (hl): Address to copy a byte to

Registers Destroyed

  • af

Example

ld a,$08
ld de,$567A
ld hl,keyExtend
b_call SomeCall

Code Used to Produce the Above

Please use this code as the starting point for all BCALL entries.

'''Official Name:''' SomeCall
<br>'''BCALL Address:''' $4444

== Synopsis ==
This ROM Call does absolutely nothing since it doesn't exist. :)

== Register Inputs ==
<ul>
<li>a: Page to look copy from
<li>de: Address to copy to
<li>hl: Address to copy from
</ul>

== Register Outputs ==
''None.''

== Memory Inputs ==
<ul>
<li>(de): Address to copy a byte from
<li>[[83Plus:RAM:keyExtend|keyExtend]]: An example of a known RAM block.
</ul>

== Memory Outputs ==
<ul>
<li>(hl): Address to copy a byte to
</ul>

== Registers Destroyed ==
<ul>
<li>af
</ul>

== Example ==
 <nowiki>ld a,$08
ld de,$567A
ld hl,keyExtend
b_call SomeCall</nowiki>

Please note the space in front of the <nowiki> tag!