12.07.2015 Views

williams-et-al-1983-apple-ii-computer-graphics

williams-et-al-1983-apple-ii-computer-graphics

williams-et-al-1983-apple-ii-computer-graphics

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 8-Hl-RES GRAPHICS 77SolutionThe fi rst task is to digitize the cannon. Notice that it is fourteen dots wideand ten bytes high, so it will require four boxes to display. The figure has<strong>al</strong>ready been divided into four quadrants. Figures 8-8A-D show the digitizingof the corresponding quadrant.DOT BIT HEX DECPATTERN PATTERN VALUE VALUE---------------------------------------------X-X-X-X 101 0101 $55 85X-X-X-X 101 0101 $55 85X-X-X-X 101 0101 $55 85X-X-X-X 101 0101 $55 85------- 000 0000 $00 0-----X- 010 0000 $20 32----XX- 011 0000 $30 48---XXXX 111 1000 $78 120Figure 8-8A.DOT BIT HEX DECPATTERN PATTERN VALUE VALUE-----------------------------------------------X-X-X- 010 1010 $2A 42-X-X-XX 110 1010 $6A 106-X-X-XX 110 1010 $6A 106-X-X-X- 010 1010 $2A 42--X-X-- 001 0100 $14 . 20X-X-X-- 001 0101 $15 21X-X-XX- 011 0101 $35 53---XXXX 111 1000 $78 120Figure 8-88.DOT BIT HEX DECPATTERN PATTERN VALUE VALUE-------------------------------------------------XXXX----XX-111 1000 $78011 0000 $30Figure 8-8C.12048DOTPATTERNBITPATTERNHEXVALUEDECVALUE--XXXX----XX-$78$3012048Figure 8-80.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!