84PCSE:BCALLs:44FE: Difference between revisions

From WikiTI
Jump to navigationJump to search
Created page with 'dispHL dispHL 44FD - dispHL == Synopsis == '''Official Name:'''…'
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:84PCSE:BCALLs:By Name:dispHL|dispHL]] [[Category:84PCSE:BCALLs:By Name|dispHL]] [[Category:84PCSE:BCALLs:By Address|44FD - dispHL]]
[[Category:84PCSE:BCALLs:By Name:DispHL|DispHL]] [[Category:84PCSE:BCALLs:By Name|DispHL]] [[Category:84PCSE:BCALLs:By Address|44FD - DispHL]]
== Synopsis ==
== Synopsis ==
'''Official Name:''' dispHL
'''Hypothesized Official Name:''' DispHL


'''BCALL Address:''' 44FDh
'''BCALL Address:''' 44FEh


Displays the number in HL, padded to 5 characters and right-aligned.
Displays the number in HL using the large font, padded to 5 characters and right-aligned.


=== Inputs ===
=== Inputs ===
* HL
''See also: [[84PCSE:BCALLs:44F8|PutMap]]''
* HL = unsigned number to display
* ([[84PCSE:RAM:8459|curRow]]), ([[84PCSE:RAM:845A|curCol]]) = row and column to display the number


=== Outputs ===
=== Outputs ===
* Value displayed
* Value displayed
* Carry flag set if the value fits on the screen with space to spare, cleared if not
* (curCol) updated


=== Destroys ===
=== Destroys ===
* Unknown
''See also: [[84PCSE:BCALLs:44F8|PutMap]]''
* AF, DE, HL
* [[84PCSE:RAM:84AE|OP1]]


== Comments ==
== Comments ==
Disable MathPrint before calling this or the number will appear at a random location.
If the value does not fit on the current line, the output will be truncated and (curCol) will be left at 25.

Latest revision as of 16:14, 26 August 2013

Synopsis

Hypothesized Official Name: DispHL

BCALL Address: 44FEh

Displays the number in HL using the large font, padded to 5 characters and right-aligned.

Inputs

See also: PutMap

  • HL = unsigned number to display
  • (curRow), (curCol) = row and column to display the number

Outputs

  • Value displayed
  • Carry flag set if the value fits on the screen with space to spare, cleared if not
  • (curCol) updated

Destroys

See also: PutMap

Comments

If the value does not fit on the current line, the output will be truncated and (curCol) will be left at 25.