diff options
author | Javier <dev.git@javispedro.com> | 2022-04-15 12:26:02 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-04-15 12:26:02 +0200 |
commit | 6af29dacaaea968955ca1690037a9f6e9e0fb0ff (patch) | |
tree | 198a5767bddb241579af09c0153074d8dcdd9f9f /dlog.h | |
parent | 0f0a806e22895c5b7a6244e951c4f475a25184f8 (diff) | |
download | vbados-6af29dacaaea968955ca1690037a9f6e9e0fb0ff.tar.gz vbados-6af29dacaaea968955ca1690037a9f6e9e0fb0ff.zip |
add log msgs for non-detection of ps2 wheel
Diffstat (limited to 'dlog.h')
-rw-r--r-- | dlog.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ static void dlog_init() // Comes straight from https://wiki.osdev.org/Serial_Ports#Initialization outp(DLOG_TARGET_PORT + 1, 0x00); // Disable all interrupts outp(DLOG_TARGET_PORT + 3, 0x80); // Enable DLAB (set baud rate divisor) - outp(DLOG_TARGET_PORT + 0, 0x03); // Set divisor to 3 (lo byte) 38400 baud + outp(DLOG_TARGET_PORT + 0, 0x01); // Set divisor to 1 (lo byte) 115200 baud outp(DLOG_TARGET_PORT + 1, 0x00); // (hi byte) outp(DLOG_TARGET_PORT + 3, 0x03); // 8 bits, no parity, one stop bit outp(DLOG_TARGET_PORT + 2, 0xC7); // Enable FIFO, clear them, with 14-byte threshold |