[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Bconin
on 2/9/09 9:52 AM, Lonny Pursell wrote:
> 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.
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. :-)
Lonny Pursell http://www.bright.net/~gfabasic/