Mega-Micro's
Microcomputer projects new & old
Mega-Micros Home
12 Edgefield Close
Redditch B98 7WB
ENGLAND
 
+44 (0)7973 265572
info@mega-micros.co.uk
68000 68030 CPLD FPGA ARM
SHOP        

 

The Hex Display Board

This board is a digital output board. It has an 8-digit LED hexadecimal display and a 32-bit LED binary display. The board accepts byte, word, and long-word data and all data written to it is latched and presented visually on the two displays in both hexadecimal and binary.

The board base address can be set to any one of the 256 64K pages addressable by the 68000 via DIP switches.

This board can be extremely useful for program debugging purposes, especially when no other output device is available. The contents of a 68000 register or memory location can be written to the board for visual validation by the simple addition of one extra line of source code - a standard 68000 MOVE instruction is all that is required with the destination operand set to the base address of this board.

The 8-digit LED hexadecimal display is made up of four pairs of digits, associated with each digit pair is an 8-bit LED binary display. Byte, Word, and Long Word values can be written to the display. The digits and associated binary displays can be addressed as follows:

 
Base address +0 B B - - - - - -
Base address +1 - - B B - - - -
Base address +2 - - - - B B - -
Base address +3 - - - - - - B B
                 
Base address +0 W W W W - - - -
Base address +2 - - - - W W W W
                 
Base address +0 L L L L L L L L
 
 
Programming Examples
 
Byte
POKE $AB0000,$12
Results in: 12------ on the Hex Display
POKE $AB0001,$34
Results in: --34---- on the Hex Display
POKE $AB0002,$56
Results in: ----56-- on the Hex Display
POKE $AB0003,$78
Results in: ------78 on the Hex Display
 
Word
DOKE $AB0000,$1234
Results in: 1234---- on the Hex Display
DOKE $AB0002,$5678
Results in: ----5678 on the Hex Display
 
Long Word
LOKE $AB0000,$12345678
Results in: 12345678 on the Hex Display
 
Note:
In the above examples the base address of Hex Display Board is assumed to be set to default i.e. $ABxxxx
 
 
Disclaimer
All hardware designs, software, and information shared on this website is provided "as is"
without warranty of any kind and strictly for personal non-commercial use only.
 
 
Website V0.97 (C) 2021 Mega-Micros
Status: under construction
Mega-Micros Home
12 Edgefield Close
Redditch B98 7WB
ENGLAND
 
+44 (0)7973 265572
info@mega-micros.co.uk