NitrOS-9_Commands_Reference

asm

Syntax:asm filename [option(s)] [#memsize] [>listing]
Usage: 
Opts: 
 CConditionals on - displays conditional assembly statements in the listing. (C)
 DnumPage Depth - sets the number of lines per listing page, including heading and blank line. (D66)
 EError Message On - displays error messages in listing. When this option is off, an E appears in a statement's informational field if an error is present. (E)
 FUse Form Feed - uses a form feed for page eject instead of line feeds. (-F)
 GGenerate All Constant Lines -- displays all lines of code generated by pseudo instructions. Otherwise, it displays only the first line. (-G)
 LListings On - generates formatted assembly listing. If off, the assembler displays only error messages. (-L)
 MMode On - turns on Motorola-compatible mode. (-M)
 NNarrow Listing - generates listing in a non-columnized, compressed format for better presentation on narrow display devices. (-N)
 O[=filename]Generates object object file. (-O)
If you do not specify a file name, the assembler creates an object file having the same name as the input file in the current execution directory.
If you specify a single name, assembler creates an object file having that name but still in the current execution directory.
If you specify a full pathlist, the assembler uses it as the name specification of the device, directory, and file to create.
 SGenerate Symbol Table -- displays the entire contents of the symbol table at the end of the assembly. Displays each name, its value, and a type code character:
  D = data variable (RMB definitions)
  E = equate label (EQU)
  L = program label
  S = set label
  U = undefined name.
  The table is displayed across the page in alphabetical order. (-S)
 WnumSet Page Width -- defines the maximum length of each listing line. Lines are truncated if they exceed this number. The comment field starts at column 50; therefore, a number smaller than this may cause important parts of the listing to be lost. (W80)

attr

Syntax:attr filename [<opts>] [<perms>]
Usage:Examine or change the security permissions of a file
Opts: 
 -permturn off specified permission
 permturn on specified permission
 -ainhibit printing of attrs after change
Perms: 
 ddirectory file
 snon-sharable file
 rread permit to owner
 wwrite permit to owner
 eexecute permit to owner
 prread permit to public
 pwwrite permit to public
 peexecute permit to public

backup

Syntax:backup [<opts>] [<srcdev>] [<destdev>]
Usage:Copies all data from one device to another
Opts: 
 eexit if read error occurs
 ssingle disk backup
 -vdo not verify writes

binex

Syntax:binex <path1> <path2>
Usage:Convert binary to S-record format

build

Syntax:build <path>
Usage:Builds short text files from standard input

calldbg

Syntax: 
Usage: 
Opts: 

cmp

Syntax:cmp <path1> <path2>
Usage:File comparison utility

cobbler

Syntax:cobbler <devname>
Usage:Creates NitrOS-9 boostrap file from current boot

copy

Syntax:copy [<opts>] <srcpath> [<dstpath>] [<opts>]
Usage:Copies files
Opts: 
 -aabort on error
 -pdon't print files copied (use with -w)
 -rrewrite destination
 -ssingle drive copy
 -vverify the copy
 -w=<dir>copy to <dir>
 -xcopy from execution directory

cputype

Syntax:cputype
Usage:Displays type of CPU being used

date

Syntax:date [<opts>]
Usage:Displays current system date
Opts: 
 -tdisplay time also

dcheck

Syntax:dcheck [<opts>] <devname>
Usage:Check disk file structure
Opts: 
 -w=<path>pathlist to directory for work files
 -pprint pathlists for questionable clusters
 -msave allocation map work files
 -bsuppress listing of unused clusters
 -sdisplay count of files and directories only
 -oprint options for dcheck

debug

Syntax:debug
Usage:Interactive debugger

ded

Syntax:ded </device>
Usage:Binary disk editor

deiniz

Syntax:deiniz <devname> {<devname>}
Usage:Detach one more devices

del

Syntax:del [<opts>] <path> [<path>] [<opts>]
Usage:Deletes one or more files
Opts: 
 -xdelete relative to execution directory

deldir

Syntax:deldir <path>
Usage:Deletes entire directories

devs

Syntax:devs
Usage:Displays IOMan's device table entries

dir

Syntax:dir [<opts>] [<path>]
Usage:Displays formatted list of the file names in a directory
Opts: 
 -eextended directory listing
 -xexecution directory

dirsort

Syntax: 
Usage: 
Opts: 

disasm

Syntax:disasm [<opts>] [<pathlist>]
Usage:6809/6309 disassembler
Opts: 
 -mdisassemble module in memory
 -odisplay other information
 -s$ssss$eeeeindicate disassembly start and end addresses
 -udon't convert U/DP offsets to labels
 -xfile is in execution directory
 -zdisassemble from standard input

display

Syntax:display <opts>
Usage:Displays converted characters to standard output
Opts: 
 xxhexademical
 .xxdecimal byte
 .Wxxdecimal word
 /xx/string
 "xx"string

dmode

Syntax:dmode <devname> [<opts>]
Usage:Displays or changes the parameters of an RBF device

dsave

Syntax:dsave [<opts>] [<pathlist>]
Usage:Generates procedure file to copy all files from the current directory to <pathlist>
Opts: 
 -bmake a system disk by using OS9Boot if present
 -b=<path>make system disk using <path> as source
 -iindent for directory levels
 -ldo not process below the current directory level
 -mdo not include makdir commands in procedure file
 -rforce rewrite of file on copy
 -s<num>set copy size to <num>K
 -vverify copies

dump

Syntax:dump [<opts>] [<path>] [<opts>]
Usage:Formatted file dump in hexademical and ASCII
Opts: 
 -hno header
 -mmodule in memory
 -xfile in execution directory

echo

Syntax:echo <text>
Usage:Echo entered text to standard output

edit

Syntax:edit [<path>]
Usage:Standard line-oriented text editor

error

Syntax:error [<errno>] [<errno> [...]]
Usage:Outputs text error messages for given error numbers

exbin

Syntax:exbin <path1> <path2>
Usage:Converts S-Record format to binary

format

Syntax:format <devname> [<opts>]
Usage:Initializes a NitrOS-9 diskette
Opts: 
 RReady
 LLogical format only
  "disk name"
 1/2number of sides
  'No. of cylinders' (in decimal)
   :Interleave value: (in decimal)
  /Cluster size/ (in decimal)

free

Syntax:free [<devname>]
Usage:Displays number of free sectors on device

grfdrv

Syntax:none
Usage:Graphics driver module that needs to be loaded to handle graphics/windowing commands

help

This heading is mucked up because Sourceforge automatically generates an id based on the header title, which causes this to use SourceForge's .help style.

Syntax:help [<subject>] [<opts>]
Usage:Gives online help to user and prompts if no subjects given

ident

Syntax:ident [<opts>] <path> [<opts>]
Usage:Displays header information of NitrOS-9 memory modules
Opts: 
 -mmodule in memory
 -sshort form
 -vdon't verify CRC
 -xfile in execution directory

iniz

Syntax:iniz <devname> [<devname> [...]]
Usage:Attaches one or more devices

irqs

Syntax:irqs
Usage:Displays interrupt table entries
Syntax:link <modname>
Usage:Links to a memory module

list

Syntax:list <path> [<path> [...]]
Usage:Lists the contents of text files

load

Syntax:load <pathlist> [<pathlist> [...]]
Usage:Loads modules into memory

login

Syntax:login
Usage:Timesharing system login

makdir

Syntax:makdir <pathlist>
Usage:Creates a new directory file

megaread

Syntax:megaread </dev>
Usage:Measures disk performance

mdir

Syntax:mdir [<opts>]
Usage:Displays the present memory module directory
Opts: 
 -eprints extended module directory

merge

Syntax:merge <path> [<path> [...]]
Usage:Copies multiple input files to standard output
Opts: 
 -zgets list of files from standard input

mfree

Syntax:mfree
Usage:Displays the amount of free memory

mpi

Syntax:mpi
Usage:Displays the presence of a Multi-Pak Interface

os9gen

Syntax:os9gen devnam [<opts>]
Usage:Creates and links a NitrOS-9 bootstrap file
Opts: 
 -ssingle drive option
 -t=<boottrack>boot track file to use

padrom

Syntax:padrom <padsize> <pathlist> [<devname>] [<opts>]
Usage:Pads a file to <padsize> bytes
Opts: 
 -c=<char>character to pad the file with (in hexadecimal)

park

Syntax:park <devname> [<devname> [...]]
Usage:Parks the heads on a hard disk drive

printerr

Syntax: 
Usage: 
Opts: 

procs

Syntax:procs [<opts>]
Usage:Displays a list of processes running in the system
Opts: 
 -edisplays all processes in the system

prompt

Syntax:prompt <message>
Usage:Prints <message> and waits for a key

pwd

Syntax:pwd
Usage:Prints the path to the current working directory

pxd

Syntax:pxd
Usage:Prints the path to the current execution directory
Opts: 

rename

Syntax:rename <pathlist> <filename>
Usage:Gives the file or directory a new name

save

Syntax:save <path> <modname> [<modname> [...]]
Usage:Saves the memory module(s) to a file

setime

Syntax:setime [yyyy/mm/dd hh:mm:ss]
Usage:Sets and activates the system clock

shellplus

Syntax: 
Usage: 
Opts: 

shell

Syntax:shell [<arglist>]
Usage:NitrOS-9 command interpreter

sleep

Syntax:sleep <ticks>
Usage:Suspends the current process for a period of time

tee

Syntax:tee [<path>]
Usage:Copy the standard input to multiple output paths

tmode

Syntax:tmode [<path>] [<opts>]
Usage:Displays or changes the operating parameters of the terminal

touch

Syntax:touch [<opts>] <path> [<opts>]
Usage:Updates the date of a file
Opts: 
 -cdon't create files
 -qdon't quit on error
 -xsearch execution directory
 -zget files from standard input
 -z=<file>get files from <file>

tsmon

Syntax:tsmon [<pathlist>]
Usage:Timesharing monitor

tuneport

Syntax:tuneport <device> <value>
Usage:Adjusts the baud value for the serial port
Syntax:unlink <modname> [<modname> [...]]
Usage:Unlinks one or more modules from memory

verify

Syntax:verify [<opts>]
Usage:Verifies or updates the module header and CRC
Opts: 
 -uupdate the module CRC

xmode

Syntax:xmode <devname> [<opts>]
Usage:Displays or changes the parameters of an SCF device

inetd

Syntax: 
Usage: 
Opts: 

telnet

Syntax: 
Usage: 
Opts: 

dw

Syntax: 
Usage: 
Opts: 

basic09

Syntax:basic09
Usage:Basic language interpreter

runb

Syntax:runb _ _
Usage:Basic09 run-time package

gfx

Syntax:RUN GFX(<func>,<args>)
Usage:Graphics interface package for Basic09 to do compatible VDG graphics commands

inkey

Syntax:RUN INKEY([path], strvar)
Usage:Basic09 subroutine to input a single keystroke

syscall

Syntax: 
Usage: 
Opts: 

Related

Old Wiki: Main_Page

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.