1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
kvisc/ka/crt/sys.k

37 lines
523 B
Plaintext
Raw Normal View History

2019-07-09 19:51:03 +02:00
; The OS/K Team licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
2019-07-10 12:26:15 +02:00
; FIND syscalls
;
; Find file on disk
;
; IN
; ax0 = address of name buffer
; ax1 = size of name buffer
;
; OUT
; rax = # of bytes written in name buffer
; rdx = size of file
;
;
Sys.FindFirst := 0x20
Sys.FindNext := 0x21
2019-07-10 17:17:45 +02:00
;
; EXIT syscall
;
; Return to COMMAND.COM
;
Sys.Exit := 0x00
2019-07-10 22:37:59 +02:00
;
; SHUTDOWN syscall
;
; End virtual machine
;
Sys.Shutdown := 0x01
2019-07-09 19:51:03 +02:00
; Halt mode
Sys.HLT := 0x99