| |||||||
|
Dragon SoftwareThe 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 ArticlesCassette IO Routines - Using the cassette system through m/codeDisk 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 ArticlesCartridge to Disk TransfersSoftware ArchiveMost 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
SAVE64.BIN
CATALOG2.BIN
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 Usage: EXEC 3072 'INSTALL LOAD filename 'SOURCE BASIC PROGRAM EXEC PEEK(157)*256+PEEK(158),filename 'ASCII FILE ASCLOAD.BIN
Usage: EXEC 3072,filename 'ASCII FILE SAVE filename 'RESULTANT BASIC PROGRAM OS9COPY3.BIN
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
FORMAT1.BAS
and FORMAT1.BIN - format
and recover 1 track of a disk DASDRM.BAS
and DASDRMML.BIN - convert
DASM assembler source files to DREAM format 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 SoftwareTapedit V1.1 - Tape Editor/Viewer - see Cassette I/O Serial Mouse Drivers (D64): Cartridge to Disk transfer software - see articles on Transferring ROM Cartridges to disk cartboot.bin cartboot2.bin
(CoCo noise mode)
|
||||||