Re: RE: [MSX] Pascal/MsxPad problem

2002-11-29 Thread Maurizio Morandi
Hi Slotman, you wrote: At 11:39 AM 28/11/2002 +0100, you wrote: There is another way to handle keys instead of the keypressed function ?? Check the msx.inc that comes with MSXPad -- there's a inkey function at the end of the file which returns the char pressed, just like inkey$ from

Re: RE: [MSX] Pascal/MsxPad problem

2002-11-29 Thread The MSX Files
At 11:33 AM 29/11/2002 +0100, you wrote: Hi Slotman, you wrote: At 11:39 AM 28/11/2002 +0100, you wrote: I know it, but it wait until a key is pressed. Not exactly like the basic inkey$. I've tested it like this: repeat begin c:=ord(inkey); writeln(c); end; until c=13; Just use it like

RE: RE: [MSX] Pascal/MsxPad problem

2002-11-28 Thread Frits Hilderink
I noticed that the interrupts are turned off after each pset/point. This causes the 'keypressed' not to function since the 50/60 hz interrupt also scans for keys. Please add a /$FB after the inline function. It works! Thank you very much :) Perhapse interrupts are turnerd off to

Re: RE: [MSX] Pascal/MsxPad problem

2002-11-28 Thread The MSX Files
At 11:39 AM 28/11/2002 +0100, you wrote: There is another way to handle keys instead of the keypressed function ?? Check the msx.inc that comes with MSXPad -- there's a inkey function at the end of the file which returns the char pressed, just like inkey$ from basic Thanx again. mau_rizio Hope