83Plus:BCALLs:47DD

From WikiTI
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