Difference between revisions of "83Plus:BCALLs:455E"

From WikiTI
Jump to: navigation, search
(Created from copy of PutMap)
 
m (Destroys: HL is preserved: I made a VPutS which doesn't have to save HL on every VPutMap call)
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
  
 
=== Destroys ===
 
=== Destroys ===
* none
+
* A, DE, IX
  
 
== Comments ==
 
== Comments ==

Latest revision as of 14:36, 7 June 2007

Synopsis

Official Name: VPutMap

BCALL Address: 455E

Displays a character on screen in the small variable-width font at the current cursor location.

Inputs

  • A = TI-ASCII code of character to display

Outputs

Destroys

  • A, DE, IX

Comments

This B_CALL outputs the character stored in A at the current cursor location. Unlike its large-font equivalent PutMap, it updates the cursor, and the coordinates are measured in pixels instead of characters and lines.

Example

Shows É in the upper-left hand corner of the screen:

ld a, LcapEAcute
ld hl, $0000
ld (penCol),hl
B_CALL VPutMap