back
next
deutsch =
Programmieren in Qdos (PiQ)
3. Auflage (2nd revision), .hpr'7/98
Short Reference Guide
- Work in progress, as time permits. Sections without page
numbers are ready (at most) -
-
.5 Runtime Conventions
130
-
.6 Arithmetic Memory
131
-
.7 Arithmetic Vectors
132
-
4.6 Thing 135
-
.1 Organization
136
-
.2 Anwendung
137
-
.3 Aufbau
137
-
.1 Vectors of the
THING-Thing 139
-
.2 Trap Emulation
139
-
.3 Link block
142
1.1 ** Sources of
Information
-
"QL Advanced User Guide", Adrian Dickens,
1984, Adder Publishing
-
"QL-Technical Guide", Karlin & Tebby,
1985, Sinclair, (re JS-ROM)
-
MINERVA Technical Guide, v1.72, 1991,
QView
-
Sinclair QL World
-
{4}, "QL CONNEXIONS", Colin Opie 12/86 -
7/87
-
MC68008, Motorola, 1985, ADI939R2,
MC68008/D,
MC68000, Motorola, 1985, ADI814R6,
MC68000/D
-
Elementary Hardware of Mikroprocessors, .hpr
1991
-
Maschinen- and Assemblersprache des
MC68000,Osterman, 1987
-
Floppy Disc Standard, Sinclair
-
Relocatable Object File Standard,
Sinclair,
-
Trump Card Toolkit User Manual (with TK2),
Miracle Systems, 1987
-
QL Assembly Language Programming, Colin Opie,
MacGraw-Hill, 1984
-
IO2, General Purpose Toolkit with Assembler
Sources, by .hpr, 1990+
-
Sinclair Service Manual, Sinclair,
1985
-
QDOS Reference Manual, Merz, 1991 (SMS2/SMSQ
References)
-
Pointer Environment, QPtr manual & other
documentation
-
The Hutchinson QL Series, 1984, Psion
Programs
-
Computer Kontakt, Jahrgang 1988
-
The Internet
-
Sinclair QL User Guide, german edition
-
QL-Today, german & english, 1997+.
-
"QL SuperBASIC, The Definitive Handbook", by
Jan Jones
Everything will be considered "QDOS"
compatible that conforms to the standards as set up with {2} and the more
recent additions made by Sinclair, and which is documented reliably and, at
least, to the same extent.
The sole reference to SBasic it is "QL
SuperBASIC, The Definitive Handbook", by Jan Jones, the title of which speaks
for itself...
1.2 ** 3rd edition (1st
english), 6/1998
This is a summary of the original publication
"Programmieren in QDOS", as published in 1995.
Recent references include the available
documentation for the QXL, the QXL.WIN pseudo drives and several additions
concerning the SMSQ versions.
This text is a collection of any information
about the Sinclair QL and its operating system, QDOS, I could get hold of,
based on the state current in 1995. And it is a translation to the english
language from a translation of the english sources to the german language.
Thus, pse, be tolerant...
I'd leave off most of what may be found in
the already well known(?) Sinclair documents, to providing just some
programming aid in the form of a comprehensive set of system references and
programming hints.
The contents were verified with the author's
(networking) QDOS systems, GC/QL/Minerva(1.93), GC/MGG and
QXL/SMSQ(2.76).
Any note on errors in the text and additional
information would be highly welcome.
1.2.1 **
Copying
Copyright (C) 1998, Berlin, by
The documents may be used and given away freely non commercially and, if a
proof copy is sent to the author, be translated and/or reprinted in non
commercial publications, unchanged and cost free, only.
The authentic documents can always be received from the URL as noted above.
The author does not promise the reliability of this documentation, which
reflects just what appears to be true in his own QDOS computers, thus there
is no warranty at all.
Any names or algorithms mentioned may be protected by copyright or other law.
1.3 ** Abbreviations
and Conventions for this document
Memory references are decimal and refer to
longword items if not mentioned otherwise.
QDOS strings are preceded by a count word,
and reside at even addresses.
1KB is 1024 Bytes, 1MB is 1024KB.
(Trap-No/D0-Code)
|
QDOS TRAP calls, e.g., (1/7) for TRAP #1,
D0=7, MT.TRAPV
|
%
|
binary
|
&
|
octal
|
$
|
sedecimal
|
abs
|
absolute
|
adr
|
address
|
(adr)
|
content at address
|
AQ
|
Atari ST QL-Emulator
|
jcb
|
Job Control Block
|
jdt
|
Job Definition Table (alias jcb)
|
LV2, LV
|
"Level 2 Device Handler" in TK2, Trump/Gold
Card, SM, AQ etc.
|
ofs
|
Offset, displacement
|
PE
|
"Pointer Environment"
|
PIF
|
"Pointer Interface" of PE
|
ptr
|
Pointer (abs / rel Adr)
|
QL
|
The Black(!) QL
|
rel
|
relative
|
rpa
|
Resident Program Area
|
SMS2, SM
|
a QDOS-ish operating system
|
SNG
|
a V.I.P. of the QL world ...
|
sp
|
Stack pointer
|
TK2, TK
|
"Toolkit 2"
|
tpa
|
Transient Program Area
|
.B
|
Byte, Character, any contiguous 8-bit entity
at an address unit
|
.W
|
Word, Cell, dto., 16-Bit
|
.L
|
Longword, dto., 32-Bit
|
f.p.
|
Floating point number, QDOS format
12-Bit-Exponent, 32-Bit-Mantisse
|
Integer
|
signed 2-s complement 16-bit number
|
Long Integer
|
dto., 32-Bit
|
top :
next
=