84PCSE:BCALLs:55A5

From WikiTI
Jump to: navigation, search

Synopsis

Unofficial Name: CenterPutS

BCALL Address: 55A5h

Display a string, using the large font, horizontally centered on the screen.

Inputs

See also: PutMap

  • HL = address of a zero-terminated string (must be in RAM)
  • (curRow) = row to display string

Outputs

  • Carry flag set (assuming string fits on screen)
  • HL = address of the byte after the end of the string

Destroys

See also: PutMap

  • AF, BC
  • (curCol)
  • Interrupts disabled

Comments

The length of the input string must be less than 26.