From mint-bounce@lists.fishpool.fi Mon Feb 9 16:38:21 2009 X-Virus-Scanned: amavisd-new at telesat.si Date: Mon, 9 Feb 2009 21:15:18 +0000 (GMT) From: SWE/YesCREW X-X-Sender: To: "[MiNT] Mailing-List" Subject: Re: [MiNT] Bconin In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: jvalant@atari.org Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: On Mon, 9 Feb 2009, Lonny Pursell wrote: > on 2/9/09 9:52 AM, Lonny Pursell wrote: > > > Hi, > > > > Can someone maybe tell my why this waits for a key press on plain tos but in > > MiNT it returns instantly? It also return 26 always. > > > > text > > Add an appl_init() call here. > > > move.w #2,-(a7) ;dev_con > > move.w #2,-(a7) ;bconin() > > trap #13 > > addq.l #4,a7 > > > > clr.w -(sp) ;pterm0 > > Trap #1 > > I found that adding just an appl_init() call cause this to wait for a key. > Seems a bit odd, but it fixes it. :-) Um, it is odd ;)