Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!dlyons From: dlyons@Apple.COM (David A. Lyons) Newsgroups: comp.sys.apple2 Subject: Re: Deferred and Immediate mode Message-ID: <43444@apple.Apple.COM> Date: 31 Jul 90 00:33:20 GMT References: Distribution: comp.sys.apple2 Organization: Apple Computer Inc, Cupertino, CA Lines: 24 In article chin@ankh.ankh.ftl.fl.us (Albert Chin) writes: >How can you tell if the Apple II is running in deferred (while a program is >running) or immediate mode. I would like to create a program that only >runs in immedate mode and not in deferred mode. > >thanks, > >albert chin ... mthvax!mamia!albert Please explain what you're looking for. Are you talking about Applesoft BASIC? That's the only place I've seen the terms "immediate" and "deferred" used. If that's what you're trying to detect, I believe you have to check both $76 (high byte of current line number) and $32 (prompt). If $76=$FF or $32="]", you're in Applesoft immediate mode. -- David A. Lyons, Apple Computer, Inc. | DAL Systems Apple II Developer Technical Support | P.O. Box 875 America Online: Dave Lyons | Cupertino, CA 95015-0875 GEnie: D.LYONS2 or DAVE.LYONS CompuServe: 72177,3233 Internet/BITNET: dlyons@apple.com UUCP: ...!ames!apple!dlyons My opinions are my own, not Apple's.