2018-09-28 22:06:35 +00:00
|
|
|
; Copyright 2018 David Schmidt. All Rights Reserved.
|
|
|
|
; See the LICENSE.txt file for distribution terms (Apache 2.0).
|
|
|
|
;
|
|
|
|
; Source: SOS programmer's guide
|
|
|
|
|
2018-09-29 04:31:32 +00:00
|
|
|
*SYNOPSIS SOS constants.
|
2018-09-28 22:06:35 +00:00
|
|
|
|
|
|
|
; SOS MLI function codes.
|
|
|
|
*TAG SOS-MLI-Functions
|
|
|
|
|
2018-09-28 23:43:33 +00:00
|
|
|
SOS_REQUEST_SEG = $40
|
|
|
|
SOS_FIND_SEG = $41
|
|
|
|
SOS_CHANGE_SEG = $42
|
|
|
|
SOS_GET_SEG_INFO = $43
|
|
|
|
SOS_GET_SEG_NUM = $44
|
|
|
|
SOS_RELEASE_SEG = $45
|
2018-09-28 22:06:35 +00:00
|
|
|
|
2018-09-28 23:43:33 +00:00
|
|
|
SOS_QUIT = $65
|
2018-09-28 22:06:35 +00:00
|
|
|
|
2018-09-28 23:43:33 +00:00
|
|
|
SOS_READBLOCK = $80
|
|
|
|
SOS_WRITEBLOCK = $81
|
|
|
|
SOS_GET_TIME = $82
|
|
|
|
SOS_D_STATUS = $82
|
|
|
|
SOS_D_CONTROL = $83
|
|
|
|
SOS_GET_DEV_NUM = $84
|
|
|
|
SOS_D_INFO = $85
|
2018-09-28 22:06:35 +00:00
|
|
|
|
2018-09-28 23:43:33 +00:00
|
|
|
SOS_CREATE = $C0
|
|
|
|
SOS_DESTROY = $C1
|
|
|
|
SOS_RENAME = $C2
|
|
|
|
SOS_SET_FILE_INFO = $C3
|
|
|
|
SOS_GET_FILE_INFO = $C4
|
|
|
|
SOS_VOLUME = $C5
|
|
|
|
SOS_SET_PREFIX = $C6
|
|
|
|
SOS_GET_PREFIX = $C7
|
|
|
|
SOS_OPEN = $C8
|
|
|
|
SOS_NEWLINE = $C9
|
|
|
|
SOS_READFILE = $CA
|
|
|
|
SOS_WRITEFILE = $CB
|
|
|
|
SOS_CLOSE = $CC
|
|
|
|
SOS_FLUSH = $CD
|
|
|
|
SOS_SET_MARK = $CE
|
|
|
|
SOS_GET_MARK = $CF
|
|
|
|
SOS_SET_EOF = $D0
|
|
|
|
SOS_GET_EOF = $D1
|
|
|
|
SOS_SET_LEVEL = $D2
|
|
|
|
SOS_GET_LEVEL = $D3
|