-
I'm starting to work on a mouse driver. I need to persistently store some bytes of data for x, y, and buttons. Would the correct place for this be in sysvar.asm? Also, is best practice to take the next number in sequence or is it preferable to leave a gap? |
Beta Was this translation helpful? Give feedback.
Answered by
IanSeyler
Nov 28, 2024
Replies: 1 comment
-
sysvar.asm is the correct location. From what I understand about PS2 there are 3 8-bit variables - Flags, DeltaX, and DeltaY. Then we would also need two variables for the current cursor location which would need to be 16-bit each. Yes, you can take the next number in the sequence. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
the-grue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sysvar.asm is the correct location.
From what I understand about PS2 there are 3 8-bit variables - Flags, DeltaX, and DeltaY. Then we would also need two variables for the current cursor location which would need to be 16-bit each.
Yes, you can take the next number in the sequence.