1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-01 22:50:35 +00:00
6502bench/SourceGen/RuntimeData/Apple/SOS.sym65

57 lines
1.4 KiB
Plaintext
Raw Normal View History

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
; SOS Reference Manual, Volume 2 (Apple 1982)
2018-09-28 22:06:35 +00:00
*SYNOPSIS Apple /// Sophisticated Operating System 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
SOS_SET_FENCE = $60
SOS_GET_FENCE = $61
SOS_SET_TIME = $62
SOS_GET_TIME = $63
SOS_GET_ANALOG = $64
; SOS ref: "TERMINATE"
; SOS ref: "No errors are possible. This is an excellent call for beginners."
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_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 ref: "READ"
2018-09-28 23:43:33 +00:00
SOS_READFILE = $CA
; SOS ref: "WRITE"
2018-09-28 23:43:33 +00:00
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