.getsize:
SET [Z+0], LEM_WID
SET [Z+1], LEM_HGT
SET PC, POP
This clearly returns the height in the argument that was pushed first
(and will be popped last) and the width in the argument that was pushed
last (and will be popped first).
The documentation specified the other order. This PR changes the
documentation to match the code.
To be consistent with 'GetCursorPos', I want to keep Y (height) first and X (width) second. As such I'm going to swap the code around instead, and keep the documentation as is.
The code for getting the screen size is:
This clearly returns the height in the argument that was pushed first (and will be popped last) and the width in the argument that was pushed last (and will be popped first).
The documentation specified the other order. This PR changes the documentation to match the code.