Article View: comp.sys.mac
Article #39063Re: Flex and Tetris
From: Mike Carlton
Date: Fri, 10 Mar 1989 07:18
Date: Fri, 10 Mar 1989 07:18
27 lines
1847 bytes
1847 bytes
In article <1193@ns.UUCP> jmh@ns.UUCP (Joel Halpern 424-1606) writes: ... >Specifically, if Flex starts while Tetris is running, the elegant >background pictures that Tetris uses (MAC II Tetris) get shifted >to the upper left hand corner of the screen, covering the menu bar. >Not disasterous, but definitely annoying. > >In addition, if Flex was was started while actually playing >(as distinct from the control or scoring page), When you hit >the next key for any reason, the machine hangs. ... >Joel M. Halpern >612-424-1606 >jmh@nsco.network.com I noticed somewhat similar problems with Flex a while ago with another program. I did some investigating with TMON and it looked like Flex changed the current port when it kicked in and didn't restore the port when it exited. Evidently most programs can handle that (or Flex only does that to certain programs). I had to give up Flex because of it. Some programs just die because the port has been changed "behind their back". In particular, I think Flex set the port to the WMgrPort and that port has no InvalRgn allocated (this is from memory so is likely not exactly correct). If the program does some operation which uses the InvalRgn of the current port it is likely to go bye-bye. Regards, mike (carlton@ji.berkeley.edu or ...!ucbvax!ji!carlton)
Technical Details
Message-ID:
<10902@pasteur.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!helios.ee.lbl.gov!pasteur!betelgeuse!carltonReferences:
<1193@ns.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!helios.ee.lbl.gov!pasteur!betelgeuse!carlton From: carlton@betelgeuse (Mike Carlton) Newsgroups: comp.sys.mac Subject: Re: Flex and Tetris Keywords: Flex Tetris Message-ID: <10902@pasteur.Berkeley.EDU> Date: 10 Mar 89 07:18:05 GMT References: <1193@ns.UUCP> Sender: news@pasteur.Berkeley.EDU Reply-To: carlton@betelgeuse (Mike Carlton) Organization: University of California at Berkeley Lines: 27