# RomWBW Applications

In addition to the standard applications provided by the included operating systems, RomWBW provides several custom applications that enhance the operation of RomWBW. These applications are briefly documented here.

## ASSIGN Command

The ASSIGN command assigns operating system drive letters to desired hardware disk devices.

##### Syntax
 ASSIGN {/?|/L|D:[=[{D:| []:[]}]]}[,…]

D represents any valid drive letter
<device> is any of the system devices, such as FD, IDE, PPIDE, etc.
<unitnum> specifies the device unit, defaults to 0
<slicenum> specifies the slice within a hard disk unit, defaults to 0

##### Examples
 ASSIGN display all current drive assignments ASSIGN /? display version and usage ASSIGN /L display all possible devices ASSIGN C:=D: swaps drive C: with drive D: ASSIGN C:=FD0: assign drive C: to floppy unit 0 ASSIGN C:=IDE0:1 assign drive C: to IDE unit0, slice 1 ASSIGN C:= unassign drive C:
##### Notes

The changes made by this command are not permanent. The assignments will persist through a warm start, but when you reboot your system, all drive letters will return to their default assignments. A SUBMIT batch file can be used to setup desired drive assignments automatically at boot.

All assigned drives utilize disk buffer space from a limited pool. The ASSIGN command will display the amount of buffer space remaining after an assign command is executed. Buffer space is freed if a drive is unassigned.

Floppy disk drives and RAM/ROM drives do not have slices. A slice should only be specified for hard disk devices (SD, IDE, PPIDE).

Only one drive letter may be assigned to a specific device/unit/slice at a time. Attempts to assign a duplicate drive letter will fail and display an error. If you wish to assign a different drive letter to a device/unit/slice, unassign the the existing drive letter first.

This command will allow you to unassign any drive including drives that contain system files and programs. Be careful to avoid losing access to critical files or programs.

## SYSCOPY Command

The SYSCOPY command allows you make a specified disk bootable by transferring the operating system image to the disk.

##### Syntax
 SYSCOPY [=]

<dest> is the disk drive to receive the operating system image or alternatively a filename to store the operating system image
<src> is the disk drive or filename containing the system image to be placed on the destination

##### Examples
 SYSCOPY C:=CPM.SYS transfer OS image in CPM.SYS file to system area of drive C: SYSCOPY C:=A: transfer OS image from system area of drive A: to system area of drive C: SYSCOPY OS.SYS=C: transfer OS image from system area of drive C: to file OS.SYS
##### Notes

The target drive must have sufficient space in it's reserved tracks to accommodate the OS image being transferred. ROM drives and RAM drives have no reserved tracks and therefore cannot be made bootable by SYSCOPY. This is by design since the ROM allows directly loading either CP/M or Z-System from the ROM without using RAM or ROM drive space. The standard floppy and hard disk formats for RomWBW do contain reserved tracks with sufficient space for OS images.

Normally, the ROM drive of RomWBW systems will contain two OS image files that are ready to transfer to a target drive to make the drive bootable. CPM.SYS contains the DRI CPM-80 2.2 system image and ZSYS.SYS contains the Z-System OS image made up of ZSDOS and ZCPR.

## MODE Command

The MODE command allows you to adjust the operating characteristics of serial ports dynamically.

##### Syntax
 MODE COM: [[,[,[,]]]] [/P] MODE /?

<n> is the serial port unit number
<baud> is numerical baudrate
<parity> is (N)one, (O)dd, (E)ven, (M)ark, or (S)pace
<databits> is number of data bits, typically 7 or 8
<stopbits> is number of stop bits, typically 1 or 2
/P prompts user prior to setting new configuration /? displays command usage and version information

##### Examples
 MODE /? display command usage MODE display configuration of all serial ports MODE COM0: display configuration of serial unit 0 MODE COM1: 9600,N,8,1 set serial unit 1 configuration
##### Notes

Specified baud rate and line characteristics must be supported by the serial unit. Any parameters not specified will remain unchanged.

Changes are not persisted and will revert to system defaults at next system boot.