Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!think!mintaka!ogicse!blake!ridges From: ridges@blake.acs.washington.edu (ryan ridges) Newsgroups: comp.sys.handhelds Subject: Re: Tank Battle for HP28s Message-ID: <5856@blake.acs.washington.edu> Date: 20 Feb 90 23:18:17 GMT References: <5764@blake.acs.washington.edu> Reply-To: ridges@blake.acs.washington.edu (ryan ridges) Organization: University of Washington, Seattle Lines: 16 Pete Ashdown noticed that MOVBUL calls SPRITE, which was not included in the Tank Battle program listings. If you replace SPRITE with SPRITE2 in MOVBUL the game will still run, but things won't be quite as lovely. SPRITE is basically a non-destructive version of SPRITE2 -- shape data is ORed with existing screen data so the background shows through. Here's the listing for SPRITE: SPRITE [5C74] << C->R -> SHP X Y << SHP 1 GET SHP 2 GET -> W H << 32 Y - 8 / IP -> BR << 0 H FOR I LCD-> DUP I BR + 137 * X + -> OF << 1 OF 1 - SUB SWAP OF OF W + SUB SHP I 3 + GET OR + ->LCD >> NEXT >> >> >> >> Coming next: COKE -- faster animation through caffeine ryan ridges