duskos

dusk os fork
git clone git://git.alexwennerberg.com/duskos
Log | Files | Refs | README | LICENSE

commit 48f1875daab314b205e1c34a2247c1dbb8f4a674
parent 561058c59732eeef9c32cb86a73e432bfd70b23b
Author: Arcade Wise <l3gacy.b3ta@disroot.org>
Date:   Wed, 21 Dec 2022 11:12:54 -0600

Add a reboot word to the 8042 driver.

Signed-off-by: Arcade Wise <l3gacy.b3ta@disroot.org>

Diffstat:
Mfs/drv/pc/ps28042.fs | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/fs/drv/pc/ps28042.fs b/fs/drv/pc/ps28042.fs @@ -48,3 +48,6 @@ code isrIRQ1 _readdata $aa <> if abort" Keyboard self-test failed" then $f0 _writedata $01 _writedata \ use scan code set 1 _readdata $fa <> if abort" Can't set keyboard to scan code set 1" then ; + +\ Reboot using the 8042 interface to the reset pin +: reboot $FE $64 pc! ;