Odyssey paper #04
11 января 1999 |
![]() |
Bysterenko! - the fastest algorithm / procedure for drawing a line.

Bysterenko! ____________ (C) Phantom Lord'97 We immediately thought of Suva from time to time our algorithms, and today the air pass fastovy algorithm for constructing a straight line on the screen: at the inlet SP - A pointer to the address table screen E - the smaller of the delta X and Y D - the larger of the deltas BC - offset X in the familiarity A - D SUB E JR NC, $ +5 ADD A, D POP HL ADD HL, BC SET 7, (HL) SUB E JR NC, $ +5 ADD A, D POP HL ADD HL, BC SET 6, (HL) SUB E JR NC, $ +5 ADD A, D POP HL ADD HL, BC SET 5, (HL) SUB E JR NC, $ +5 ADD A, D POP HL ADD HL, BC SET 4, (HL) SUB E JR NC, $ +5 ADD A, D POP HL ADD HL, BC SET 3, (HL) SUB E JR NC, $ +5 ADD A, D POP HL ADD HL, BC SET 2, (HL) SUB E JR NC, $ +5 ADD A, D POP HL ADD HL, BC SET 1, (HL) SUB E JR NC, $ +5 ADD A, D POP HL ADD HL, BC SET 0, (HL) INC L INC C Naturally, these pieces will be four. Also have a point count entry and exit. But this should not make big deal.
Other articles:
Similar articles:
В этот день... 1 April
Info Guide #13,
ACNews #50,
Avro News #01,
ACNews #47,
ACNews #40,
ACNews #29,
Black Metall #01,
ACNews #16,
Adventurer #13,
Polesse #19,
Subliminal Extacy #03,
ZX Pilot #37,
Always #03,
Born Dead #0G,
Odyssey paper #08,
Optron #26,
City #08,
Zodiac #02,
Polesse #05,
Nicron #108,
X-Magazine #10,
Nicron #82,
Energy #01,
Sorrow News #03,
Sorrow News #02,
Proton #27,
Think #08,
Wallpaper #01,
Spectrum Progress #03,
Spectrum Expert #02,
Micro #01,
X-Files #02,
Gorodok #05,
Deja Vu #04,
Anecdotes #01,
X-Files #02,
Maximum #35,
Impulse #01,
Spectrofun #01,
Faultless #07,
Breeze #06,
Nicron #27,
Echo #03,
Oberon #01,
Spectrofon #19,
On-Line #30,
Sinclair Town #01,
Sinclair Classic #04,
Spectrofon #04