Path: utzoo!news-server.csri.toronto.edu!turing.toronto.edu!ruhtra Newsgroups: comp.sys.handhelds From: ruhtra@turing.toronto.edu (Arthur Tateishi) Subject: Tetris fix Message-ID: <1991Mar7.034736.2592@jarvis.csri.toronto.edu> Organization: CSRI, University of Toronto Date: 7 Mar 91 08:47:36 GMT Lines: 31 Wow, my first posting in c.s.handhelds. I've been reading since July. I just had to get one in tell my kids that I posted to handhelds about the 48 BEFORE we got our own group. I got my E on Oct. 11th so I even got Minehunt! Yeah! Anyway, I remember seeing stuff about the tetris pause function preventing the auto-shutoff but I didn't see a fix. My fix simply does away with the infinite loop in INFLP. It also catches one ATTN. Replace INFLP with with the following. << IFERR 0 WAIT THEN END DROP >> Since WAIT leaves the calc idle until a key is pressed, the auto-shutoff still works. The IFERR allows a clean continuation after pressing ON to restart. This also fixes the same problem in the high score screen, BTW. Another place I found useful for IFERR was in 'start'. Replace TETRIS in 'start' by IFERR TETRIS THEN END I kept hitting ON instead of Q to exit so I always had to carefully objects until I got to the saved flags and typed STOF. Really annoying. The only other "fix" I found useful other than key changes was modifying RK2 so that the OFF became << OFF INFLP >>. This pauses the game if you shut off your calc with the O command in tetris. These were all such tiny fixes that they can typed in by hand and (hopefully) added to the next release. -- ``Sex and drugs? They're nothing compared with a good proof!'' - A Cambridge student (r.h.f) Arthur Tateishi g9ruhtra@zero.cdf.utoronto.ca