TRAP #1

QDOS Manager traps

D0 KeyQDOS MnemonicSMS Mnemonic
Description
$00MT_INF SMS_INFO Get system information
$01MT_CJOB SMS_CRJB Create but do not ativate a new job
$02MT_JINF SMS_INJB Get information for an existing job
$03Not implemented
$04MT_RJOB SMS_RMJB Remove an existing job
$05MT_FRJOB SMS_FRJB Force remove an existing job
$06MT_FREE SMS_FRTP Find the maximum amount of free memory
$07MT_TRAPV SMS_EXV Set the TRAP Vector table in RAM
$08MT_SUSJB SMS_SSJB Suspend an existing job
$09MT_RELJB SMS_USJB Release an existing job from suspension
$0AMT_ACTIV SMS_ACJB Activate a newly created job
$0BMT_PRIOR SMS_SPJB Set a job's priority
$0CMT_ALLOC SMS_ALHP Allocate user heap space
$0DMT_LNKFR SMS_REHP Free allocated user heap space
$0EMT_ALRES SMS_ARPA Allocate resident procedure space
$0FMT_RERES Not Implemented Release allocated resident procedure space
$10MT_DMODE SMS_DMOD Read or set the display mode
$11MT_IPCOM SMS_HDOP Use the IPC second processor commands
$12MT_BAUD SMS_COMM Set the baud rate for the serial ports
$13MT_RCLCK SMS_RRTC Read the system clock
$14MT_SCLCK SMS_SRTC Set the system clock
$15MT_ACLCK SMS_ARTC Adjust the system clock
$16MT_ALBAS SMS_AMPA Allocate SuperBasic space
$17MT_REBAS SMS_RMPA Free allocated SuperBasic space
$18MT_ALCHP SMS_ACHP Allocate space in the common heap
$19MT_RECHP SMS_RCHP Release allocated space in the common heap
$1AMT_LXINT SMS_LEXI Link an external interrupt handler routine
$1BMT_RXINT SMS_REXI Unlink an external interrupt handler routine
$1CMT_LPOLL SMS_LPOL Link a polled task
$1DMT_RPOLL SMS_RPOL Unlink a polled task
$1EMT_LSCHD SMS_LSHD Link a scheduler task
$1FMT_RSCHD SMS_RSHD Unlink a scheduler task
$20MT_LIOD SMS_LIOD Link a new I/O driver
$21MT_RIOD SMS_RIOD Unlink an I/O driver
$22MT_LDD SMS_LFSD Link a new directory driver
$23MT_RDD SMS_RFSD Unlink a directory driver
$24MT_CNTRA SMS_TRNS Set or reset TRA tables (SMS only ?)

The following are not found in the original QDOS and are SMS only.

D0 KeySMS MnemonicDescription
$26SMS_LTHG Link a Thing into the Thing list
$27SMS_RTHG Unlink a Thing from the Thing list
$28SMS_UTHG Use a Thing
$29SMS_FTHG Free a Thing
$2ASMS_ZTHG Zap a Thing
$2BSMS_NTHG Get next Thing
$2CSMS_NTHU Get next Thing user

Back to QDOS Internals