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.

770 ENDPROC<br />

780<br />

790 DEFPROC_RNW_exercise<br />

800<br />

810 [OPT opt%<br />

820 LDX £&0F<br />

830 STX &FE20 \ Write to Vidproc<br />

840<br />

850 .setup 6845<br />

860 LDA table%,X \ table of 6845 data<br />

870 STX &FE00 \ Register number<br />

880 STA &FE01 \ Contents of register<br />

890 DEX<br />

900 BPL setup_6845<br />

910<br />

920 LDA £3<br />

930 STA &FEFE \ send down TUBE<br />

940<br />

950 LDA £&41 \ Character "A"<br />

960 LDY £0<br />

970<br />

980 .write<br />

990 INC &7C01 \ Change character on screen<br />

1000 STA &7D00,Y<br />

1010 STA &7E00,Y<br />

1020 STA &7F00,Y<br />

1030 INY<br />

1040 BNE write<br />

1050<br />

1060 LDA £&42 \ Character "B"<br />

1070 STA &FE20 \ Write to Vidproc<br />

1080 JMP write<br />

1090 ]<br />

1100 ENDPROC<br />

The following is a reproduction of a photograph showing the waveform on<br />

pin 34 of the 6502 (R/W of IC1). Scope parameters are 1V/cm, 2us/cm.<br />

49

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

Saved successfully!

Ooh no, something went wrong!