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.

174 APPLE II COMPUTER GRAPHICSsome of the addresses is that the origin<strong>al</strong> language tor the Apple 11, IntegerBASIC, was incapable of handling a number greater than 32767. Thismeant that in order to CALL the 65385 address, you had to refer to itstwo's complement, -1 51 .You can convert any address to its negative equ iv<strong>al</strong>ent by either subtracting65536 from the address (the easy way) or by forming its two'scomplement (the hard way).At this point you have probably learned more than you ever wanted toknow about the hex and binary systems, but you have re<strong>al</strong>ly just scratchedthe surface. There are sever<strong>al</strong> interesting ties b<strong>et</strong>ween the topics we coveredhere and the fu ndament<strong>al</strong> <strong>al</strong>gorithms used by a <strong>computer</strong>. For example,a <strong>computer</strong> actu<strong>al</strong>ly figures the sum of two numbers by comparingcorresponding bits and using the logic<strong>al</strong> operations "AND" and " EOR"(described in the text). Pursuing these topics would take us beyond thescope of this text, but that info rmation may be found in a book on Booleanlogic.

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

Saved successfully!

Ooh no, something went wrong!