Path: news.weeg.uiowa.edu!news.uiowa.edu!uunet!amdahl!amdahl!fadden From: fadden@uts.amdahl.com (Andy McFadden) Newsgroups: comp.sys.apple2 Subject: Line drawing code Message-ID: <6dEy03sbd1d=00@amdahl.uts.amdahl.com> Date: 5 May 93 17:26:43 GMT Organization: Amdahl Corporation, Sunnyvale CA Lines: 465 Albert Chin-A-Young asked me to post this, so here it is. ; ; Arc3D line-drawing code ; By Andy McFadden ; Adapted from code by the FTA. ; ; Draws from (clpx0,clpy0) to (clpx1,clpy1) (output of a clipping routine). ; penColor equ $70 ;0 - 15 clpx0 equ $72 clpy0 equ $74 clpx1 equ $76 clpy1 equ $78 x0 equ $80 y0 equ $82 x1 equ $84 y1 equ $86 offset equ $88 deltax equ $8a deltay equ $8c diff equ $8e even_c equ $90 odd_c equ $92 _DrawLine ENTRY DoDrawLine ANOP lda