I'm trying to make a game and i need to move this rectangle back and forth with using the arrow keys, left & right. ive been having trouble trying to detect when they hit the left and right key's. can anyone give me help with the interrupts it would be appreciated.
Posted on 2011-12-06 11:08:14 by twistedtraceur
Posted on 2011-12-06 19:55:48 by p1ranha
Simple answer: the "extended" keys, including arrow keys, return zero. If int 16h, look in ah to see which one. If int 21h, do it again.

Best,
Frank

Posted on 2011-12-07 15:23:22 by fbkotler