Contents
Dragon HW
Dragon SW (DDOS)
Dragon SW (OS9)
Dragon Projects

Dragon Software

The information in this section has appeared in articles in the NDUG (National Dragon Users Group [UK]) Up2Date disk magazine over the past few years. Most is in it's original form, though I have added some links to enable software to be downloaded.

Up2Date SW Articles

Cassette IO Routines - Using the cassette system through m/code

Disk IO Routines - Using the disk system through m/code

Dragon Disk OS9 Device Driver - OS9 assembler listing of the dragon's device driver. Gives a fairly concise code example of using the disk controller. See the OS9 Software Page for a fuller understanding of device drivers etc.

Other SW Articles

Cartridge to Disk Transfers

Software Archive

Most of the software here are simple utilities or routines referenced elsewhere on this page which can be incorporated into any code you are/may wish to write. Source files are stored as ASCII, and can be viewed or loaded directly into your Dragon, either by writing them as data files to tape, then using the ',A' option of CLOAD, or if via LOAD (if your DOS supports it) or by the ASCLOAD program given below. Binary & BASIC files are stored in standard DragonDOS .BIN or .BAS format.

How to get files to your Dragon: see the PC Links section.

LOAD64.BIN
LOAD64.ASC (DASM Assembler) - load DragonDOS .bin files anywhere in the 64K RAM map - requires 256 byte buffer in first graphics page. Usage: EXEC 3083,filename,start_addr.

SAVE64.BIN
SAVE64.ASC - save DragonDOS .bin files anywhere in the 64K RAM map - requires 256 byte buffer in first graphics page. Usage: EXEC 3083,filename,start_addr,length,exec_addr

CATALOG2.BIN
CATALOG2.ASC - DOS directory search utility. Match all files with a given extention.

Usage:
10 DEFUSR0=3075:POKE &HF7,0
20 B$="BAS"+STRING$(5,32) 'MATCH ALL FILES WITH EXTENSION .BAS
30 A$=B$
40 A$=USR0(B$)
50 IF A$=B$ THEN STOP
60 PRINT A$
70 GOTO 30

ASCSAVE.BIN
ASCSAVE.ASC - Saves BASIC programs as ASCII.

Usage:

EXEC 3072 'INSTALL
LOAD filename 'SOURCE BASIC PROGRAM
EXEC PEEK(157)*256+PEEK(158),filename 'ASCII FILE

ASCLOAD.BIN
ASCLOAD.ASC - Loads ASCII files into BASIC memory.

Usage:

EXEC 3072,filename   'ASCII FILE
SAVE filename        'RESULTANT BASIC PROGRAM

OS9COPY3.BIN
OS9COPY3.ASC - saves OS9 files to DragonDOS.

Usage:

Under OS9, directory the source disk using DIR E:

OS9:dir /d1 e

 Directory of .  12:24:07

CREATED ON   OWNER  NAME                              ATTR   START      SIZE

95/09/06 1753    0  line.c                        ---wr-wr    102E       182
95/09/06 1753    0  MAILER1_1.OLD                 ------wr    1032      1743
95/09/06 1753    0  MAILER1_1.C                   ------wr    104C      175F
95/09/09 1201    0  install                       ----r-wr    1066       26B
95/09/06 1753    0  mailer.c                      ----r-wr    106C       D46

to obtain the starting LSN number. 
From DragonDOS, first directory a DragonDOS disk of the same number
of sides as the OS9 one. Then, load OS9COPY:

EXEC 31555,os9_lsn,DDOS_filename
eg.
EXEC 31555,&H102E,"LINE.C"

VERIFY.BIN
VERIFY2.ASC - DragonDOS/OS9 disk verify program. Usage: EXEC 3072,drv_num,tot_tracks-1,tot_sectors eg. EXEC 3072,1,39,18 - standard 40T/SS disk.

FORMAT1.BAS and FORMAT1.BIN - format and recover 1 track of a disk
FORMAT1.ASC (DASM + BASIC App)

DASDRM.BAS and DASDRMML.BIN - convert DASM assembler source files to DREAM format
DASDRM.ASC and DASDRMML.ASC - sources

TOKENISR.BIN - Re-tokenise Dragon BASIC program for CoCo. Usage: CLEAR 200,30000, load BASIC program and type EXEC. This program along with TRSTOKS.BIN will allow you to load and run BASIC programs saved on a Dragon/CoCo to run on the 'other' machine. Note: Only converts Extended BASIC keywords, RSDOS and DragonDOS keywords are not dealt with. Any m/code calls to either machine's BASIC ROM may need altering. See Differences between CoCo/Dragon

TRSTOKS.BIN - Re-tokenise CoCo BASIC program for Dragon. Usage as per Dragon tokeniser.

Referenced Software

Tapedit V1.1 - Tape Editor/Viewer - see Cassette I/O

Serial Mouse Drivers (D64):
mouse.bin
mouse.asc

and
mouse2.bin

mouse2.asc - see Attaching a mouse to a Dragon.

Cartridge to Disk transfer software - see articles on Transferring ROM Cartridges to disk

cartboot.bin
cartboot.asc (DASM assembler source)

cartboot2.bin (CoCo noise mode)
cartboot2.asc

 

 

©2018 OnAStickSoftware, Comments to: webmaster@onasticksoftware.co.uk