EMAC PRIMER Instruction Manual page 92

Table of Contents

Advertisement

The following five services support the optional EPROM programmer board (E020-8). This board allows you to program
EPROMs of a variety of types and voltages. The smallest EPROM supported is a 2764 ( 8K x 8 ) and largest EPROM
supported is 27512 ( 64K x 8 ). Each EPROM type is given an identification number. The 6 EPROM type numbers
supported are as follows:
TYPE #1
TYPE #2
TYPE #3
TYPE #4
TYPE #5
TYPE #6
If an illegal type number is passed to one of the following services, the A register will return the value 4, with other registers
unaffected.
There are 5 MOS services which support EMAC's EPROM programmer .
SERVICE 1C
READ
Copies a number of bytes starting at an EPROM memory address and stores them in system memory.
SERVICE 1D
VERIFY
VERIFY determines whether the data in the EPROM in the programmer matches a range of data in
system memory.
SERVICE 1E
BURN This writes a number of bytes from system memory to EPROM.
The above commands require that you load the 8085 registers as follows:
H
L
DE
B
C
When VERIFY or BURN, have finished executing with no errors, the A register will be 0 and the other registers
(except the flag register) will be unaffected. If A is not 0, an error has occurred. and the registers will be returned
with the following information.
BC
H
DE
L
SERVICE 1F
ERASECHK
ERASECHK tells whether an EPROM is erased. This command requires you to load the registers as follows:
DE
B
C
The A register will be returned with 0 if the EPROM is erased.
SERVICE 20
ZAP
ZAP allows you to put your own application program into a 32k EPROM. BURN also allows this, but ZAP will
automatically examine the EPROM to see if it is erased, put in the initialization and MOS services code and verify
that the data was written correctly. This command requires you to load the registers as follows:
H
DE
27512 ( 64K x 8 ) EPROM WHICH PROGRAMS AT 12.5 VOLTS.
27256 ( 32K x 8 ) EPROM WHICH PROGRAMS AT 12.5 VOLTS.
27128 ( 16K x 8 ) EPROM WHICH PROGRAMS AT 12.5 VOLTS.
27128 ( 16K x 8 ) EPROM WHICH PROGRAMS AT 21.0 VOLTS.
2764
(
8K x 8 ) EPROM WHICH PROGRAMS AT 12.5 VOLTS.
2764
(
8K x 8 ) EPROM WHICH PROGRAMS AT 21.0 VOLTS.
High order byte of system memory address
High order byte of EPROM address
(NOTE: The low order bytes of the system memory and EPROM addresses default to 0)
Number of bytes
EPROM type ( as in the table above )
Service number
Address that error occurred in system memory
Value of data at address BC in system memory
Address that error occurred in the EPROM in the programmer
Value of data at address DE in the EPROM in the programmer
Starting address from which to examine EPROM. It examines from this address down to 0.
EPROM type ( as in the table above )
Service number 1Fh
High byte of starting address of user program (low byte defaults to 01)
Number of bytes in program (this should be no bigger than 50FEH)
92

Advertisement

Table of Contents
loading

Table of Contents