home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
emulate
/
systems
/
6800
/
main.doc
< prev
next >
Wrap
Text File
|
1991-05-01
|
3KB
|
91 lines
MAIN.DOC Usage
The hex record that is contained in the file
MAIN.S19 has been configured so that it will run corectly
within the M6800 emulator enviroment. In fact all that
was needed to be done was the standard output/input
routines be replaced with those that would communicated
with the emulator. This is done using the extra
instructions of the emulator called 'chout a' and 'chint
a'.
To begin execution of the program MAIN.S19
enter the following beginning from the DOS
prompt:
C:68emu> 68em main.s19
Read 7672 bytes from file main.s19
Lowest address loaded to was $E000
Highest address loaded to was $FFFF
M6800 Emulator
1 - May - 1991 V1.0
Kevin Bertram 1991
Written on: 17-April-1990 (Version 0.1)
Last update: 1-May-1991 (Version 1.0)
6800emu> _
The program MAIN.S19 has been loaded into
memory and the emulators prompt is displayed
waiting for your next command. To get the
context switching to work within this operating
system the NMI interupt delay time has to be
enabled and set to a preset time. This is done
by the following:
6800emu> I N 800
IRQ = off NMI = 2048
The NMI interupt timer has now been set to
cause a NMI interupt after 2048 M6800
instructions have been executed. All that
remains now is be begin the program:
6800emu> G
And the hello prompt will appear at the top of
the screen along with other status information
concerning the environment. The program
MAIN.S19 requires that a vt100 type terminal is
connected to its standard output therefore make
sure that ANSI.SYS has been installed into your
machine at boot-up time for a proper display.
ABOUT MAIN.S19
==============
MAIN.S19 was written as the house keeping program
for a M6800 based computer that has been remotely
situated with its communication to the base station
computer being a radio transmitter/receiver. The data you
see displayed after the program start up shows the
current status of the machine as it is seen at the time.
The information is not true when run under the emulator
because the I/O hardware is not present that feeds the
program its data.
The commands are similar to that of the M6800
emulator so the document 68em.txt will describe those
commands that can be found there.
The system had only 6K of ram beginning from $800
through to $1FFF with $1C00 - $1FFF reserved for system
use. Everything else is free for transient programs.
There are also software hooks to the main program
but I have not included a description of how to use them.
If you are interested then give me a call.
-Kevin Bertram