Merge branch 'cf9' into 'master'

Use 0xcf9 write for system reset

See merge request nakst/essence!13
This commit is contained in:
phcoder 2025-02-25 15:44:17 +00:00
commit bf308761fe
2 changed files with 8 additions and 0 deletions

View File

@ -470,6 +470,10 @@ ProcessorIn32:
ret
ProcessorReset:
mov al, 0xe
mov dx, 0xcf9
out dx, al
in al,0x64
test al,2
jne ProcessorReset

View File

@ -780,6 +780,10 @@ MMArchSafeCopy:
ret
ProcessorReset:
mov al, 0xe
mov dx, 0xcf9
out dx, al
in al,0x64
test al,2
jne ProcessorReset