83Plus:BCALLs:47DD

From WikiTI
Revision as of 15:41, 3 August 2012 by Matref (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Official name: _darkLine

BCALL address: 47DD

Draws a line on the main screen.

Inputs

  • B : first point column
  • C : first point row
  • D : second point column
  • E : second point row

Outputs

None.

Destroys

None.

Comments

A line starting on (B,C) and ending on (D,E) is drawn on the main screen, which means that zoom is not applied. All registers are preserved. (0,0) is the bottom left hand corner and (95,63) the top right hand corner.

Example

 ld bc,$003F
 ld de,$5F00
 b_call _darkLine
 ret