1
0
mirror of synced 2026-01-12 00:42:56 +00:00

10 lines
5.2 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The dld-link SUBR opcode
This opcode links in a relocaltable object file or a library file. The return value is an error code.
(SUBR DLD-LINK path)
Path is the path of the file to be loaded expressed as a string.
Return-Code is a FIXP cell into which DLD-LINK places a return value. See below for possible values.
Opcode is #o250
The dld-unlink-by-file SUBR opcode
This opcode unlinks in a relocaltable object file or a library file. The return value is an error code.
(SUBR DLD-UNLINK-BY-FILE string hard-flag)
String is the name of the file to be unlinked.
Hard-flag is zero if the file shouldn't be unlinked if it is referenced by others. A nonzero value means that the file should be unlinked regardless of other references.
Return-Code is a FIXP cell. See below for possible values.
Opcode is #o251
The dld-unlink-by-symbol SUBR opcode
This opcode unlinks in a relocaltable object file or a library file. The return value is an error code.
(SUBR DLD-UNLINK-BY-SYMBOL string)
String is the name of a symbol containde in the file to be unlinked.
Hard-flag is zero if the file shouldn't be unlinked if it is referenced by others. A nonzero value means that the file should be unlinked regardless of other references.
Return-Code is a FIXP cell. See below for possible values.
Opcode is #o252
The dld-get-symbol SUBR opcode
This opcode returns a pointer to a symbol in C-space.
(SUBR DLD-GET-SYMBOL string)
String is the name of a symbol.
Opcode is #o253
The dld-get-func SUBR opcode
This opcode returns a pointer to a function in C-space.
(SUBR DLD-GET-FUNC string)
String is the name of a function.
Opcode is #o254
The dld-function-executable-p SUBR opcode
This opcode returns 0 if the function contains undefined references.
(SUBR DLD-FUNCTION-EXECUTABLE-P string)
String is the name of a function.
Opcode is #o255
The dld-list-undefined-sym SUBR opcode
This opcode returns returns a list of the undefined symbols in the system.
(SUBR DLD-LIST-UNDEFINED-SYM)
Opcode is #o256
The dld-create-reference SUBR opcode
This opcode forces the system to load the library containing this symbol.
(SUBR DLD-CREATE-REFERENCE string)
0 Successful call and return.
-1 DLD-ENOFILE cannot open file.
-2 DLD-EBADMAGIC bad magic number.
-3 DLD-EBADHEADER failiure reading header.
-4 DLD-ENOTEXT premature end of file in text section.
-5 DLD-ENOSYSMBOLS premature end of file in symbol section.
-6 DLD-ENOSTRINGS bad string table.
-7 DLD-ENOTEXTRELOC premature end of file in text relocation.
-8 DLD-ENODATA premature end of file in data section.
-9 DLD-ENODATARELOC premature end of file in data relocation.
-10 DLD-EMULTDEFS multiple definitions of symbol.
-11 DLD-EBADLIBRARY malformed library archive.
-12 DLD-EBADCOMMON common block not supported.
-13 DLD-EBADOBJECT malformed input file.
-14 DLD-EBADRELOC bad relocation info.
-15 DLD-ENOMEMORY vmem exhausted.
-16 DLD-EUNDEFSYM undefined symbol.
-T,,<01> ,,CLASSIC VH(DEFAULTFONT 1 (GACHA 10) (GACHA 8) (TERMINAL 8) (POSTSCRIPT (GACHA 8)))
CLASSIC MODERNVH(DEFAULTFONT 1 (GACHA 10) (GACHA 8) (TERMINAL 8) (POSTSCRIPT (GACHA 8)))
f< [
"h( <00> 0
$h> <00> /
6
8
)E 
&K
$J!#+6<$>6>2//)'"$ d<00>z<EFBFBD>