A Machine Code Graphics Line Drawing Subroutine

Authors

Publication

Publication Details

Date

Pages

See all articles from SYNC v2 n6

In the pages of the ZX81 manual, we find a Basic subroutine to draw a line between any two specified points (see Listing 1). However, I found this routine to be exceedingly slow, especially when I wanted to draw several lines on the screen and had to wait several agonizing minutes to get them. The only solution was to translate the Basic subroutine into Z80 machine language.

Products

 

Downloadable Media

 
Scroll to Top