BCALLs Template
From WikiTI
Contents
Example of a BCALL Wiki
If your BCALL is something simple, you may omit some (or all) of these sections and just give a Synopsis. Please provide as many sections as you can.
Synopsis
Official Name: SomeCall
BCALL Address: $4444
This ROM Call does absolutely nothing since it doesn't exist. :)
Inputs
- a: Page to look copy from
- de: Address to copy to
- hl: Address to copy from
- (de): A byte is copied from here
- keyExtend: An example of a known RAM block.
- bit exampleBit, (iy+demoBye): Set to do something, reset to do something else
- Parity: Set for something
Outputs
- (hl): A byte is copied to here
- Zero: Set if successful
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. :) == Inputs == *a: Page to look copy from *de: Address to copy to *hl: Address to copy from *(de): A byte is copied from here *[[83Plus:RAM:keyExtend|keyExtend]]: An example of a known RAM block. *bit exampleBit, (iy+demoBye): Set to do something, reset to do something else *Parity: Set for something == Outputs == *(hl): A byte is copied to here *Zero: Set if successful == Registers Destroyed == *af == 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!