11.07.2015 Views

Here - 1000 BiT

Here - 1000 BiT

Here - 1000 BiT

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Registers:X extension?sprites on?tall?wide?behind background?sprite hit sprite?sprite hit background?V+16V + 21V + 23V + 29V + 27V + 30V + 31Each register is a memory box in the VIC chip which holds the answers to eight yes-noquestions, one answer for each sprite.The bit values of each sprite are used to answer the questions. Example:33 PO KE V + 21,1 +4+128 turns on sprites 0, 2, and 7Then: 56 POKE V + 21,1 + 128 turns off sprite 2 (because its bit value, 4, isn'tthere).RULES: To answer no for all sprites, POKE 0.To answer yes for one sprite, POKE its bit value. (This automatically answersno for all the other sprites).To answer yes for several sprites, POKE the sum of their bit values. For all bitvalues you leave out (like 2, 8,16, 32, and 64 in line 33) the answer is no.The "X extension?" register helps you move a sprite to the right side of the screen. If youanswer yes then the number 256 is added to the position you put into the sprite's Xposition register. Example:35 POKE V +0,50 :REM47 POKE V+16, 1 :REMPUT SPRITE 0 AT 50 HORIZONATALLYMOVE IT TO 256+50=306182

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

Saved successfully!

Ooh no, something went wrong!