nataliapc / msx2daad

DAAD interpreter created from scratch for MSX2/MSX2+ systems using the graphical capabilities of this machines.
Other
35 stars 3 forks source link

INKEY is working? #23

Closed cperezgrin closed 2 years ago

cperezgrin commented 3 years ago

Hi, I have a process to read the key pressed from the player. I'm using DAAD Ready and it works for the rest of 8-bit systems, but with MSX2 the game doesn't wait for the key press.

This is the code. After calling this Process, the value of the key pressed should be in "fTeclaPulsada". It doesn't wait and it returns 0

INKEY SKIP 1

SKIP -2

COPYFF fInkeyKey1 fTeclaPulsada

Am I doing something wrong or is there another way to read the input? Thanks

nataliapc commented 2 years ago

Thanks for the report! Will be fixed in the next commit.