84PCE:Syscalls:0207C8

From WikiTI
Revision as of 03:30, 16 July 2016 by PT (Talk | contribs)

Jump to: navigation, search


Synopsis

Hypothesized Official Name: PutPS

Syscall Address: 0207C8h

Displays a string, with the length prepended, pointed to by HL on the homescreen at the coordinates indicated by curRow and curCol in large font format.

Inputs

See also: PutMap

  • HL : pointer to the start of the string, prepended by the length, to be displayed
  • (curRow, curCol) : coordinates of the first character of the string in rows and columns (not pixels)

Outputs

  • Text printed at (curRow, curCol) on the homescreen.
  • HL points to the character after the string.
  • (curRow) and (curCol) updated

Destroys

See also: PutMap

  • F

Example

  call _HomeUp
  call _ClrLCDFull
  ld hl, StringToDisplay-1
  jp _PutPS
StringToDisplay:
  .db 12, "Hello World!"