Difference between revisions of "BCALLs Template"

From WikiTI
Jump to: navigation, search
 
Line 2: Line 2:
 
----
 
----
  
 +
== Synopsis ==
 
'''Official Name:''' SomeCall
 
'''Official Name:''' SomeCall
 
<br>'''BCALL Address:''' $4444
 
<br>'''BCALL Address:''' $4444
 
+
<br>This ROM Call does absolutely nothing since it doesn't exist. :)
== Synopsis ==
+
This ROM Call does absolutely nothing since it doesn't exist. :)
+
  
 
== Register Inputs ==
 
== Register Inputs ==
Line 44: Line 43:
  
 
  <nowiki>
 
  <nowiki>
 +
== Synopsis ==
 
'''Official Name:''' SomeCall
 
'''Official Name:''' SomeCall
 
<br>'''BCALL Address:''' $4444
 
<br>'''BCALL Address:''' $4444
 
+
<br>This ROM Call does absolutely nothing since it doesn't exist. :)
== Synopsis ==
+
This ROM Call does absolutely nothing since it doesn't exist. :)
+
  
 
== Register Inputs ==
 
== Register Inputs ==

Revision as of 18:13, 24 March 2005

Example of a BCALL Wiki


Synopsis

Official Name: SomeCall
BCALL Address: $4444
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.

== Synopsis ==
'''Official Name:''' SomeCall
<br>'''BCALL Address:''' $4444
<br>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!