View Single Post
Old 01 December 2018, 12:04   #48
litwr
Registered User
 
Join Date: Mar 2016
Location: Ozherele
Posts: 229
Quote:
Originally Posted by meynaf View Post
The normal way of doing is using a window and ICDMP messages and this is now always what I do.
Thank you. But what is about games? I would like to have a full screen program not a window, something like https://www.reaktor.com/blog/crash-c...y-programming/

There should be a kind of system routine that gets scan-codes and put them into system buffer where the applications can get them from. It looks like there is no such routine.

I have tried to check ports but it work very poorly. I used the next code.

Code:
     btst #3,$dff01d
     beq .nkbdevent
     btst #3,$BFED01
     beq .nkbdevent

    ;it gets there very seldom, I have to press a key many times to get there
.nkbdevent:
What is wrong with my code? Please, I need help again.
litwr is offline  
 
Page generated in 0.04378 seconds with 11 queries