diff options
author | Javier <dev.git@javispedro.com> | 2022-04-03 21:23:10 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-04-03 21:23:10 +0200 |
commit | a5abb118e0e61587adfa7b4e4cc72948311381d3 (patch) | |
tree | b226705401bd0b4c78399c621cebc1fbab6003b9 /int33.h | |
parent | 7d93442564b57c2d292df7f823c2115d3e0b8c12 (diff) | |
download | vbados-a5abb118e0e61587adfa7b4e4cc72948311381d3.tar.gz vbados-a5abb118e0e61587adfa7b4e4cc72948311381d3.zip |
try to handle graphical cursor rendering in a more generic way
Diffstat (limited to 'int33.h')
-rw-r--r-- | int33.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -16,9 +16,13 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + #ifndef INT33_H #define INT33_H +#include <stdint.h> +#include <stdbool.h> + enum INT33_API { /** Reinitializes mouse hardware and resets mouse to default driver values. * On return, ax = 0xFFFF, bx = number of buttons. */ @@ -185,7 +189,8 @@ static uint16_t int33_reset(void); #pragma aux int33_reset = \ "mov ax, 0x0" \ "int 0x33" \ - __value [ax] + __value [ax] \ + __modify [ax bx] static void int33_set_horizontal_window(int16_t min, int16_t max); #pragma aux int33_set_horizontal_window = \ @@ -221,4 +226,4 @@ static uint16_t int33_get_driver_version(void); __value [bx] \ __modify [ax bx cx dx] -#endif +#endif /* INT33_H */ |