background image

5

Technical Notes

5.1

Board Control Register

The 8085 SBC rev 3 includes a board control register, which is a series of writable latches that affect
how various parts of the built-in circuitry function. This register is addressed at

I/O BASE + 0x02

;

in the default configuration, this places the board control register at

0x02

. Electrically, it is composed

of three different latches: a 4-bit D-type latch at U2, and two elements of a dual D-type latch at U3.
The bits of the board control register are mapped as follows:

Register Bit

Function

Notes

0

ROM Page Address, bit 0

Cleared on reset

1

ROM Page Address, bit 1

Cleared on reset

2

ROM Page Address, bit 2

Cleared on reset

3

ROM Boot flip-flop

Reset state determined by J1

4

ROM Enabled flip-flop

Reset state determined by J2

5

Unused

6

Unused

7

USER

LED output

Cleared (LED off) on reset

Bits 0-2 control the selected 4K page of ROM available at

ROM BASE

. These bits are cleared on reset

so that the first page of ROM is available for booting. Writing to these bits immediately changes the
ROM page. The state of these bits is available through the Board Status Register.

Bit 3 controls the ROM Boot flip-flop.

When set, ROM is addressed at all memory locations,

repeating throughout memory. This allows the 8085 to read ROM code at

0x0000

on reset. Writing

a 0 to this bit clears it and immediately switches off the ROM Boot functionality. Typically, ROM
boot code should contain a jump to a startup routine in ROM, which should immediately clear the
ROM Boot bit. The reset state of bit 3 is controlled by J1, see the “Configuration” section for more
information. The state of these bits is available through the Board Status Register.

Bit 4 enables ROM when set, and disables ROM when cleared. This allows unmapping ROM for use
of the full 64 KB of system memory. Writing a 0 to this bit clears it and immediately switches off
ROM, writing a 1 to this bit switches ROM in. The selected ROM page is not affected. The reset
state of bit 3 is controlled by J2, see the “Configuration” section for more information. The state of
these bits is available through the Board Status Register.

Bits 5 and 6 are not implemented; that is, nothing responds to their state when writing to the Board
Control Register.

Bit 7 is connected to the

USER

LED (D3). Writing a 1 to this bit lights the LED, writing a 0 turns

the LED off. This bit is cleared on reset.

5.2

Board Status Register

The 8085 SBC rev 3 includes a board status register which provides the state of several bits of the
Board Control Register, as well as

ROM OPT

(SW3) DIP switch settings. This register is addressed

at

I/O BASE + 0x02

; in the default configuration, this places the board control register at

0x02

.

8

Summary of Contents for 8085 SBC

Page 1: ...rev 3 GW 8085SBC 3 User s Manual and Assembly Guide Revision 1 2018 06 30 c 2018 The Glitch Works http www glitchwrks com This manual is licensed under a Creative Commons Attribution NonCommercial Sh...

Page 2: ...cklist 5 3 3 Insert Socketed ICs 6 3 4 Solder Console Cable 6 4 Initial Checkout and Testing 7 4 1 Troubleshooting 7 4 2 Repair and Service 7 5 Technical Notes 8 5 1 Board Control Register 8 5 2 Board...

Page 3: ...atically selected by option switches on reset power up This also allows for in board updates to GWMON without overwriting the current known good copy 2 Configuration The 8085 SBC rev 3 includes a numb...

Page 4: ...rk both J1 and J2 must be strapped for 2 3 2 3 Interrupt Jumpering The five hardware interrupt lines of the Intel 8085 are pulled down to an inactive state with 4 7 k resistors While they are not used...

Page 5: ...rn adafruit com adafruit guide excellent soldering 3 1 Assembling the 8085 SBC rev 3 If you purchased a full Glitch Works parts kit we recommend completing all assembly sections since extra features c...

Page 6: ...at U21 Install 28 pin sockets at U15 U16 U17 and U19 Install a 40 pin socket at U9 Install 22 F 10V capacitors at C8 and C17 bend leads with needle node pliers Install micro tact pushbutton at SW1 In...

Page 7: ...table to build a console cable appropriate to your intended terminal J6 Pin DB25F DCE Pin DB25F DTE Pin Function 1 5 4 Request to Send 2 3 2 Transmit Data 3 2 3 Receive Data 4 4 5 Clear to Send 5 7 7...

Page 8: ...observed during assembly workshops Recheck configuration options Ensure your serial terminal or terminal emulator software is properly config ured and that your cable is wired correctly a RS 232 light...

Page 9: ...ows the 8085 to read ROM code at 0x0000 on reset Writing a 0 to this bit clears it and immediately switches off the ROM Boot functionality Typically ROM boot code should contain a jump to a startup ro...

Page 10: ...p flop ROM Boot is enabled when this bit reads 1 Bit 4 reflects the status of the ROM Enabled flip flop ROM is enabled when this bit reads 1 Bits 5 7 reflect the state of the ROM Page Address latch wh...

Page 11: ...lting in SW3 1 4 being ignored ROM BASE always at 0xF000 All later parts kits include 10 k or smaller resistor packs for both positions Thanks to Josh Bensadon for reporting this error 6 2 ROM Compati...

Page 12: ...chased a full Glitch Works parts kit be sure it includes the following 1x 20 pF radial ceramic capacitor 19x 0 01 F axial ceramic capacitor yellow bead 2x 10 nF 16 V radial ceramic capacitor 2x 22 F 1...

Page 13: ...S 232 level shifter 1x DS1233 EconoReset 2x 8 position DIP switch 3x red T 5 LED 1x mini tact pushbutton switch 1x 22 pin breakaway header strip 2x jumper shunt 1x 2 position Molex KK 100 header 1x 5...

Page 14: ......

Page 15: ...16 A13 26 RESET_IN 36 AD5 17 A14 27 CLK_OUT 37 AD6 18 A15 28 HLDA 38 AD7 19 S0 29 HOLD 39 U9 8085 GND GND VCC VDD VSS C19 C C20 C C21 C C22 C C23 C C24 C C12 C W1 MTG W2 MTG W3 MTG W4 MTG GND Mounting...

Page 16: ...74LS32 BR W RD STATUS_REG_CS 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 SW2 I O BASE BA7 BA6 BA5 BA4 BA3 BA2 RP2 10K GND VCC AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 Q11 1 Q5 2 Q4 3 Q6 4 Q3 5 Q2 6 Q1 7 Q0 9 CLK 10...

Page 17: ...e Select Logic Memory Devices CONTROL_REG_CS A B 1 A0 2 A1 3 A2 4 A3 5 A4 6 A5 7 A6 8 A7 9 B7 11 B6 12 B5 13 B4 14 B3 15 B2 16 B1 17 B0 18 CE 19 U18 74LS245 STATUS_REG_CS RPA0 RPA1 RPA2 ROM_ENABLED RO...

Reviews: