You are on page 1of 3

USQ - School of Engineering - Computer Engineering II - 70635 - Software Pack

Last Update 30 April 1999


The programs provided on this diskette are a combination of commercially
produced software and software written at the University of Southern Queensland.
The following list outlines the purpose, source and copywrite details for
programs which make up this software package:
Filename

Purpose

MOTOASMS ZIP
UNZIP EXE
UNZIP DOC
SED
EXE
SIM68XX ZIP
A09
BAT
A09CYCLE BAT
INSTALL BAT
README DOC
README BAT
HELP
BAT
ACIA
COM
PIA
COM

Source Licencing Author/CopyWrite

6809 assembler AARNET


Unarchive prog' AARNET
Unarchive DOC AARNET
Screen Editor USQ
6809 Simulator USQ
6809 batchfile USQ
6809 batchfile USQ
MC6809 install USQ
This file
USQ
Lists this file USQ
Lists this file USQ
ACIA Simulator USQ
PIA Simulator USQ

Freeware Motorola Corporation (part of)


Freeware Info-Zip
Freeware Info-Zip
Copywrite J.Leis/USQ 1994
Copywrite B.Schulte/M.Phythian USQ 1994
M.Phythian
M.Phythian
M.Phythian
M.Phythain
M.Phythian
M.Phythian
Copywrite D.Edwards
Copywrite D.Edwards

The directory Windows contains a development environment for windows.


Particular attention is drawn to the Copywrite Material authored by Mr.J.Leis
, Mr.B.Schulte and Mr.D.Edwards. These programs are supplied to the student
for the purpose of satisfactory completion of this unit.
SIM68XX.EXE, SED.EXE, ACIA.COM and PIA.COM remain the property of their
respective authors and may not be copied, distributed or otherwise transmitted
to any other party without the written consent of the author.
1. Automatic Installation:
There is an automatic installation file on this diskette.
INSTALL will install the MC6809 assembler and simulator to the target disk.
Make a backup copy of this diskette before proceeding. To do this place the
write protected UNIT disk in drive A, and the type :
DISKCOPY A: B:(RETURN) *This is for dual floppy disk sy
stems*
or
DISKCOPY A: A:(RETURN) *This is for a single floppy dis
k system*
* Note this last command requires you to swap disks as i
t copies

*
* Please make sure the UNIT disk is write protected, and

be careful *
To install a copy of the MC6809 software .
Run the file INSTALL.BAT from your UNIT disk.
To run the installation program, put your UNIT disk in drive A
of your computer. At the DOS prompt, type:

A:<RETURN>
INSTALL (DRIVE:)<RETURN>
where (DRIVE:) is the designated drive that you want to place the
driver files.
The install program will create a directory named \MC6809 on the
drive you specified and copy the necessary files to that directory
for you.
NOTE: Sub-directory Windows contains additional software for running the
assembler and simulator under windows. After installing the DOS software
as above. Run the SETUP program in this directory from Windows
to install the windows development environment software.
2. The Screen Editor program (SED.EXE) (DOS use only)
To edit a text file ready for assembly, change directory to the appropriate
subdirectory on the target disk drive. Eg type:
CD \MC6809<RETURN>
To edit an existing file type:
SED filename.asm<RETURN> * Existing FILE filename.asm w
ill appear *
To create a new file type:
SED filename.asm<RETURN> * An empty FILE filename.asm w
ill appear *
Follow the instructions provided in the help window to edit your file.
To call up the help window press the function key F1 ie:
<F1>

* a short list of commands will appear *

Note that to save the file WITH CHANGES you have made, press the ESC key ie:
<ESC>

* the program will exit to DOS *

Note that it is good practice to make a backup copy of the file before editing.
To make a backup copy of the file any time during editing, press the F4 key ie:
<F4>

* will make a backup file filename.BAK *

Then if you have a disaster when editing the file you can <ESC> and copy the
backup file over and start again. To do this type :
copy filename.BAK filename.ASM<RETURN>
3. The MOTOROLA MC6809 Assembler. (AS9.EXE)
The MOTOROLA MC6809 assembler is AS9.EXE. To run this assembler with your
source file use one of the two batch files A09.BAT or A09CYCLE.BAT. Eg:

A09 filename.asm<RETURN>
*
*
*
*

will generate an assembled listing filename.LST


on the bottom of the file is a symbol table and
a cross reference listing of all labels used.
and an object file in S19 format filename.S19

*
*
*
*

A09CYCLE filename.asm<RETURN>
* will generate an assembled listing filename.LST *
* with instruction cycle counts listed as well. *
* and an object file in S19 format filename.S19 *
For further details on the MOTOROLA assemblers consult APPENDIX C in study
guide 1.
4. The MC6809 Simulator. (SIM68XX.EXE)
For details on the MC6809 simulator consult the file SIMULATE.DOC that is
loaded into the MC6809 directory, or print out the documentation file using :
PRINTDOC<RETURN>
To run the Simulator Program use:
SIM68XX<RETURN>
5. The ACIA and PIA Simulators. (ACIA.COM & PIA.COM)
For details on the ACIA and PIA simulators consult APPENDIX C in study
guide 1.
To run the Simulator Programs type:
or

ACIA<RETURN>
PIA<RETURN>

6. The Example Programs from Module 3. (EXAMPL3n.ASM)


To assemble the example files from module 3 type:
EXAMPLES<RETURN>
Extra example files can be accessed via the World Wide Web at the USQ.
The page is currently located under the examiners home page at http://www.usq.edu.au/users/phythian/70635/70635.HTM

You might also like