Difference between revisions of "83Plus:BCALLs:4501"

From WikiTI
Jump to: navigation, search
(Synopsis: didn't have the bcall's name :o)
(Minor formatting details (but improved example), otherwise good :))
Line 4: Line 4:
 
'''BCALL Address:''' 4501
 
'''BCALL Address:''' 4501
  
Outputs a character in the large font at the current Cursor location.
+
Outputs a character in the large font at the current cursor location.
  
 
=== Inputs ===
 
=== Inputs ===
A: ASCII code of character to display
+
* A = TI-ASCII code of character to display
  
 
=== Outputs ===
 
=== Outputs ===
character at CurRow, CurCol
+
* character at coordinate ([[83Plus:RAM:844B|curRow]], [[83Plus:RAM:844C|curCol]])
  
 
=== Destroys ===
 
=== Destroys ===
none
+
* none
  
 
== Comments ==
 
== Comments ==
Line 19: Line 19:
  
 
== Example ==
 
== Example ==
  <nowiki>ld hl, 0
+
Shows &Eacute; in the upper-left hand corner of the screen:
ld (CurRow),hl
+
  <nowiki>ld a, LcapEAcute
 +
ld hl, $0000
 +
ld (curRow),hl
 
B_CALL PutMap</nowiki>
 
B_CALL PutMap</nowiki>
  

Revision as of 09:49, 4 May 2006

Synopsis

Official Name: PutMap

BCALL Address: 4501

Outputs a character in the large font at the current cursor location.

Inputs

  • A = TI-ASCII code of character to display

Outputs

Destroys

  • none

Comments

This B_CALL outputs the character stored in A at the current cursor location without changing the cursor. It uses the large font.

Example

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

ld a, LcapEAcute
ld hl, $0000
ld (curRow),hl
B_CALL PutMap