Odyssey paper #04
11 января 1999

Bysterenko! - the fastest algorithm / procedure for drawing a line.

<b>Bysterenko!</b> - 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:

From the authors - That flew one more week.

Epilogue - the authors of the paper.

News - MMA released CD, came out in 1918 Flash Info, released a demo version of the Black Raven 2 and a new cool toy "Homer Simpson in Russia."

Consul'99? - enough to fuck your eyes on the monitors! It's time pizdohat the sea!

Presentation - the story of Cheboksary Phantom FAMILY.

Bysterenko! - the fastest algorithm / procedure for drawing a line.

Music Page - suggest the band's song "Crematorium" Strawberries with ice.


Темы: Игры, Программное обеспечение, Пресса, Аппаратное обеспечение, Сеть, Демосцена, Люди, Программирование

Similar articles:
Congratulations ... - Happy Birthday Think!!!
Vintostroenie - How to assemble the screw itself on a PC.

В этот день...   21 November