aboutsummaryrefslogtreecommitdiff
path: root/int33.h
diff options
context:
space:
mode:
Diffstat (limited to 'int33.h')
-rw-r--r--int33.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/int33.h b/int33.h
index f7a469d..2755379 100644
--- a/int33.h
+++ b/int33.h
@@ -214,6 +214,29 @@ static uint16_t int33_reset(void);
__value [ax] \
__modify [ax bx]
+static bool int33_reset_get_buttons(uint16_t *num_buttons);
+#pragma aux int33_reset_get_buttons = \
+ "mov ax, 0x0" \
+ "int 0x33" \
+ "mov [di], bx" \
+ "cmp ax, 0xFFFF" \
+ "sete ah" \
+ __parm [di] \
+ __value [ah] \
+ __modify [ax bx]
+
+static void int33_show_cursor(void);
+#pragma aux int33_show_cursor = \
+ "mov ax, 0x1" \
+ "int 0x33" \
+ __modify [ax]
+
+static void int33_hide_cursor(void);
+#pragma aux int33_hide_cursor = \
+ "mov ax, 0x2" \
+ "int 0x33" \
+ __modify [ax]
+
static void int33_set_horizontal_window(int16_t min, int16_t max);
#pragma aux int33_set_horizontal_window = \
"mov ax, 0x7" \
@@ -309,4 +332,14 @@ static uint16_t int33_get_capabilities(void);
__value [cx] \
__modify [ax bx cx]
+static const char __far * int33_get_version_string(void);
+#pragma aux int33_get_version_string = \
+ "xor ax, ax" \
+ "mov di, ax" \
+ "mov es, ax" \
+ "mov ax, 0x6d" \
+ "int 0x33" \
+ __value [es di] \
+ __modify [ax]
+
#endif /* INT33_H */