Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!portal!cup.portal.com!Ordania-DM From: Ordania-DM@cup.portal.com (Charles K Hughes) Newsgroups: comp.sys.atari.8bit Subject: Re: Bit wise operations. Message-ID: <41004@cup.portal.com> Date: 7 Apr 91 02:58:52 GMT References: <12242@sybase.sybase.com> Organization: The Portal System (TM) Lines: 24 Hutch writes: > > Folks, > > Anyone know how to preform bit wise operations on the Atari. > I have an Atari 800xl, and have developed a simple player > missle graphics game. The problem is that I have two players > that fire missles, but when I move the missles up/down in > memory I zap one of the players missle bit map because they > share memory bytes. What I would like to do is mask out the > bits that apply to a specific player. Also, all this is being > done in basic, any ideas? Another question, in Atari basic > how are HEX numbers represented? Hex numbers do not exist in standard Atari BASIC. To do bit manipulations you'll need to either do them in machine language, or split each byte into its bits in Basic. > > Thanks in advance. > >-- hutch Charles_K_Hughes@cup.portal.com