aboutsummaryrefslogtreecommitdiff
path: root/ps2.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-03-13 18:54:17 +0100
committerJavier <dev.git@javispedro.com>2022-03-13 18:54:17 +0100
commit1ce283e805356b6e838c31e4ecf2fdbdc9a54ad4 (patch)
tree521c855ea18461f2ed95f117dbd402ed0c1265bc /ps2.h
parent45aeeabc0613326b8597659b17f975a0ec4b1209 (diff)
downloadvbmouse-1ce283e805356b6e838c31e4ecf2fdbdc9a54ad4.tar.gz
vbmouse-1ce283e805356b6e838c31e4ecf2fdbdc9a54ad4.zip
fix ps2 get_device_id (not yet used)
Diffstat (limited to 'ps2.h')
-rw-r--r--ps2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ps2.h b/ps2.h
index 586ba52..1d0dd37 100644
--- a/ps2.h
+++ b/ps2.h
@@ -104,7 +104,7 @@ static ps2m_err ps2m_reset(void);
static ps2m_err ps2m_get_device_id(uint8_t *device_id);
#pragma aux ps2m_get_device_id = \
"stc" \
- "mov ax, 0xC201" /* Pointing device: reset */ \
+ "mov ax, 0xC204" /* Pointing device: get device ID */ \
"int 0x15" \
"mov es:[di], bh" /* Save returned value */ \
"jnc end" \