From 1ce283e805356b6e838c31e4ecf2fdbdc9a54ad4 Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 13 Mar 2022 18:54:17 +0100 Subject: fix ps2 get_device_id (not yet used) --- ps2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ps2.h') 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" \ -- cgit v1.2.3