aboutsummaryrefslogtreecommitdiff
path: root/ps2.h
diff options
context:
space:
mode:
Diffstat (limited to 'ps2.h')
-rw-r--r--ps2.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/ps2.h b/ps2.h
index 717ab84..ffcf7bb 100644
--- a/ps2.h
+++ b/ps2.h
@@ -80,12 +80,8 @@ enum ps2m_sample_rate {
PS2M_SAMPLE_RATE_200 = 6
};
-#pragma aux PS2_CB far loadds parm reverse caller []
-// TODO: ax and es look not be preserved with this. VBox BIOS already preserves them though, as well as 32-bit registers
-
-/** Invoked by the BIOS when there is a mouse event.
- * @param status combination of PS2M_STATUS_* flags */
-typedef void (__far * LPFN_PS2CALLBACK)(uint8_t status, uint8_t x, uint8_t y, uint8_t z);
+/** Invoked by the BIOS when there is a mouse event. */
+typedef void (__far * LPFN_PS2CALLBACK)();
static ps2m_err ps2m_init(uint8_t packet_size);
#pragma aux ps2m_init = \