28.06.2013 Views

BBC Microcomputer Service Manual Oct 1985 Section 1 BBC Micro ...

BBC Microcomputer Service Manual Oct 1985 Section 1 BBC Micro ...

BBC Microcomputer Service Manual Oct 1985 Section 1 BBC Micro ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A 555 timer circuit (IC16) provides a reset signal both at power up and<br />

also when the BREAK key is pressed. There is also a separate reset<br />

circuit using a CR combination from the +5 volt power supply (C10 and<br />

R20 and D1), to provide a signal called Reset A which is fed to IC3,<br />

the internal VIA. The idea is that although the 555 timer produces a<br />

general reset at power up or when the BREAK key is pressed, Reset A<br />

goes low only on power up. By interrogating the interrupt register on<br />

IC3 on the occurrence of a general reset, the microprocessor can<br />

discover Whether it was a "cold start", ie power up, or a "warm start",<br />

ie the BREAK key has been pressed when the system has already been in<br />

use for some time.<br />

3.2 Memory and address decoding<br />

31 1/4 Kbytes of ROM are catered for in the address map. 15 1/4 Kbytes<br />

of this ae contained in the operating system (IC51). This is in fact a<br />

16K device but 3/4K of it is left unused and it is in this area that<br />

the I-0 device memory map is situated. Four other ROMs (ICs 52, 88,<br />

100 and 101) are on the main circuit board. They may all be 16 Kbyte<br />

devices, in which case any one of them may be switched into the 16<br />

Kbyte space in the memory map by writing to the ROM select latch (IC76)<br />

. Alternatively, four 4 Kbyte ROMs may be in these four sockets in<br />

order to fill the 16 Kbyte space assigned. In this case, a two line to<br />

four line decoder (half of IC20) is used to select which of the four<br />

devices is being addressed by the address lines Al2 and A13. Mixtures<br />

of these two cases are allowed for, for instance two pairs of 8 Kbyte<br />

ROMs, one pair or the other being selected by the ROM select latch and<br />

then the ROM to be used in each pair being selected by the 2-4 line<br />

address decoder. Address decoding for the ROMs is by IC21 which decodes<br />

memory addresses &8000 to &C000 and &C000 to &FFFF. Locations from 0 -<br />

&7FFF are assigned to the dynamic RAM, and this is decoded by feeding<br />

A15 into pin 4 of IC21. All the rest of the hardware is mapped within<br />

locations &FC00 to &FEFF. This is decoded by IC22, whilst ICs 20 and 25<br />

are used to mask off the ROM over this range of addresses. ICs 24 and<br />

26 decode the individual devices within this range, some of which are<br />

read or write only. IC23 detects when a slow 1 MHz device is being<br />

addressed and it calls for the 6502 to execute a slow clock cycle.<br />

Note that in early versions of the <strong>BBC</strong> <strong><strong>Micro</strong>computer</strong>, the operating<br />

system was contained within 4 EPROMs in IC positions 52, 88, 100 and<br />

101 while the BASIC interpreter was located in IC51. This arrangement<br />

is abnormal and has been phased out. Refer to the link selection survey<br />

(5.1) for more detailed information on this.<br />

10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!