BCALLs Template

From WikiTI
Revision as of 08:24, 25 March 2005 by JasonM (Talk | contribs)

Jump to: navigation, search

Synopsis

Official Name: SomeCall

BCALL Address: 0042

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 s omething 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