From ef945b11929d9be781dfd8bb042a0fa1d5fcde02 Mon Sep 17 00:00:00 2001 From: lpproj Date: Fri, 21 Aug 2020 10:49:52 +0900 Subject: [PATCH] Fix Func 2Dh (Set System Time) sets wrong time --- drivers/wrpcclk.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/wrpcclk.asm b/drivers/wrpcclk.asm index 9c4f1b8..c4e8129 100644 --- a/drivers/wrpcclk.asm +++ b/drivers/wrpcclk.asm @@ -41,7 +41,7 @@ segment HMA_TEXT WRITEPCCLOCK: ; Ticks = 4 pop ax ; return address - popargs {dx,cx} ; Ticks + popargs {cx,dx} ; Ticks push ax ; restore stack mov ah,1 int 1ah