Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!usc!ucsd!tut.cis.ohio-state.edu!att!oucsace!bchurch From: bchurch@oucsace.cs.OHIOU.EDU (Bob Church) Newsgroups: comp.sys.apple2 Subject: Bitwise operaters in Applesoft Keywords: Applesoft AND Message-ID: <1774@oucsace.cs.OHIOU.EDU> Date: 20 Aug 90 00:21:57 GMT Organization: Ohio University CS Dept., Athens Lines: 17 All of this talk about using the serial port from Applesoft got me curious (again). I've never had any luck with PR#2 or IN#2 from within an Applesoft program so I decided to try using peeks and pokes to go about it in a more direct way. The snag is in reading the status register. I have to check the status of bits 3 and 4 regularly and cannot figure out a way to do in in Applesoft. Any hints or clues? I normally use Assembler, ML or C but decided to try it for old times sake. ******************************************************************** * * * bob church bchurch@oucsace.cs.ohiou.edu * * * * If economics isn't an "exact" science why do computers crash * * so much more often than the stock market? * * bc * ********************************************************************