Some unfinished parts of terminal software

This commit is contained in:
Tor-Eirik Bakke Lunde 2022-04-11 16:47:00 +02:00
parent a8658fbd96
commit a13002e039
42 changed files with 7237 additions and 598 deletions

View File

@ -1,132 +1,11 @@
EESchema-LIBRARY Version 2.3
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# 74LS00
# Device_C_Small
#
DEF 74LS00 U 0 30 Y Y 4 F N
F0 "U" 0 50 50 H V C CNN
F1 "74LS00" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
ALIAS 74LS37 7400 74HCT00 74HC00
$FPLIST
14DIP300*
SO14*
$ENDFPLIST
DRAW
X GND 7 -200 -200 0 U 40 40 0 0 W N
X VCC 14 -200 200 0 D 40 40 0 0 W N
A 100 0 200 -899 899 0 1 0 N 100 -200 100 200
P 4 0 1 0 100 200 -300 200 -300 -200 100 -200 N
X ~ 1 -600 100 300 R 50 50 1 1 I
X ~ 2 -600 -100 300 R 50 50 1 1 I
X ~ 3 600 0 300 L 50 50 1 1 O I
X ~ 4 -600 100 300 R 50 50 2 1 I
X ~ 5 -600 -100 300 R 50 50 2 1 I
X ~ 6 600 0 300 L 50 50 2 1 O I
X ~ 8 600 0 300 L 50 50 3 1 O I
X ~ 9 -600 100 300 R 50 50 3 1 I
X ~ 10 -600 -100 300 R 50 50 3 1 I
X ~ 11 600 0 300 L 50 50 4 1 O I
X ~ 12 -600 100 300 R 50 50 4 1 I
X ~ 13 -600 -100 300 R 50 50 4 1 I
A -465 0 259 504 -504 0 2 0 N -300 200 -300 -200
A -11 143 343 -881 -246 0 2 0 N 0 -200 300 0
A -10 -141 340 244 883 0 2 0 N 300 0 0 200
P 2 0 2 0 -300 -200 0 -200 N
P 2 0 2 0 -300 200 0 200 N
X ~ 1 -600 100 370 R 50 50 1 2 I I
X ~ 2 -600 -100 370 R 50 50 1 2 I I
X ~ 3 600 0 300 L 50 50 1 2 O
X ~ 4 -600 100 370 R 50 50 2 2 I I
X ~ 5 -600 -100 370 R 50 50 2 2 I I
X ~ 6 600 0 300 L 50 50 2 2 O
X ~ 8 600 0 300 L 50 50 3 2 O
X ~ 9 -600 100 370 R 50 50 3 2 I I
X ~ 10 -600 -100 370 R 50 50 3 2 I I
X ~ 11 600 0 300 L 50 50 4 2 O
X ~ 12 -600 100 370 R 50 50 4 2 I I
X ~ 13 -600 -100 370 R 50 50 4 2 I I
ENDDRAW
ENDDEF
#
# 74LS138
#
DEF 74LS138 U 0 40 Y Y 1 F N
F0 "U" 100 500 50 H V C CNN
F1 "74LS138" 150 -549 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
S -300 450 300 -450 0 1 0 N
X A0 1 -600 350 300 R 50 50 1 1 I
X A1 2 -600 250 300 R 50 50 1 1 I
X A2 3 -600 150 300 R 50 50 1 1 I
X E1 4 -600 -350 300 R 50 50 1 1 I L
X E2 5 -600 -250 300 R 50 50 1 1 I L
X E3 6 -600 -150 300 R 50 50 1 1 I
X O7 7 600 -350 300 L 50 50 1 1 O V
X GND 8 0 -450 0 U 50 50 1 1 W N
X O6 9 600 -250 300 L 50 50 1 1 O V
X O5 10 600 -150 300 L 50 50 1 1 O V
X O4 11 600 -50 300 L 50 50 1 1 O V
X O3 12 600 50 300 L 50 50 1 1 O V
X O2 13 600 150 300 L 50 50 1 1 O V
X O1 14 600 250 300 L 50 50 1 1 O V
X O0 15 600 350 300 L 50 50 1 1 O V
X VCC 16 0 450 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# ATMEGA328_MCU
#
DEF ATMEGA328_MCU U 0 40 Y Y 1 F N
F0 "U" -750 1250 50 H V L BNN
F1 "ATMEGA328_MCU" 400 -1400 50 H V L BNN
F2 "DIL28" 0 0 50 H I C CIN
F3 "" 0 0 50 H I C CNN
$FPLIST
28DIP-ELL600
28dip600
$ENDFPLIST
DRAW
S -750 1200 850 -1300 0 1 10 f
X ~RESET 1 -900 800 150 R 40 40 1 1 B
X RXD 2 -900 -150 150 R 40 40 1 1 B
X TXD 3 -900 -50 150 R 40 40 1 1 B
X (PCINT18/INT0)PD2 4 1000 -700 150 L 40 40 1 1 B
X (PCINT19/OC2B/INT1)PD3 5 1000 -800 150 L 40 40 1 1 B
X (PCINT20/XCK/T0)PD4 6 1000 -900 150 L 40 40 1 1 B
X VCC 7 -900 1100 150 R 40 40 1 1 W
X GND 8 -900 -1200 150 R 40 40 1 1 W
X XTAL1 9 -900 550 150 R 40 40 1 1 B
X XTAL2 10 -900 250 150 R 40 40 1 1 B
X AVCC 20 -900 1000 150 R 40 40 1 1 W
X (PCINT21/OC0B/T1)PD5 11 1000 -1000 150 L 40 40 1 1 B
X AREF 21 -900 900 150 R 40 40 1 1 B
X (PCINT22/OC0A/AIN0)PD6 12 1000 -1100 150 L 40 40 1 1 B
X GND 22 -900 -1100 150 R 40 40 1 1 W
X (PCINT23/AIN1)PD7 13 1000 -1200 150 L 40 40 1 1 B
X (PCINT8/ADC0)PC0 23 1000 250 150 L 40 40 1 1 B
X (PCINT0/CLKO/ICP1)PB0 14 1000 1100 150 L 40 40 1 1 B
X (PCINT9/ADC1)PC1 24 1000 150 150 L 40 40 1 1 B
X (PCINT1/OC1A)PB1 15 1000 1000 150 L 40 40 1 1 B
X (PCINT10/ADC2)PC2 25 1000 50 150 L 40 40 1 1 B
X (PCINT2/OC1B/~SS~)PB2 16 1000 900 150 L 40 40 1 1 B
X (PCINT11/ADC3)PC3 26 1000 -50 150 L 40 40 1 1 B
X (PCINT3/OC2A/MOSI)PB3 17 1000 800 150 L 40 40 1 1 B
X (PCINT12/SDA/ADC4)PC4 27 1000 -150 150 L 40 40 1 1 B
X (PCINT4/MISO)PB4 18 1000 700 150 L 40 40 1 1 B
X (PCINT13/SCL/ADC5)PC5 28 1000 -250 150 L 40 40 1 1 B
X (PCINT5/SCK)PB5 19 1000 600 150 L 40 40 1 1 B
ENDDRAW
ENDDEF
#
# C_Small
#
DEF C_Small C 0 10 N N 1 F N
DEF Device_C_Small C 0 10 N N 1 F N
F0 "C" 10 70 50 H V L CNN
F1 "C_Small" 10 -80 50 H V L CNN
F1 "Device_C_Small" 10 -80 50 H V L CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
@ -140,11 +19,199 @@ X ~ 2 0 -100 80 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Conn_01x06
# Device_Crystal_Small
#
DEF Conn_01x06 J 0 40 Y N 1 F N
DEF Device_Crystal_Small Y 0 40 N N 1 F N
F0 "Y" 0 100 50 H V C CNN
F1 "Device_Crystal_Small" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Crystal*
$ENDFPLIST
DRAW
S -30 -60 30 60 0 1 0 N
P 2 0 1 15 -50 -30 -50 30 N
P 2 0 1 15 50 -30 50 30 N
X 1 1 -100 0 50 R 50 50 1 1 P
X 2 2 100 0 50 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_Jumper_NC_Dual
#
DEF Device_Jumper_NC_Dual JP 0 30 Y N 1 F N
F0 "JP" 50 -100 50 H V L CNN
F1 "Device_Jumper_NC_Dual" 0 100 50 H V C BNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
SolderJumper*Bridged*
Jumper*
TestPoint*2Pads*
TestPoint*Bridge*
$ENDFPLIST
DRAW
A -60 10 64 386 1413 0 1 0 N -10 50 -110 50
A 60 10 64 386 1413 0 1 0 N 110 50 10 50
C -120 0 35 0 1 0 N
C 0 0 36 0 1 0 N
C 120 0 35 0 1 0 N
X 1 1 -250 0 95 R 50 50 0 1 P
X 2 2 0 -100 60 U 50 50 0 1 P
X 3 3 250 0 95 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# Device_LED
#
DEF Device_LED D 0 40 N N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "Device_LED" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
LED*
LED_SMD:*
LED_THT:*
$ENDFPLIST
DRAW
P 2 0 1 10 -50 -50 -50 50 N
P 2 0 1 0 -50 0 50 0 N
P 4 0 1 10 50 -50 50 50 -50 0 50 -50 N
P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N
P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N
X K 1 -150 0 100 R 50 50 1 1 P
X A 2 150 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_R
#
DEF Device_R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "Device_R" 0 0 50 V V C CNN
F2 "" -70 0 50 V I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
R_*
$ENDFPLIST
DRAW
S -40 -100 40 100 0 1 10 N
X ~ 1 0 150 50 D 50 50 1 1 P
X ~ 2 0 -150 50 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Jumper_SolderJumper_3_Bridged12
#
DEF Jumper_SolderJumper_3_Bridged12 JP 0 0 Y N 1 F N
F0 "JP" -100 -100 50 H V C CNN
F1 "Jumper_SolderJumper_3_Bridged12" 0 110 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
SolderJumper*Bridged12*
$ENDFPLIST
DRAW
A -40 0 40 901 -901 0 1 0 N -40 40 -40 -40
A -40 0 40 901 -901 0 1 0 F -40 40 -40 -40
A 40 0 40 -899 899 0 1 0 N 40 -40 40 40
A 40 0 40 -899 899 0 1 0 F 40 -40 40 40
S -40 20 -20 -20 0 1 0 F
S -20 40 20 -40 0 1 0 F
P 2 0 1 0 -100 0 -80 0 N
P 2 0 1 0 -40 40 -40 -40 N
P 2 0 1 0 0 -50 0 -40 N
P 2 0 1 0 40 40 40 -40 N
P 2 0 1 0 100 0 80 0 N
X A 1 -200 0 100 R 50 50 1 1 P
X C 2 0 -150 100 U 50 50 1 1 I
X B 3 200 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# RC6502-Terminal-rescue_74LS00
#
DEF RC6502-Terminal-rescue_74LS00 U 0 30 Y Y 4 F N
F0 "U" 0 50 50 H V C CNN
F1 "RC6502-Terminal-rescue_74LS00" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
14DIP300*
SO14*
$ENDFPLIST
DRAW
A 100 0 200 -899 899 0 1 0 N 100 -200 100 200
A -465 0 259 504 -504 0 2 0 N -300 200 -300 -200
A -11 143 343 -881 -246 0 2 0 N 0 -200 300 0
A -10 -141 340 244 883 0 2 0 N 300 0 0 200
P 4 0 1 0 100 200 -300 200 -300 -200 100 -200 N
P 2 0 2 0 -300 -200 0 -200 N
P 2 0 2 0 -300 200 0 200 N
X VCC 14 -200 200 0 D 40 40 0 0 W N
X GND 7 -200 -200 0 U 40 40 0 0 W N
X ~ 1 -600 100 300 R 50 50 1 1 I
X ~ 2 -600 -100 300 R 50 50 1 1 I
X ~ 3 600 0 300 L 50 50 1 1 O I
X ~ 4 -600 100 300 R 50 50 2 1 I
X ~ 5 -600 -100 300 R 50 50 2 1 I
X ~ 6 600 0 300 L 50 50 2 1 O I
X ~ 10 -600 -100 300 R 50 50 3 1 I
X ~ 8 600 0 300 L 50 50 3 1 O I
X ~ 9 -600 100 300 R 50 50 3 1 I
X ~ 11 600 0 300 L 50 50 4 1 O I
X ~ 12 -600 100 300 R 50 50 4 1 I
X ~ 13 -600 -100 300 R 50 50 4 1 I
X ~ 1 -600 100 370 R 50 50 1 2 I I
X ~ 2 -600 -100 370 R 50 50 1 2 I I
X ~ 3 600 0 300 L 50 50 1 2 O
X ~ 4 -600 100 370 R 50 50 2 2 I I
X ~ 5 -600 -100 370 R 50 50 2 2 I I
X ~ 6 600 0 300 L 50 50 2 2 O
X ~ 10 -600 -100 370 R 50 50 3 2 I I
X ~ 8 600 0 300 L 50 50 3 2 O
X ~ 9 -600 100 370 R 50 50 3 2 I I
X ~ 11 600 0 300 L 50 50 4 2 O
X ~ 12 -600 100 370 R 50 50 4 2 I I
X ~ 13 -600 -100 370 R 50 50 4 2 I I
ENDDRAW
ENDDEF
#
# RC6502-Terminal-rescue_74LS138
#
DEF RC6502-Terminal-rescue_74LS138 U 0 40 Y Y 1 F N
F0 "U" 100 500 50 H V C CNN
F1 "RC6502-Terminal-rescue_74LS138" 150 -549 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
S -300 450 300 -450 0 1 0 N
X A0 1 -600 350 300 R 50 50 1 1 I
X O5 10 600 -150 300 L 50 50 1 1 O V
X O4 11 600 -50 300 L 50 50 1 1 O V
X O3 12 600 50 300 L 50 50 1 1 O V
X O2 13 600 150 300 L 50 50 1 1 O V
X O1 14 600 250 300 L 50 50 1 1 O V
X O0 15 600 350 300 L 50 50 1 1 O V
X VCC 16 0 450 0 D 50 50 1 1 W N
X A1 2 -600 250 300 R 50 50 1 1 I
X A2 3 -600 150 300 R 50 50 1 1 I
X E1 4 -600 -350 300 R 50 50 1 1 I L
X E2 5 -600 -250 300 R 50 50 1 1 I L
X E3 6 -600 -150 300 R 50 50 1 1 I
X O7 7 600 -350 300 L 50 50 1 1 O V
X GND 8 0 -450 0 U 50 50 1 1 W N
X O6 9 600 -250 300 L 50 50 1 1 O V
ENDDRAW
ENDDEF
#
# RC6502-Terminal-rescue_Conn_01x06
#
DEF RC6502-Terminal-rescue_Conn_01x06 J 0 40 Y N 1 F N
F0 "J" 0 300 50 H V C CNN
F1 "Conn_01x06" 0 -400 50 H V C CNN
F1 "RC6502-Terminal-rescue_Conn_01x06" 0 -400 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
@ -172,11 +239,11 @@ X Pin_6 6 -200 -300 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Conn_02x03_Odd_Even
# RC6502-Terminal-rescue_Conn_02x03_Odd_Even
#
DEF Conn_02x03_Odd_Even J 0 40 Y N 1 F N
DEF RC6502-Terminal-rescue_Conn_02x03_Odd_Even J 0 40 Y N 1 F N
F0 "J" 50 200 50 H V C CNN
F1 "Conn_02x03_Odd_Even" 50 -200 50 H V C CNN
F1 "RC6502-Terminal-rescue_Conn_02x03_Odd_Even" 50 -200 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
@ -204,106 +271,72 @@ X Pin_6 6 300 -100 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Crystal_Small
# RC6502-Terminal-rescue_SW_Push
#
DEF Crystal_Small Y 0 40 N N 1 F N
F0 "Y" 0 100 50 H V C CNN
F1 "Crystal_Small" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
DEF RC6502-Terminal-rescue_SW_Push SW 0 40 N N 1 F N
F0 "SW" 50 100 50 H V L CNN
F1 "RC6502-Terminal-rescue_SW_Push" 0 -60 50 H V C CNN
F2 "" 0 200 50 H I C CNN
F3 "" 0 200 50 H I C CNN
DRAW
C -80 0 20 0 1 0 N
C 80 0 20 0 1 0 N
P 2 0 1 0 0 50 0 120 N
P 2 0 1 0 100 50 -100 50 N
X 1 1 -200 0 100 R 50 50 0 1 P
X 2 2 200 0 100 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# atmega328_mcu_ATMEGA328_MCU
#
DEF atmega328_mcu_ATMEGA328_MCU U 0 40 Y Y 1 F N
F0 "U" -750 1250 50 H V L BNN
F1 "atmega328_mcu_ATMEGA328_MCU" 400 -1400 50 H V L BNN
F2 "DIL28" 0 0 50 H I C CIN
F3 "" 0 0 50 H I C CNN
$FPLIST
Crystal*
28DIP-ELL600
28dip600
$ENDFPLIST
DRAW
S -30 -60 30 60 0 1 0 N
P 2 0 1 15 -50 -30 -50 30 N
P 2 0 1 15 50 -30 50 30 N
X 1 1 -100 0 50 R 50 50 1 1 P
X 2 2 100 0 50 L 50 50 1 1 P
S -750 1200 850 -1300 0 1 10 f
X ~RESET 1 -900 800 150 R 40 40 1 1 B
X XTAL2 10 -900 250 150 R 40 40 1 1 B
X (PCINT21/OC0B/T1)PD5 11 1000 -1000 150 L 40 40 1 1 B
X (PCINT22/OC0A/AIN0)PD6 12 1000 -1100 150 L 40 40 1 1 B
X (PCINT23/AIN1)PD7 13 1000 -1200 150 L 40 40 1 1 B
X (PCINT0/CLKO/ICP1)PB0 14 1000 1100 150 L 40 40 1 1 B
X (PCINT1/OC1A)PB1 15 1000 1000 150 L 40 40 1 1 B
X (PCINT2/OC1B/~SS~)PB2 16 1000 900 150 L 40 40 1 1 B
X (PCINT3/OC2A/MOSI)PB3 17 1000 800 150 L 40 40 1 1 B
X (PCINT4/MISO)PB4 18 1000 700 150 L 40 40 1 1 B
X (PCINT5/SCK)PB5 19 1000 600 150 L 40 40 1 1 B
X RXD 2 -900 -150 150 R 40 40 1 1 B
X AVCC 20 -900 1000 150 R 40 40 1 1 W
X AREF 21 -900 900 150 R 40 40 1 1 B
X GND 22 -900 -1100 150 R 40 40 1 1 W
X (PCINT8/ADC0)PC0 23 1000 250 150 L 40 40 1 1 B
X (PCINT9/ADC1)PC1 24 1000 150 150 L 40 40 1 1 B
X (PCINT10/ADC2)PC2 25 1000 50 150 L 40 40 1 1 B
X (PCINT11/ADC3)PC3 26 1000 -50 150 L 40 40 1 1 B
X (PCINT12/SDA/ADC4)PC4 27 1000 -150 150 L 40 40 1 1 B
X (PCINT13/SCL/ADC5)PC5 28 1000 -250 150 L 40 40 1 1 B
X TXD 3 -900 -50 150 R 40 40 1 1 B
X (PCINT18/INT0)PD2 4 1000 -700 150 L 40 40 1 1 B
X (PCINT19/OC2B/INT1)PD3 5 1000 -800 150 L 40 40 1 1 B
X (PCINT20/XCK/T0)PD4 6 1000 -900 150 L 40 40 1 1 B
X VCC 7 -900 1100 150 R 40 40 1 1 W
X GND 8 -900 -1200 150 R 40 40 1 1 W
X XTAL1 9 -900 550 150 R 40 40 1 1 B
ENDDRAW
ENDDEF
#
# D_Small
# link_power_Link_Power
#
DEF D_Small D 0 10 N N 1 F N
F0 "D" -50 80 50 H V L CNN
F1 "D_Small" -150 -80 50 H V L CNN
F2 "" 0 0 50 V I C CNN
F3 "" 0 0 50 V I C CNN
$FPLIST
TO-???*
*SingleDiode
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
P 2 0 1 0 -30 -40 -30 40 N
P 2 0 1 0 -30 0 30 0 N
P 4 0 1 0 30 -40 -30 0 30 40 30 -40 N
X K 1 -100 0 70 R 50 50 1 1 P
X A 2 100 0 70 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# GND
#
DEF GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "GND" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
X GND 1 0 0 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# Jumper_NC_Dual
#
DEF Jumper_NC_Dual JP 0 30 Y N 1 F N
F0 "JP" 50 -100 50 H V L CNN
F1 "Jumper_NC_Dual" 0 100 50 H V C BNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
A -60 10 64 386 1413 0 1 0 N -10 50 -110 50
A 60 10 64 386 1413 0 1 0 N 110 50 10 50
C -120 0 35 0 1 0 N
C 0 0 36 0 1 0 N
C 120 0 35 0 1 0 N
X 1 1 -250 0 95 R 50 50 0 1 P
X 2 2 0 -100 60 U 50 50 0 1 P
X 3 3 250 0 95 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# LED
#
DEF LED D 0 40 Y N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "LED" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
LED*
$ENDFPLIST
DRAW
P 2 0 1 8 -50 -50 -50 50 N
P 2 0 1 0 -50 0 50 0 N
P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N
P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N
P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N
X K 1 -150 0 100 R 50 50 1 1 P
X A 2 150 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Link_Power
#
DEF Link_Power JP 0 30 N N 1 F N
DEF link_power_Link_Power JP 0 30 N N 1 F N
F0 "JP" 0 80 50 H V C CNN
F1 "Link_Power" 10 -60 50 H V C CNN
F1 "link_power_Link_Power" 10 -60 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
@ -315,63 +348,91 @@ X 2 2 100 0 40 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# MC6821
# mc6821_MC6821
#
DEF MC6821 U 0 40 Y Y 1 F N
DEF mc6821_MC6821 U 0 40 Y Y 1 F N
F0 "U" 0 100 50 H V C CNN
F1 "MC6821" 0 -100 50 H V C CNN
F1 "mc6821_MC6821" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
S -350 1250 350 -1425 0 1 0 N
X GND 1 0 -1525 100 U 50 50 1 1 W
X PB0 10 650 -150 300 L 50 50 1 1 I
X PB1 11 650 -250 300 L 50 50 1 1 I
X PB2 12 650 -350 300 L 50 50 1 1 I
X PB3 13 650 -450 300 L 50 50 1 1 I
X PB4 14 650 -550 300 L 50 50 1 1 I
X PB5 15 650 -650 300 L 50 50 1 1 I
X PB6 16 650 -750 300 L 50 50 1 1 I
X PB7 17 650 -850 300 L 50 50 1 1 I
X CB1 18 650 -1050 300 L 50 50 1 1 B
X CB2 19 650 -1150 300 L 50 50 1 1 B
X PA0 2 650 1150 300 L 50 50 1 1 I
X VCC 20 0 1350 100 D 50 50 1 1 W
X R/W 21 -650 550 300 R 50 50 1 1 I
X CS0 22 -650 950 300 R 50 50 1 1 I
X ~CS2 23 -650 1150 300 R 50 50 1 1 I I
X CS1 24 -650 1050 300 R 50 50 1 1 I
X E 25 -650 650 300 R 50 50 1 1 I
X D7 26 -650 -850 300 R 50 50 1 1 I
X D6 27 -650 -750 300 R 50 50 1 1 I
X D5 28 -650 -650 300 R 50 50 1 1 I
X D4 29 -650 -550 300 R 50 50 1 1 I
X PA1 3 650 1050 300 L 50 50 1 1 I
X D3 30 -650 -450 300 R 50 50 1 1 I
X D2 31 -650 -350 300 R 50 50 1 1 I
X D1 32 -650 -250 300 R 50 50 1 1 I
X D0 33 -650 -150 300 R 50 50 1 1 I
X ~RESET 34 -650 450 300 R 50 50 1 1 I I
X RS1 35 -650 750 300 R 50 50 1 1 I
X RS0 36 -650 850 300 R 50 50 1 1 I
X IRQB 37 -650 150 300 R 50 50 1 1 C I
X IRQA 38 -650 250 300 R 50 50 1 1 C I
X CA2 39 650 150 300 L 50 50 1 1 B
X PA2 4 650 950 300 L 50 50 1 1 I
X CA1 40 650 250 300 L 50 50 1 1 B
X PA3 5 650 850 300 L 50 50 1 1 I
X PA4 6 650 750 300 L 50 50 1 1 I
X PA5 7 650 650 300 L 50 50 1 1 I
X PA6 8 650 550 300 L 50 50 1 1 I
X PA7 9 650 450 300 L 50 50 1 1 I
X PB0 10 650 -150 300 L 50 50 1 1 I
X VCC 20 0 1350 100 D 50 50 1 1 W
X D3 30 -650 -450 300 R 50 50 1 1 I
X CA1 40 650 250 300 L 50 50 1 1 B
X PB1 11 650 -250 300 L 50 50 1 1 I
X R/W 21 -650 550 300 R 50 50 1 1 I
X D2 31 -650 -350 300 R 50 50 1 1 I
X PB2 12 650 -350 300 L 50 50 1 1 I
X CS0 22 -650 950 300 R 50 50 1 1 I
X D1 32 -650 -250 300 R 50 50 1 1 I
X PB3 13 650 -450 300 L 50 50 1 1 I
X ~CS2 23 -650 1150 300 R 50 50 1 1 I I
X D0 33 -650 -150 300 R 50 50 1 1 I
X PB4 14 650 -550 300 L 50 50 1 1 I
X CS1 24 -650 1050 300 R 50 50 1 1 I
X ~RESET 34 -650 450 300 R 50 50 1 1 I I
X PB5 15 650 -650 300 L 50 50 1 1 I
X E 25 -650 650 300 R 50 50 1 1 I
X RS1 35 -650 750 300 R 50 50 1 1 I
X PB6 16 650 -750 300 L 50 50 1 1 I
X D7 26 -650 -850 300 R 50 50 1 1 I
X RS0 36 -650 850 300 R 50 50 1 1 I
X PB7 17 650 -850 300 L 50 50 1 1 I
X D6 27 -650 -750 300 R 50 50 1 1 I
X IRQB 37 -650 150 300 R 50 50 1 1 C I
X CB1 18 650 -1050 300 L 50 50 1 1 B
X D5 28 -650 -650 300 R 50 50 1 1 I
X IRQA 38 -650 250 300 R 50 50 1 1 C I
X CB2 19 650 -1150 300 L 50 50 1 1 B
X D4 29 -650 -550 300 R 50 50 1 1 I
X CA2 39 650 150 300 L 50 50 1 1 B
ENDDRAW
ENDDEF
#
# PS/2_Connector
# power_GND
#
DEF PS/2_Connector J 0 40 Y Y 1 F N
DEF power_GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "power_GND" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
X GND 1 0 0 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# power_VCC
#
DEF power_VCC #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "power_VCC" 0 150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 2 0 1 0 -30 50 0 100 N
P 2 0 1 0 0 0 0 100 N
P 2 0 1 0 0 100 30 50 N
X VCC 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# ps2_connector_PS_2_Connector
#
DEF ps2_connector_PS_2_Connector J 0 40 Y Y 1 F N
F0 "J" 0 250 50 H V C CNN
F1 "PS/2_Connector" 0 -250 50 H V C CNN
F1 "ps2_connector_PS_2_Connector" 0 -250 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
@ -407,29 +468,11 @@ X ~ 6 -300 100 100 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# R
# rc6502_backplane_RC6502_Backplane
#
DEF R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "R" 0 0 50 V V C CNN
F2 "" -70 0 50 V I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
R_*
R_*
$ENDFPLIST
DRAW
S -40 -100 40 100 0 1 10 N
X ~ 1 0 150 50 D 50 50 1 1 P
X ~ 2 0 -150 50 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# RC6502_Backplane
#
DEF RC6502_Backplane J 0 40 Y N 1 F N
DEF rc6502_backplane_RC6502_Backplane J 0 40 Y N 1 F N
F0 "J" 0 2000 50 H V C CNN
F1 "RC6502_Backplane" 450 -50 50 V V C CNN
F1 "rc6502_backplane_RC6502_Backplane" 450 -50 50 V V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
@ -517,52 +560,52 @@ S -50 1705 10 1695 0 1 0 N
S -50 1805 10 1795 0 1 0 N
S -50 1905 10 1895 0 1 0 N
X A15 1 -200 1900 150 R 50 50 1 1 B
X A6 10 -200 1000 150 R 50 50 1 1 B
X A5 11 -200 900 150 R 50 50 1 1 B
X A4 12 -200 800 150 R 50 50 1 1 B
X A3 13 -200 700 150 R 50 50 1 1 B
X A2 14 -200 600 150 R 50 50 1 1 B
X A1 15 -200 500 150 R 50 50 1 1 B
X A0 16 -200 400 150 R 50 50 1 1 B
X P17 17 -200 300 150 R 50 50 1 1 w
X P18 18 -200 200 150 R 50 50 1 1 w
X PHI2 19 -200 100 150 R 50 50 1 1 B C
X A14 2 -200 1800 150 R 50 50 1 1 B
X RESET 20 -200 0 150 R 50 50 1 1 B
X PHI0 21 -200 -100 150 R 50 50 1 1 B C
X IRQ 22 -200 -200 150 R 50 50 1 1 B
X PHI1 23 -200 -300 150 R 50 50 1 1 B C
X RW 24 -200 -400 150 R 50 50 1 1 B
X READY 25 -200 -500 150 R 50 50 1 1 B
X SYNC 26 -200 -600 150 R 50 50 1 1 B
X D0 27 -200 -700 150 R 50 50 1 1 B
X D1 28 -200 -800 150 R 50 50 1 1 B
X D2 29 -200 -900 150 R 50 50 1 1 B
X A13 3 -200 1700 150 R 50 50 1 1 B
X D3 30 -200 -1000 150 R 50 50 1 1 B
X D4 31 -200 -1100 150 R 50 50 1 1 B
X D5 32 -200 -1200 150 R 50 50 1 1 B
X D6 33 -200 -1300 150 R 50 50 1 1 B
X D7 34 -200 -1400 150 R 50 50 1 1 B
X TX 35 -200 -1500 150 R 50 50 1 1 B
X RX 36 -200 -1600 150 R 50 50 1 1 B
X NMI 37 -200 -1700 150 R 50 50 1 1 B
X P38 38 -200 -1800 150 R 50 50 1 1 N
X P39 39 -200 -1900 150 R 50 50 1 1 N
X A12 4 -200 1600 150 R 50 50 1 1 B
X A11 5 -200 1500 150 R 50 50 1 1 B
X A10 6 -200 1400 150 R 50 50 1 1 B
X A9 7 -200 1300 150 R 50 50 1 1 B
X A8 8 -200 1200 150 R 50 50 1 1 B
X A7 9 -200 1100 150 R 50 50 1 1 B
X A6 10 -200 1000 150 R 50 50 1 1 B
X RESET 20 -200 0 150 R 50 50 1 1 B
X D3 30 -200 -1000 150 R 50 50 1 1 B
X A5 11 -200 900 150 R 50 50 1 1 B
X PHI0 21 -200 -100 150 R 50 50 1 1 B C
X D4 31 -200 -1100 150 R 50 50 1 1 B
X A4 12 -200 800 150 R 50 50 1 1 B
X IRQ 22 -200 -200 150 R 50 50 1 1 B
X D5 32 -200 -1200 150 R 50 50 1 1 B
X A3 13 -200 700 150 R 50 50 1 1 B
X PHI1 23 -200 -300 150 R 50 50 1 1 B C
X D6 33 -200 -1300 150 R 50 50 1 1 B
X A2 14 -200 600 150 R 50 50 1 1 B
X RW 24 -200 -400 150 R 50 50 1 1 B
X D7 34 -200 -1400 150 R 50 50 1 1 B
X A1 15 -200 500 150 R 50 50 1 1 B
X READY 25 -200 -500 150 R 50 50 1 1 B
X TX 35 -200 -1500 150 R 50 50 1 1 B
X A0 16 -200 400 150 R 50 50 1 1 B
X SYNC 26 -200 -600 150 R 50 50 1 1 B
X RX 36 -200 -1600 150 R 50 50 1 1 B
X P17 17 -200 300 150 R 50 50 1 1 w
X D0 27 -200 -700 150 R 50 50 1 1 B
X NMI 37 -200 -1700 150 R 50 50 1 1 B
X P18 18 -200 200 150 R 50 50 1 1 w
X D1 28 -200 -800 150 R 50 50 1 1 B
X P38 38 -200 -1800 150 R 50 50 1 1 N
X PHI2 19 -200 100 150 R 50 50 1 1 B C
X D2 29 -200 -900 150 R 50 50 1 1 B
X P39 39 -200 -1900 150 R 50 50 1 1 N
ENDDRAW
ENDDEF
#
# RCA_PLUG
# rca_plug_RCA_PLUG
#
DEF RCA_PLUG J 0 40 Y N 1 F N
DEF rca_plug_RCA_PLUG J 0 40 Y N 1 F N
F0 "J" 10 120 50 H V C CNN
F1 "RCA_PLUG" 115 0 50 V V C CNN
F1 "rca_plug_RCA_PLUG" 115 0 50 V V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
@ -583,35 +626,4 @@ X In 2 -150 0 100 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# SW_Push
#
DEF SW_Push SW 0 40 N N 1 F N
F0 "SW" 50 100 50 H V L CNN
F1 "SW_Push" 0 -60 50 H V C CNN
F2 "" 0 200 50 H I C CNN
F3 "" 0 200 50 H I C CNN
DRAW
C -80 0 20 0 1 0 N
C 80 0 20 0 1 0 N
P 2 0 1 0 0 50 0 120 N
P 2 0 1 0 100 50 -100 50 N
X 1 1 -200 0 100 R 50 50 0 1 P
X 2 2 200 0 100 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# VCC
#
DEF VCC #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "VCC" 0 150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
C 0 75 25 0 1 0 N
P 2 0 1 0 0 0 0 50 N
X VCC 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
#End Library

View File

@ -0,0 +1,161 @@
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# 74LS00
#
DEF 74LS00 U 0 30 Y Y 4 F N
F0 "U" 0 50 50 H V C CNN
F1 "74LS00" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
14DIP300*
SO14*
$ENDFPLIST
DRAW
A 100 0 200 -899 899 0 1 0 N 100 -200 100 200
A -465 0 259 504 -504 0 2 0 N -300 200 -300 -200
A -11 143 343 -881 -246 0 2 0 N 0 -200 300 0
A -10 -141 340 244 883 0 2 0 N 300 0 0 200
P 4 0 1 0 100 200 -300 200 -300 -200 100 -200 N
P 2 0 2 0 -300 -200 0 -200 N
P 2 0 2 0 -300 200 0 200 N
X VCC 14 -200 200 0 D 40 40 0 0 W N
X GND 7 -200 -200 0 U 40 40 0 0 W N
X ~ 1 -600 100 300 R 50 50 1 1 I
X ~ 2 -600 -100 300 R 50 50 1 1 I
X ~ 3 600 0 300 L 50 50 1 1 O I
X ~ 4 -600 100 300 R 50 50 2 1 I
X ~ 5 -600 -100 300 R 50 50 2 1 I
X ~ 6 600 0 300 L 50 50 2 1 O I
X ~ 10 -600 -100 300 R 50 50 3 1 I
X ~ 8 600 0 300 L 50 50 3 1 O I
X ~ 9 -600 100 300 R 50 50 3 1 I
X ~ 11 600 0 300 L 50 50 4 1 O I
X ~ 12 -600 100 300 R 50 50 4 1 I
X ~ 13 -600 -100 300 R 50 50 4 1 I
X ~ 1 -600 100 370 R 50 50 1 2 I I
X ~ 2 -600 -100 370 R 50 50 1 2 I I
X ~ 3 600 0 300 L 50 50 1 2 O
X ~ 4 -600 100 370 R 50 50 2 2 I I
X ~ 5 -600 -100 370 R 50 50 2 2 I I
X ~ 6 600 0 300 L 50 50 2 2 O
X ~ 10 -600 -100 370 R 50 50 3 2 I I
X ~ 8 600 0 300 L 50 50 3 2 O
X ~ 9 -600 100 370 R 50 50 3 2 I I
X ~ 11 600 0 300 L 50 50 4 2 O
X ~ 12 -600 100 370 R 50 50 4 2 I I
X ~ 13 -600 -100 370 R 50 50 4 2 I I
ENDDRAW
ENDDEF
#
# 74LS138
#
DEF 74LS138 U 0 40 Y Y 1 F N
F0 "U" 100 500 50 H V C CNN
F1 "74LS138" 150 -549 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
S -300 450 300 -450 0 1 0 N
X A0 1 -600 350 300 R 50 50 1 1 I
X O5 10 600 -150 300 L 50 50 1 1 O V
X O4 11 600 -50 300 L 50 50 1 1 O V
X O3 12 600 50 300 L 50 50 1 1 O V
X O2 13 600 150 300 L 50 50 1 1 O V
X O1 14 600 250 300 L 50 50 1 1 O V
X O0 15 600 350 300 L 50 50 1 1 O V
X VCC 16 0 450 0 D 50 50 1 1 W N
X A1 2 -600 250 300 R 50 50 1 1 I
X A2 3 -600 150 300 R 50 50 1 1 I
X E1 4 -600 -350 300 R 50 50 1 1 I L
X E2 5 -600 -250 300 R 50 50 1 1 I L
X E3 6 -600 -150 300 R 50 50 1 1 I
X O7 7 600 -350 300 L 50 50 1 1 O V
X GND 8 0 -450 0 U 50 50 1 1 W N
X O6 9 600 -250 300 L 50 50 1 1 O V
ENDDRAW
ENDDEF
#
# Conn_01x06
#
DEF Conn_01x06 J 0 40 Y N 1 F N
F0 "J" 0 300 50 H V C CNN
F1 "Conn_01x06" 0 -400 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_??x*mm*
Connector*:*1x??x*mm*
Pin?Header?Straight?1X*
Pin?Header?Angled?1X*
Socket?Strip?Straight?1X*
Socket?Strip?Angled?1X*
$ENDFPLIST
DRAW
S -50 -295 0 -305 1 1 6 N
S -50 -195 0 -205 1 1 6 N
S -50 -95 0 -105 1 1 6 N
S -50 5 0 -5 1 1 6 N
S -50 105 0 95 1 1 6 N
S -50 205 0 195 1 1 6 N
S -50 250 50 -350 1 1 10 f
X Pin_1 1 -200 200 150 R 50 50 1 1 P
X Pin_2 2 -200 100 150 R 50 50 1 1 P
X Pin_3 3 -200 0 150 R 50 50 1 1 P
X Pin_4 4 -200 -100 150 R 50 50 1 1 P
X Pin_5 5 -200 -200 150 R 50 50 1 1 P
X Pin_6 6 -200 -300 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Conn_02x03_Odd_Even
#
DEF Conn_02x03_Odd_Even J 0 40 Y N 1 F N
F0 "J" 50 200 50 H V C CNN
F1 "Conn_02x03_Odd_Even" 50 -200 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*2x??x*mm*
Connector*:*2x???Pitch*
Pin_Header_Straight_2X*
Pin_Header_Angled_2X*
Socket_Strip_Straight_2X*
Socket_Strip_Angled_2X*
$ENDFPLIST
DRAW
S -50 -95 0 -105 1 1 6 N
S -50 5 0 -5 1 1 6 N
S -50 105 0 95 1 1 6 N
S -50 150 150 -150 1 1 10 f
S 150 -95 100 -105 1 1 6 N
S 150 5 100 -5 1 1 6 N
S 150 105 100 95 1 1 6 N
X Pin_1 1 -200 100 150 R 50 50 1 1 P
X Pin_2 2 300 100 150 L 50 50 1 1 P
X Pin_3 3 -200 0 150 R 50 50 1 1 P
X Pin_4 4 300 0 150 L 50 50 1 1 P
X Pin_5 5 -200 -100 150 R 50 50 1 1 P
X Pin_6 6 300 -100 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# SW_Push
#
DEF SW_Push SW 0 40 N N 1 F N
F0 "SW" 50 100 50 H V L CNN
F1 "SW_Push" 0 -60 50 H V C CNN
F2 "" 0 200 50 H I C CNN
F3 "" 0 200 50 H I C CNN
DRAW
C -80 0 20 0 1 0 N
C 80 0 20 0 1 0 N
P 2 0 1 0 0 50 0 120 N
P 2 0 1 0 100 50 -100 50 N
X 1 1 -200 0 100 R 50 50 0 1 P
X 2 2 200 0 100 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
#End Library

View File

@ -1,4 +1,4 @@
update=22/01/2020 13:23:30
update=25.01.2022 22:15:45
version=1
last_client=kicad
[pcbnew]
@ -23,49 +23,6 @@ ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=../Templates;../common/library
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=switches
LibName4=relays
LibName5=motors
LibName6=transistors
LibName7=conn
LibName8=linear
LibName9=regul
LibName10=74xx
LibName11=cmos4000
LibName12=adc-dac
LibName13=memory
LibName14=xilinx
LibName15=microcontrollers
LibName16=dsp
LibName17=microchip
LibName18=analog_switches
LibName19=motorola
LibName20=texas
LibName21=intel
LibName22=audio
LibName23=interface
LibName24=digital-audio
LibName25=philips
LibName26=display
LibName27=cypress
LibName28=siliconi
LibName29=opto
LibName30=atmel
LibName31=contrib
LibName32=valves
LibName33=D:/owncloud/Documents/Projects/RC6502/Templates/rc6502_backplane
LibName34=D:/owncloud/Documents/Projects/RC6502/common/library/mc6821
LibName35=atmega328_mcu
LibName36=C:/Program Files/KiCad/share/kicad/library/switches
LibName37=rca_plug
LibName38=link_power
LibName39=library/ps2_connector
[schematic_editor]
version=1
PageLayoutDescrFile=
@ -78,3 +35,6 @@ SpiceUseNetNumbers=0
LabSize=60
[general]
version=1
[eeschema]
version=1
LibDir=

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
0

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View File

@ -0,0 +1,80 @@
update=22/01/2020 13:23:30
version=1
last_client=kicad
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=../Templates;../common/library
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=switches
LibName4=relays
LibName5=motors
LibName6=transistors
LibName7=conn
LibName8=linear
LibName9=regul
LibName10=74xx
LibName11=cmos4000
LibName12=adc-dac
LibName13=memory
LibName14=xilinx
LibName15=microcontrollers
LibName16=dsp
LibName17=microchip
LibName18=analog_switches
LibName19=motorola
LibName20=texas
LibName21=intel
LibName22=audio
LibName23=interface
LibName24=digital-audio
LibName25=philips
LibName26=display
LibName27=cypress
LibName28=siliconi
LibName29=opto
LibName30=atmel
LibName31=contrib
LibName32=valves
LibName33=D:/owncloud/Documents/Projects/RC6502/Templates/rc6502_backplane
LibName34=D:/owncloud/Documents/Projects/RC6502/common/library/mc6821
LibName35=atmega328_mcu
LibName36=C:/Program Files/KiCad/share/kicad/library/switches
LibName37=rca_plug
LibName38=link_power
LibName39=library/ps2_connector
[schematic_editor]
version=1
PageLayoutDescrFile=
PlotDirectoryName=export/
SubpartIdSeparator=0
SubpartFirstId=65
NetFmtName=Pcbnew
SpiceForceRefPrefix=0
SpiceUseNetNumbers=0
LabSize=60
[general]
version=1

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,617 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# 74LS00
#
DEF 74LS00 U 0 30 Y Y 4 F N
F0 "U" 0 50 50 H V C CNN
F1 "74LS00" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
ALIAS 74LS37 7400 74HCT00 74HC00
$FPLIST
14DIP300*
SO14*
$ENDFPLIST
DRAW
X GND 7 -200 -200 0 U 40 40 0 0 W N
X VCC 14 -200 200 0 D 40 40 0 0 W N
A 100 0 200 -899 899 0 1 0 N 100 -200 100 200
P 4 0 1 0 100 200 -300 200 -300 -200 100 -200 N
X ~ 1 -600 100 300 R 50 50 1 1 I
X ~ 2 -600 -100 300 R 50 50 1 1 I
X ~ 3 600 0 300 L 50 50 1 1 O I
X ~ 4 -600 100 300 R 50 50 2 1 I
X ~ 5 -600 -100 300 R 50 50 2 1 I
X ~ 6 600 0 300 L 50 50 2 1 O I
X ~ 8 600 0 300 L 50 50 3 1 O I
X ~ 9 -600 100 300 R 50 50 3 1 I
X ~ 10 -600 -100 300 R 50 50 3 1 I
X ~ 11 600 0 300 L 50 50 4 1 O I
X ~ 12 -600 100 300 R 50 50 4 1 I
X ~ 13 -600 -100 300 R 50 50 4 1 I
A -465 0 259 504 -504 0 2 0 N -300 200 -300 -200
A -11 143 343 -881 -246 0 2 0 N 0 -200 300 0
A -10 -141 340 244 883 0 2 0 N 300 0 0 200
P 2 0 2 0 -300 -200 0 -200 N
P 2 0 2 0 -300 200 0 200 N
X ~ 1 -600 100 370 R 50 50 1 2 I I
X ~ 2 -600 -100 370 R 50 50 1 2 I I
X ~ 3 600 0 300 L 50 50 1 2 O
X ~ 4 -600 100 370 R 50 50 2 2 I I
X ~ 5 -600 -100 370 R 50 50 2 2 I I
X ~ 6 600 0 300 L 50 50 2 2 O
X ~ 8 600 0 300 L 50 50 3 2 O
X ~ 9 -600 100 370 R 50 50 3 2 I I
X ~ 10 -600 -100 370 R 50 50 3 2 I I
X ~ 11 600 0 300 L 50 50 4 2 O
X ~ 12 -600 100 370 R 50 50 4 2 I I
X ~ 13 -600 -100 370 R 50 50 4 2 I I
ENDDRAW
ENDDEF
#
# 74LS138
#
DEF 74LS138 U 0 40 Y Y 1 F N
F0 "U" 100 500 50 H V C CNN
F1 "74LS138" 150 -549 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
S -300 450 300 -450 0 1 0 N
X A0 1 -600 350 300 R 50 50 1 1 I
X A1 2 -600 250 300 R 50 50 1 1 I
X A2 3 -600 150 300 R 50 50 1 1 I
X E1 4 -600 -350 300 R 50 50 1 1 I L
X E2 5 -600 -250 300 R 50 50 1 1 I L
X E3 6 -600 -150 300 R 50 50 1 1 I
X O7 7 600 -350 300 L 50 50 1 1 O V
X GND 8 0 -450 0 U 50 50 1 1 W N
X O6 9 600 -250 300 L 50 50 1 1 O V
X O5 10 600 -150 300 L 50 50 1 1 O V
X O4 11 600 -50 300 L 50 50 1 1 O V
X O3 12 600 50 300 L 50 50 1 1 O V
X O2 13 600 150 300 L 50 50 1 1 O V
X O1 14 600 250 300 L 50 50 1 1 O V
X O0 15 600 350 300 L 50 50 1 1 O V
X VCC 16 0 450 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# ATMEGA328_MCU
#
DEF ATMEGA328_MCU U 0 40 Y Y 1 F N
F0 "U" -750 1250 50 H V L BNN
F1 "ATMEGA328_MCU" 400 -1400 50 H V L BNN
F2 "DIL28" 0 0 50 H I C CIN
F3 "" 0 0 50 H I C CNN
$FPLIST
28DIP-ELL600
28dip600
$ENDFPLIST
DRAW
S -750 1200 850 -1300 0 1 10 f
X ~RESET 1 -900 800 150 R 40 40 1 1 B
X RXD 2 -900 -150 150 R 40 40 1 1 B
X TXD 3 -900 -50 150 R 40 40 1 1 B
X (PCINT18/INT0)PD2 4 1000 -700 150 L 40 40 1 1 B
X (PCINT19/OC2B/INT1)PD3 5 1000 -800 150 L 40 40 1 1 B
X (PCINT20/XCK/T0)PD4 6 1000 -900 150 L 40 40 1 1 B
X VCC 7 -900 1100 150 R 40 40 1 1 W
X GND 8 -900 -1200 150 R 40 40 1 1 W
X XTAL1 9 -900 550 150 R 40 40 1 1 B
X XTAL2 10 -900 250 150 R 40 40 1 1 B
X AVCC 20 -900 1000 150 R 40 40 1 1 W
X (PCINT21/OC0B/T1)PD5 11 1000 -1000 150 L 40 40 1 1 B
X AREF 21 -900 900 150 R 40 40 1 1 B
X (PCINT22/OC0A/AIN0)PD6 12 1000 -1100 150 L 40 40 1 1 B
X GND 22 -900 -1100 150 R 40 40 1 1 W
X (PCINT23/AIN1)PD7 13 1000 -1200 150 L 40 40 1 1 B
X (PCINT8/ADC0)PC0 23 1000 250 150 L 40 40 1 1 B
X (PCINT0/CLKO/ICP1)PB0 14 1000 1100 150 L 40 40 1 1 B
X (PCINT9/ADC1)PC1 24 1000 150 150 L 40 40 1 1 B
X (PCINT1/OC1A)PB1 15 1000 1000 150 L 40 40 1 1 B
X (PCINT10/ADC2)PC2 25 1000 50 150 L 40 40 1 1 B
X (PCINT2/OC1B/~SS~)PB2 16 1000 900 150 L 40 40 1 1 B
X (PCINT11/ADC3)PC3 26 1000 -50 150 L 40 40 1 1 B
X (PCINT3/OC2A/MOSI)PB3 17 1000 800 150 L 40 40 1 1 B
X (PCINT12/SDA/ADC4)PC4 27 1000 -150 150 L 40 40 1 1 B
X (PCINT4/MISO)PB4 18 1000 700 150 L 40 40 1 1 B
X (PCINT13/SCL/ADC5)PC5 28 1000 -250 150 L 40 40 1 1 B
X (PCINT5/SCK)PB5 19 1000 600 150 L 40 40 1 1 B
ENDDRAW
ENDDEF
#
# C_Small
#
DEF C_Small C 0 10 N N 1 F N
F0 "C" 10 70 50 H V L CNN
F1 "C_Small" 10 -80 50 H V L CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
C_*
$ENDFPLIST
DRAW
P 2 0 1 13 -60 -20 60 -20 N
P 2 0 1 12 -60 20 60 20 N
X ~ 1 0 100 80 D 50 50 1 1 P
X ~ 2 0 -100 80 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Conn_01x06
#
DEF Conn_01x06 J 0 40 Y N 1 F N
F0 "J" 0 300 50 H V C CNN
F1 "Conn_01x06" 0 -400 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_??x*mm*
Connector*:*1x??x*mm*
Pin?Header?Straight?1X*
Pin?Header?Angled?1X*
Socket?Strip?Straight?1X*
Socket?Strip?Angled?1X*
$ENDFPLIST
DRAW
S -50 -295 0 -305 1 1 6 N
S -50 -195 0 -205 1 1 6 N
S -50 -95 0 -105 1 1 6 N
S -50 5 0 -5 1 1 6 N
S -50 105 0 95 1 1 6 N
S -50 205 0 195 1 1 6 N
S -50 250 50 -350 1 1 10 f
X Pin_1 1 -200 200 150 R 50 50 1 1 P
X Pin_2 2 -200 100 150 R 50 50 1 1 P
X Pin_3 3 -200 0 150 R 50 50 1 1 P
X Pin_4 4 -200 -100 150 R 50 50 1 1 P
X Pin_5 5 -200 -200 150 R 50 50 1 1 P
X Pin_6 6 -200 -300 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Conn_02x03_Odd_Even
#
DEF Conn_02x03_Odd_Even J 0 40 Y N 1 F N
F0 "J" 50 200 50 H V C CNN
F1 "Conn_02x03_Odd_Even" 50 -200 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*2x??x*mm*
Connector*:*2x???Pitch*
Pin_Header_Straight_2X*
Pin_Header_Angled_2X*
Socket_Strip_Straight_2X*
Socket_Strip_Angled_2X*
$ENDFPLIST
DRAW
S -50 -95 0 -105 1 1 6 N
S -50 5 0 -5 1 1 6 N
S -50 105 0 95 1 1 6 N
S -50 150 150 -150 1 1 10 f
S 150 -95 100 -105 1 1 6 N
S 150 5 100 -5 1 1 6 N
S 150 105 100 95 1 1 6 N
X Pin_1 1 -200 100 150 R 50 50 1 1 P
X Pin_2 2 300 100 150 L 50 50 1 1 P
X Pin_3 3 -200 0 150 R 50 50 1 1 P
X Pin_4 4 300 0 150 L 50 50 1 1 P
X Pin_5 5 -200 -100 150 R 50 50 1 1 P
X Pin_6 6 300 -100 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Crystal_Small
#
DEF Crystal_Small Y 0 40 N N 1 F N
F0 "Y" 0 100 50 H V C CNN
F1 "Crystal_Small" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Crystal*
$ENDFPLIST
DRAW
S -30 -60 30 60 0 1 0 N
P 2 0 1 15 -50 -30 -50 30 N
P 2 0 1 15 50 -30 50 30 N
X 1 1 -100 0 50 R 50 50 1 1 P
X 2 2 100 0 50 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# D_Small
#
DEF D_Small D 0 10 N N 1 F N
F0 "D" -50 80 50 H V L CNN
F1 "D_Small" -150 -80 50 H V L CNN
F2 "" 0 0 50 V I C CNN
F3 "" 0 0 50 V I C CNN
$FPLIST
TO-???*
*SingleDiode
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
P 2 0 1 0 -30 -40 -30 40 N
P 2 0 1 0 -30 0 30 0 N
P 4 0 1 0 30 -40 -30 0 30 40 30 -40 N
X K 1 -100 0 70 R 50 50 1 1 P
X A 2 100 0 70 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# GND
#
DEF GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "GND" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
X GND 1 0 0 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# Jumper_NC_Dual
#
DEF Jumper_NC_Dual JP 0 30 Y N 1 F N
F0 "JP" 50 -100 50 H V L CNN
F1 "Jumper_NC_Dual" 0 100 50 H V C BNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
A -60 10 64 386 1413 0 1 0 N -10 50 -110 50
A 60 10 64 386 1413 0 1 0 N 110 50 10 50
C -120 0 35 0 1 0 N
C 0 0 36 0 1 0 N
C 120 0 35 0 1 0 N
X 1 1 -250 0 95 R 50 50 0 1 P
X 2 2 0 -100 60 U 50 50 0 1 P
X 3 3 250 0 95 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# LED
#
DEF LED D 0 40 Y N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "LED" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
LED*
$ENDFPLIST
DRAW
P 2 0 1 8 -50 -50 -50 50 N
P 2 0 1 0 -50 0 50 0 N
P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N
P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N
P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N
X K 1 -150 0 100 R 50 50 1 1 P
X A 2 150 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Link_Power
#
DEF Link_Power JP 0 30 N N 1 F N
F0 "JP" 0 80 50 H V C CNN
F1 "Link_Power" 10 -60 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
A 0 -10 57 450 1350 0 1 0 N 40 30 -40 30
C -40 0 20 0 1 0 N
C 40 0 20 0 1 0 N
X 1 1 -100 0 40 R 50 50 0 1 w
X 2 2 100 0 40 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# MC6821
#
DEF MC6821 U 0 40 Y Y 1 F N
F0 "U" 0 100 50 H V C CNN
F1 "MC6821" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
S -350 1250 350 -1425 0 1 0 N
X GND 1 0 -1525 100 U 50 50 1 1 W
X PA0 2 650 1150 300 L 50 50 1 1 I
X PA1 3 650 1050 300 L 50 50 1 1 I
X PA2 4 650 950 300 L 50 50 1 1 I
X PA3 5 650 850 300 L 50 50 1 1 I
X PA4 6 650 750 300 L 50 50 1 1 I
X PA5 7 650 650 300 L 50 50 1 1 I
X PA6 8 650 550 300 L 50 50 1 1 I
X PA7 9 650 450 300 L 50 50 1 1 I
X PB0 10 650 -150 300 L 50 50 1 1 I
X VCC 20 0 1350 100 D 50 50 1 1 W
X D3 30 -650 -450 300 R 50 50 1 1 I
X CA1 40 650 250 300 L 50 50 1 1 B
X PB1 11 650 -250 300 L 50 50 1 1 I
X R/W 21 -650 550 300 R 50 50 1 1 I
X D2 31 -650 -350 300 R 50 50 1 1 I
X PB2 12 650 -350 300 L 50 50 1 1 I
X CS0 22 -650 950 300 R 50 50 1 1 I
X D1 32 -650 -250 300 R 50 50 1 1 I
X PB3 13 650 -450 300 L 50 50 1 1 I
X ~CS2 23 -650 1150 300 R 50 50 1 1 I I
X D0 33 -650 -150 300 R 50 50 1 1 I
X PB4 14 650 -550 300 L 50 50 1 1 I
X CS1 24 -650 1050 300 R 50 50 1 1 I
X ~RESET 34 -650 450 300 R 50 50 1 1 I I
X PB5 15 650 -650 300 L 50 50 1 1 I
X E 25 -650 650 300 R 50 50 1 1 I
X RS1 35 -650 750 300 R 50 50 1 1 I
X PB6 16 650 -750 300 L 50 50 1 1 I
X D7 26 -650 -850 300 R 50 50 1 1 I
X RS0 36 -650 850 300 R 50 50 1 1 I
X PB7 17 650 -850 300 L 50 50 1 1 I
X D6 27 -650 -750 300 R 50 50 1 1 I
X IRQB 37 -650 150 300 R 50 50 1 1 C I
X CB1 18 650 -1050 300 L 50 50 1 1 B
X D5 28 -650 -650 300 R 50 50 1 1 I
X IRQA 38 -650 250 300 R 50 50 1 1 C I
X CB2 19 650 -1150 300 L 50 50 1 1 B
X D4 29 -650 -550 300 R 50 50 1 1 I
X CA2 39 650 150 300 L 50 50 1 1 B
ENDDRAW
ENDDEF
#
# PS/2_Connector
#
DEF PS/2_Connector J 0 40 Y Y 1 F N
F0 "J" 0 250 50 H V C CNN
F1 "PS/2_Connector" 0 -250 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
MINI?DIN*
$ENDFPLIST
DRAW
A 0 0 200 -1269 -531 0 1 0 N -120 -160 120 -160
A 2 4 200 1021 -1488 0 1 0 N -40 200 -170 -100
A 2 5 198 -320 790 0 1 0 N 170 -100 40 200
C -130 0 20 0 1 0 N
C -80 -100 20 0 1 0 N
C -80 100 20 0 1 0 N
C 80 -100 20 0 1 0 N
C 90 100 20 0 1 0 N
C 130 0 20 0 1 0 N
S -30 100 30 0 0 1 0 F
P 2 0 1 0 -150 0 -200 0 N
P 2 0 1 0 -100 100 -200 100 N
P 2 0 1 0 110 100 200 100 N
P 2 0 1 0 200 0 150 0 N
P 3 0 1 0 -170 -100 -120 -100 -120 -160 N
P 3 0 1 0 170 -100 120 -100 120 -160 N
P 4 0 1 0 -80 -120 -80 -140 -200 -140 -200 -100 N
P 4 0 1 0 -40 200 -40 160 40 160 40 200 N
P 4 0 1 0 80 -120 80 -140 200 -140 200 -100 N
X ~ 7 0 -250 40 U 50 50 0 1 N N
X ~ 1 300 -100 100 L 50 50 1 1 P
X ~ 2 -300 -100 100 R 50 50 1 1 P
X ~ 3 300 0 100 L 50 50 1 1 P
X ~ 4 -300 0 100 R 50 50 1 1 P
X ~ 5 300 100 100 L 50 50 1 1 P
X ~ 6 -300 100 100 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# R
#
DEF R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "R" 0 0 50 V V C CNN
F2 "" -70 0 50 V I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
R_*
R_*
$ENDFPLIST
DRAW
S -40 -100 40 100 0 1 10 N
X ~ 1 0 150 50 D 50 50 1 1 P
X ~ 2 0 -150 50 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# RC6502_Backplane
#
DEF RC6502_Backplane J 0 40 Y N 1 F N
F0 "J" 0 2000 50 H V C CNN
F1 "RC6502_Backplane" 450 -50 50 V V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Pin_Header_Straight_1X*
Pin_Header_Angled_1X*
Socket_Strip_Straight_1X*
Socket_Strip_Angled_1X*
$ENDFPLIST
DRAW
T 0 100 400 60 0 0 0 A0 Normal 0 L C
T 0 100 500 60 0 0 0 A1 Normal 0 L C
T 0 100 1400 60 0 0 0 A10 Normal 0 L C
T 0 100 1500 60 0 0 0 A11 Normal 0 L C
T 0 100 1600 60 0 0 0 A12 Normal 0 L C
T 0 100 1700 60 0 0 0 A13 Normal 0 L C
T 0 100 1800 60 0 0 0 A14 Normal 0 L C
T 0 100 1900 60 0 0 0 A15 Normal 0 L C
T 0 100 600 60 0 0 0 A2 Normal 0 L C
T 0 100 700 60 0 0 0 A3 Normal 0 L C
T 0 100 800 60 0 0 0 A4 Normal 0 L C
T 0 100 900 60 0 0 0 A5 Normal 0 L C
T 0 100 1000 60 0 0 0 A6 Normal 0 L C
T 0 100 1100 60 0 0 0 A7 Normal 0 L C
T 0 100 1200 60 0 0 0 A8 Normal 0 L C
T 0 100 1300 60 0 0 0 A9 Normal 0 L C
T 0 100 -700 60 0 0 0 D0 Normal 0 L C
T 0 100 -800 60 0 0 0 D1 Normal 0 L C
T 0 100 -900 60 0 0 0 D2 Normal 0 L C
T 0 100 -1000 60 0 0 0 D3 Normal 0 L C
T 0 100 -1100 60 0 0 0 D4 Normal 0 L C
T 0 100 -1200 60 0 0 0 D5 Normal 0 L C
T 0 100 -1300 60 0 0 0 D6 Normal 0 L C
T 0 100 -1400 60 0 0 0 D7 Normal 0 L C
T 0 100 300 60 0 0 0 GND Normal 0 L C
T 0 100 -200 60 0 0 0 IRQ Normal 0 L C
T 0 100 -1700 60 0 0 0 NMI Normal 0 L C
T 0 100 -100 60 0 0 0 PHI0 Normal 0 L C
T 0 100 -300 60 0 0 0 PHI1 Normal 0 L C
T 0 100 100 60 0 0 0 PHI2 Normal 0 L C
T 0 100 -500 60 0 0 0 RDY Normal 0 L C
T 0 100 0 60 0 0 0 RESET Normal 0 L C
T 0 100 -400 60 0 0 0 RW Normal 0 L C
T 0 100 -1600 60 0 0 0 RX Normal 0 L C
T 0 100 -600 60 0 0 0 SYNC Normal 0 L C
T 0 100 -1500 60 0 0 0 TX Normal 0 L C
T 0 100 200 60 0 0 0 VCC Normal 0 L C
S -50 -1950 50 1950 0 1 0 N
S -50 -1895 10 -1905 0 1 0 N
S -50 -1795 10 -1805 0 1 0 N
S -50 -1695 10 -1705 0 1 0 N
S -50 -1595 10 -1605 0 1 0 N
S -50 -1495 10 -1505 0 1 0 N
S -50 -1395 10 -1405 0 1 0 N
S -50 -1295 10 -1305 0 1 0 N
S -50 -1195 10 -1205 0 1 0 N
S -50 -1095 10 -1105 0 1 0 N
S -50 -995 10 -1005 0 1 0 N
S -50 -895 10 -905 0 1 0 N
S -50 -795 10 -805 0 1 0 N
S -50 -695 10 -705 0 1 0 N
S -50 -595 10 -605 0 1 0 N
S -50 -495 10 -505 0 1 0 N
S -50 -395 10 -405 0 1 0 N
S -50 -295 10 -305 0 1 0 N
S -50 -195 10 -205 0 1 0 N
S -50 -95 10 -105 0 1 0 N
S -50 5 10 -5 0 1 0 N
S -50 105 10 95 0 1 0 N
S -50 205 10 195 0 1 0 N
S -50 305 10 295 0 1 0 N
S -50 405 10 395 0 1 0 N
S -50 505 10 495 0 1 0 N
S -50 605 10 595 0 1 0 N
S -50 705 10 695 0 1 0 N
S -50 805 10 795 0 1 0 N
S -50 905 10 895 0 1 0 N
S -50 1005 10 995 0 1 0 N
S -50 1105 10 1095 0 1 0 N
S -50 1205 10 1195 0 1 0 N
S -50 1305 10 1295 0 1 0 N
S -50 1405 10 1395 0 1 0 N
S -50 1505 10 1495 0 1 0 N
S -50 1605 10 1595 0 1 0 N
S -50 1705 10 1695 0 1 0 N
S -50 1805 10 1795 0 1 0 N
S -50 1905 10 1895 0 1 0 N
X A15 1 -200 1900 150 R 50 50 1 1 B
X A14 2 -200 1800 150 R 50 50 1 1 B
X A13 3 -200 1700 150 R 50 50 1 1 B
X A12 4 -200 1600 150 R 50 50 1 1 B
X A11 5 -200 1500 150 R 50 50 1 1 B
X A10 6 -200 1400 150 R 50 50 1 1 B
X A9 7 -200 1300 150 R 50 50 1 1 B
X A8 8 -200 1200 150 R 50 50 1 1 B
X A7 9 -200 1100 150 R 50 50 1 1 B
X A6 10 -200 1000 150 R 50 50 1 1 B
X RESET 20 -200 0 150 R 50 50 1 1 B
X D3 30 -200 -1000 150 R 50 50 1 1 B
X A5 11 -200 900 150 R 50 50 1 1 B
X PHI0 21 -200 -100 150 R 50 50 1 1 B C
X D4 31 -200 -1100 150 R 50 50 1 1 B
X A4 12 -200 800 150 R 50 50 1 1 B
X IRQ 22 -200 -200 150 R 50 50 1 1 B
X D5 32 -200 -1200 150 R 50 50 1 1 B
X A3 13 -200 700 150 R 50 50 1 1 B
X PHI1 23 -200 -300 150 R 50 50 1 1 B C
X D6 33 -200 -1300 150 R 50 50 1 1 B
X A2 14 -200 600 150 R 50 50 1 1 B
X RW 24 -200 -400 150 R 50 50 1 1 B
X D7 34 -200 -1400 150 R 50 50 1 1 B
X A1 15 -200 500 150 R 50 50 1 1 B
X READY 25 -200 -500 150 R 50 50 1 1 B
X TX 35 -200 -1500 150 R 50 50 1 1 B
X A0 16 -200 400 150 R 50 50 1 1 B
X SYNC 26 -200 -600 150 R 50 50 1 1 B
X RX 36 -200 -1600 150 R 50 50 1 1 B
X P17 17 -200 300 150 R 50 50 1 1 w
X D0 27 -200 -700 150 R 50 50 1 1 B
X NMI 37 -200 -1700 150 R 50 50 1 1 B
X P18 18 -200 200 150 R 50 50 1 1 w
X D1 28 -200 -800 150 R 50 50 1 1 B
X P38 38 -200 -1800 150 R 50 50 1 1 N
X PHI2 19 -200 100 150 R 50 50 1 1 B C
X D2 29 -200 -900 150 R 50 50 1 1 B
X P39 39 -200 -1900 150 R 50 50 1 1 N
ENDDRAW
ENDDEF
#
# RCA_PLUG
#
DEF RCA_PLUG J 0 40 Y N 1 F N
F0 "J" 10 120 50 H V C CNN
F1 "RCA_PLUG" 115 0 50 V V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
*BNC*
*SMA*
*SMB*
*SMC*
*Cinch*
$ENDFPLIST
DRAW
A -2 0 71 1636 0 0 1 10 N -70 20 70 0
A -1 0 71 0 -1638 0 1 10 N 70 0 -70 -20
C 0 0 20 0 1 8 N
P 2 0 1 0 -50 0 -20 0 N
P 2 0 1 0 0 -100 0 -70 N
X Ext 1 0 -200 100 U 50 50 1 1 P
X In 2 -150 0 100 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# SW_Push
#
DEF SW_Push SW 0 40 N N 1 F N
F0 "SW" 50 100 50 H V L CNN
F1 "SW_Push" 0 -60 50 H V C CNN
F2 "" 0 200 50 H I C CNN
F3 "" 0 200 50 H I C CNN
DRAW
C -80 0 20 0 1 0 N
C 80 0 20 0 1 0 N
P 2 0 1 0 0 50 0 120 N
P 2 0 1 0 100 50 -100 50 N
X 1 1 -200 0 100 R 50 50 0 1 P
X 2 2 200 0 100 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# VCC
#
DEF VCC #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "VCC" 0 150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
C 0 75 25 0 1 0 N
P 2 0 1 0 0 0 0 50 N
X VCC 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
#End Library

View File

@ -0,0 +1,9 @@
(sym_lib_table
(lib (name RC6502-Terminal-rescue)(type Legacy)(uri "${KIPRJMOD}/RC6502 Terminal-rescue.lib")(options "")(descr ""))
(lib (name rc6502_backplane)(type Legacy)(uri D:/owncloud/Documents/Projects/RC6502/Templates/rc6502_backplane.lib)(options "")(descr ""))
(lib (name mc6821)(type Legacy)(uri D:/owncloud/Documents/Projects/RC6502/common/library/mc6821.lib)(options "")(descr ""))
(lib (name atmega328_mcu)(type Legacy)(uri D:/ownCloud/Documents/Projects/RC6502/common/library/atmega328_mcu.lib)(options "")(descr ""))
(lib (name rca_plug)(type Legacy)(uri D:/ownCloud/Documents/Projects/RC6502/Templates/rca_plug.lib)(options "")(descr ""))
(lib (name link_power)(type Legacy)(uri D:/ownCloud/Documents/Projects/RC6502/common/library/link_power.lib)(options "")(descr ""))
(lib (name ps2_connector)(type Legacy)(uri ${KIPRJMOD}/library/ps2_connector.lib)(options "")(descr ""))
)

14
documentation/terminal.md Normal file
View File

@ -0,0 +1,14 @@
# RC6502 Terminal
## Burn Arduino bootloader
Using Arduino USBtinyISP, installed drivers from [adafruit](https://learn.adafruit.com/usbtinyisp/drivers) as those worked with the device I found in a drawer. Under *Tools* in the Arduino software, set board to Arduino Nano with Atmega328p and select *USBtinyISP* as *Programmer* - then select the *burn bootloader* option from the menu. Do this for both of the Atmega328p chips, after doing so the board should now be two functional Arduino clones in one.
When programming the new Arduino boards with the software you need to run on it, you could technically keep using the *USBtinyISP* and you'll have just a bit more resources available on it as that would mean flashing it with the sketch itself and leaving out the whole Arduino part of the equation. On the other hand, if you want to use them as an Arduino and that was really the whole point of flashing it with the bootloader - then you'll want a more standard way of uploading code to the board. For this you'll need a standalone *USB Serial TTL adapter*, this includes the little serial chip responsible for handling the communications with your computer over USB - it's a cheap thing and you'll want to have one around the house before long anyway.
Plug it in according to the markings on both of the boards (numbered according to connector on RC6502 Terminal, pin six is at the top):
6. GND goes to GND
5. (Not Connected)
4. VCC goes to +5v
3. RXD goes to TXD
2. TXD goes to RXD
1. RST goes to DTR

View File

@ -10,12 +10,9 @@
[platformio]
src_dir = pia_communicator
[env]
lib_extra_dirs = lib/MCP23S17
[env:nanoatmega328]
platform = atmelavr
board = nanoatmega328
framework = arduino
monitor_speed = 115200

View File

@ -0,0 +1,5 @@
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch

View File

@ -0,0 +1,67 @@
# Continuous Integration (CI) is the practice, in software
# engineering, of merging all developer working copies with a shared mainline
# several times a day < https://docs.platformio.org/page/ci/index.html >
#
# Documentation:
#
# * Travis CI Embedded Builds with PlatformIO
# < https://docs.travis-ci.com/user/integration/platformio/ >
#
# * PlatformIO integration with Travis CI
# < https://docs.platformio.org/page/ci/travis.html >
#
# * User Guide for `platformio ci` command
# < https://docs.platformio.org/page/userguide/cmd_ci.html >
#
#
# Please choose one of the following templates (proposed below) and uncomment
# it (remove "# " before each line) or use own configuration according to the
# Travis CI documentation (see above).
#
#
# Template #1: General project. Test it using existing `platformio.ini`.
#
# language: python
# python:
# - "2.7"
#
# sudo: false
# cache:
# directories:
# - "~/.platformio"
#
# install:
# - pip install -U platformio
# - platformio update
#
# script:
# - platformio run
#
# Template #2: The project is intended to be used as a library with examples.
#
# language: python
# python:
# - "2.7"
#
# sudo: false
# cache:
# directories:
# - "~/.platformio"
#
# env:
# - PLATFORMIO_CI_SRC=path/to/test/file.c
# - PLATFORMIO_CI_SRC=examples/file.ino
# - PLATFORMIO_CI_SRC=path/to/test/directory
#
# install:
# - pip install -U platformio
# - platformio update
#
# script:
# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N

View File

@ -0,0 +1,7 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
]
}

View File

@ -0,0 +1,11 @@
{
"folders": [
{
"path": "."
},
{
"path": "D:\\owncloud\\Documents\\Projects\\RC6502\\software\\arduino\\Terminal\\lib"
}
],
"settings": {}
}

View File

@ -0,0 +1,39 @@
This directory is intended for project header files.
A header file is a file containing C declarations and macro definitions
to be shared between several project source files. You request the use of a
header file in your project source file (C, C++, etc) located in `src` folder
by including it, with the C preprocessing directive `#include'.
```src/main.c
#include "header.h"
int main (void)
{
...
}
```
Including a header file produces the same results as copying the header file
into each source file that needs it. Such copying would be time-consuming
and error-prone. With a header file, the related declarations appear
in only one place. If they need to be changed, they can be changed in one
place, and programs that include the header file will automatically use the
new version when next recompiled. The header file eliminates the labor of
finding and changing all the copies as well as the risk that a failure to
find one copy will result in inconsistencies within a program.
In C, the usual convention is to give header files names that end with `.h'.
It is most portable to use only letters, digits, dashes, and underscores in
header file names, and at most one dot.
Read more about using header files in official GCC documentation:
* Include Syntax
* Include Operation
* Once-Only Headers
* Computed Includes
https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html

View File

@ -0,0 +1,46 @@
This directory is intended for project specific (private) libraries.
PlatformIO will compile them to static libraries and link into executable file.
The source code of each library should be placed in a an own separate directory
("lib/your_library_name/[here are source files]").
For example, see a structure of the following two libraries `Foo` and `Bar`:
|--lib
| |
| |--Bar
| | |--docs
| | |--examples
| | |--src
| | |- Bar.c
| | |- Bar.h
| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html
| |
| |--Foo
| | |- Foo.c
| | |- Foo.h
| |
| |- README --> THIS FILE
|
|- platformio.ini
|--src
|- main.c
and a contents of `src/main.c`:
```
#include <Foo.h>
#include <Bar.h>
int main (void)
{
...
}
```
PlatformIO Library Dependency Finder will find automatically dependent
libraries scanning project source files.
More information about PlatformIO Library Dependency Finder
- https://docs.platformio.org/page/librarymanager/ldf.html

View File

@ -0,0 +1,21 @@
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
src_dir = terminal-keyboard
[env:nanoatmega328]
platform = atmelavr
board = uno
framework = arduino
lib_deps =
techpaul/PS2KeyAdvanced@^1.0.9
techpaul/PS2KeyMap@^1.0.6
monitor_speed = 115200

View File

@ -0,0 +1,63 @@
#include <Arduino.h>
#include <PS2KeyAdvanced.h>
#include <PS2KeyMap.h>
#define PS2_CLK 2
#define PS2_DATA 3
#define KBD_LED 10
PS2KeyAdvanced keyboard;
PS2KeyMap keymap;
uint16_t keycode;
uint8_t found;
void setup() {
pinMode(KBD_LED, OUTPUT);
keyboard.begin(PS2_DATA, PS2_CLK);
Serial.begin(115200);
Serial.println("PS2 Advanced Key Simple Test:");
// Disable Break codes (key release) from PS2KeyAdvanced
keyboard.setNoBreak(1);
// and set no repeat on CTRL, ALT, SHIFT, GUI while outputting
keyboard.setNoRepeat(1);
keyboard.setLock(PS2_LOCK_NUM);
keymap.selectMap((char *)"US");
}
bool remap_character() {
keycode = keymap.remapKey(keycode);
if ((keycode < 128) & (keycode > 0)) {
return true;
}
return false;
}
void loop() {
/* Add 20ms per character delay and 200ms end of line delay, to allow
* Apple 1 computer to catch up with input.
*/
// digitalWrite(KBD_LED, HIGH);
// delay(2000);
// digitalWrite(KBD_LED, LOW);
// delay(2000);
if(keyboard.available()) {
// read the next key
keycode = keyboard.read();
if (remap_character()) {
Serial.print((char) (keycode & 0x7f));
}
// if( keycode > 0 ) {
// Serial.print( "Value " );
// Serial.print( keycode, HEX );
// Serial.print( " - Status Bits " );
// Serial.print( keycode >> 8, HEX );
// Serial.print( " Code " );
// Serial.println( keycode & 0xFF, HEX );
// }
}
}

View File

@ -0,0 +1,11 @@
This directory is intended for PIO Unit Testing and project tests.
Unit Testing is a software testing method by which individual units of
source code, sets of one or more MCU program modules together with associated
control data, usage procedures, and operating procedures, are tested to
determine whether they are fit for use. Unit testing finds problems early
in the development cycle.
More information about PIO Unit Testing:
- https://docs.platformio.org/page/plus/unit-testing.html

View File

@ -0,0 +1,5 @@
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch

View File

@ -0,0 +1,67 @@
# Continuous Integration (CI) is the practice, in software
# engineering, of merging all developer working copies with a shared mainline
# several times a day < https://docs.platformio.org/page/ci/index.html >
#
# Documentation:
#
# * Travis CI Embedded Builds with PlatformIO
# < https://docs.travis-ci.com/user/integration/platformio/ >
#
# * PlatformIO integration with Travis CI
# < https://docs.platformio.org/page/ci/travis.html >
#
# * User Guide for `platformio ci` command
# < https://docs.platformio.org/page/userguide/cmd_ci.html >
#
#
# Please choose one of the following templates (proposed below) and uncomment
# it (remove "# " before each line) or use own configuration according to the
# Travis CI documentation (see above).
#
#
# Template #1: General project. Test it using existing `platformio.ini`.
#
# language: python
# python:
# - "2.7"
#
# sudo: false
# cache:
# directories:
# - "~/.platformio"
#
# install:
# - pip install -U platformio
# - platformio update
#
# script:
# - platformio run
#
# Template #2: The project is intended to be used as a library with examples.
#
# language: python
# python:
# - "2.7"
#
# sudo: false
# cache:
# directories:
# - "~/.platformio"
#
# env:
# - PLATFORMIO_CI_SRC=path/to/test/file.c
# - PLATFORMIO_CI_SRC=examples/file.ino
# - PLATFORMIO_CI_SRC=path/to/test/directory
#
# install:
# - pip install -U platformio
# - platformio update
#
# script:
# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N

View File

@ -0,0 +1,7 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
]
}

View File

@ -0,0 +1,8 @@
{
"folders": [
{
"path": "."
}
],
"settings": {}
}

View File

@ -0,0 +1,39 @@
This directory is intended for project header files.
A header file is a file containing C declarations and macro definitions
to be shared between several project source files. You request the use of a
header file in your project source file (C, C++, etc) located in `src` folder
by including it, with the C preprocessing directive `#include'.
```src/main.c
#include "header.h"
int main (void)
{
...
}
```
Including a header file produces the same results as copying the header file
into each source file that needs it. Such copying would be time-consuming
and error-prone. With a header file, the related declarations appear
in only one place. If they need to be changed, they can be changed in one
place, and programs that include the header file will automatically use the
new version when next recompiled. The header file eliminates the labor of
finding and changing all the copies as well as the risk that a failure to
find one copy will result in inconsistencies within a program.
In C, the usual convention is to give header files names that end with `.h'.
It is most portable to use only letters, digits, dashes, and underscores in
header file names, and at most one dot.
Read more about using header files in official GCC documentation:
* Include Syntax
* Include Operation
* Once-Only Headers
* Computed Includes
https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html

View File

@ -0,0 +1,46 @@
This directory is intended for project specific (private) libraries.
PlatformIO will compile them to static libraries and link into executable file.
The source code of each library should be placed in a an own separate directory
("lib/your_library_name/[here are source files]").
For example, see a structure of the following two libraries `Foo` and `Bar`:
|--lib
| |
| |--Bar
| | |--docs
| | |--examples
| | |--src
| | |- Bar.c
| | |- Bar.h
| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html
| |
| |--Foo
| | |- Foo.c
| | |- Foo.h
| |
| |- README --> THIS FILE
|
|- platformio.ini
|--src
|- main.c
and a contents of `src/main.c`:
```
#include <Foo.h>
#include <Bar.h>
int main (void)
{
...
}
```
PlatformIO Library Dependency Finder will find automatically dependent
libraries scanning project source files.
More information about PlatformIO Library Dependency Finder
- https://docs.platformio.org/page/librarymanager/ldf.html

View File

@ -0,0 +1,18 @@
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
src_dir = terminal-video
[env:nanoatmega328]
platform = atmelavr
board = uno
framework = arduino
lib_deps = avamander/TVout@^1.0.1

View File

@ -0,0 +1,671 @@
#include "font4x6.h"
PROGMEM const unsigned char font4x6[] = {
4,6,32,
//space
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
//!
0b01000000,
0b01000000,
0b01000000,
0b00000000,
0b01000000,
0b00000000,
//"
0b10100000,
0b10100000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
//#
0b10100000,
0b11100000,
0b10100000,
0b11100000,
0b10100000,
0b00000000,
//$
0b01000000,
0b01100000,
0b11000000,
0b01100000,
0b11000000,
0b00000000,
//%
0b10100000,
0b00100000,
0b01000000,
0b10000000,
0b10100000,
0b00000000,
//&
0b00100000,
0b01000000,
0b11000000,
0b10100000,
0b11100000,
0b00000000,
//'
0b10000000,
0b10000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
//(
0b01000000,
0b10000000,
0b10000000,
0b10000000,
0b01000000,
0b00000000,
//)
0b10000000,
0b01000000,
0b01000000,
0b01000000,
0b10000000,
0b00000000,
//*
0b01000000,
0b10100000,
0b01000000,
0b00000000,
0b00000000,
0b00000000,
//+
0b00000000,
0b01000000,
0b11100000,
0b01000000,
0b00000000,
0b00000000,
//,
0b00000000,
0b00000000,
0b00000000,
0b10000000,
0b10000000,
0b00000000,
//-
0b00000000,
0b00000000,
0b11100000,
0b00000000,
0b00000000,
0b00000000,
//.
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b10000000,
0b00000000,
// /
0b00100000,
0b00100000,
0b01000000,
0b10000000,
0b10000000,
0b00000000,
//0
0b11100000,
0b10100000,
0b10100000,
0b10100000,
0b11100000,
0b00000000,
//1
0b01000000,
0b11000000,
0b01000000,
0b01000000,
0b11100000,
0b00000000,
//2
0b11100000,
0b00100000,
0b11100000,
0b10000000,
0b11100000,
0b00000000,
//3
0b11100000,
0b00100000,
0b11100000,
0b00100000,
0b11100000,
0b00000000,
//4
0b10100000,
0b10100000,
0b11100000,
0b00100000,
0b00100000,
0b00000000,
//5
0b11100000,
0b10000000,
0b11100000,
0b00100000,
0b11000000,
0b00000000,
//6
0b11000000,
0b10000000,
0b11100000,
0b10100000,
0b11100000,
0b00000000,
//7
0b11100000,
0b00100000,
0b01000000,
0b10000000,
0b10000000,
0b00000000,
//8
0b11100000,
0b10100000,
0b11100000,
0b10100000,
0b11100000,
0b00000000,
//9
0b11100000,
0b10100000,
0b11100000,
0b00100000,
0b01100000,
0b00000000,
//:
0b00000000,
0b01000000,
0b00000000,
0b01000000,
0b00000000,
0b00000000,
//;
0b00000000,
0b01000000,
0b00000000,
0b01000000,
0b10000000,
0b00000000,
//<
0b00100000,
0b01000000,
0b10000000,
0b01000000,
0b00100000,
0b00000000,
//=
0b00000000,
0b11100000,
0b00000000,
0b11100000,
0b00000000,
0b00000000,
//>
0b10000000,
0b01000000,
0b00100000,
0b01000000,
0b10000000,
0b00000000,
//?
0b11000000,
0b00100000,
0b01000000,
0b00000000,
0b01000000,
0b00000000,
//@
0b11100000,
0b10100000,
0b10100000,
0b11100000,
0b11100000,
0b00000000,
//A
0b11100000,
0b10100000,
0b11100000,
0b10100000,
0b10100000,
0b00000000,
//B
0b11000000,
0b10100000,
0b11100000,
0b10100000,
0b11000000,
0b00000000,
//C
0b11100000,
0b10000000,
0b10000000,
0b10000000,
0b11100000,
0b00000000,
//D
0b11000000,
0b10100000,
0b10100000,
0b10100000,
0b11000000,
0b00000000,
//E
0b11100000,
0b10000000,
0b11100000,
0b10000000,
0b11100000,
0b00000000,
//F
0b11100000,
0b10000000,
0b11100000,
0b10000000,
0b10000000,
0b00000000,
//G
0b11100000,
0b10000000,
0b10000000,
0b10100000,
0b11100000,
0b00000000,
//H
0b10100000,
0b10100000,
0b11100000,
0b10100000,
0b10100000,
0b00000000,
//I
0b11100000,
0b01000000,
0b01000000,
0b01000000,
0b11100000,
0b00000000,
//J
0b00100000,
0b00100000,
0b00100000,
0b10100000,
0b11100000,
0b00000000,
//K
0b10000000,
0b10100000,
0b11000000,
0b11000000,
0b10100000,
0b00000000,
//L
0b10000000,
0b10000000,
0b10000000,
0b10000000,
0b11100000,
0b00000000,
//M
0b10100000,
0b11100000,
0b11100000,
0b10100000,
0b10100000,
0b00000000,
//N
0b11000000,
0b10100000,
0b10100000,
0b10100000,
0b10100000,
0b00000000,
//O
0b01000000,
0b10100000,
0b10100000,
0b10100000,
0b01000000,
0b00000000,
//P
0b11100000,
0b10100000,
0b11100000,
0b10000000,
0b10000000,
0b00000000,
//Q
0b01000000,
0b10100000,
0b10100000,
0b11100000,
0b01100110,
0b00000000,
//R
0b11100000,
0b10100000,
0b11000000,
0b11100000,
0b10101010,
0b00000000,
//S
0b11100000,
0b10000000,
0b11100000,
0b00100000,
0b11100000,
0b00000000,
//T
0b11100000,
0b01000000,
0b01000000,
0b01000000,
0b01000000,
0b00000000,
//U
0b10100000,
0b10100000,
0b10100000,
0b10100000,
0b11100000,
0b00000000,
//V
0b10100000,
0b10100000,
0b10100000,
0b10100000,
0b01000000,
0b00000000,
//W
0b10100000,
0b10100000,
0b11100000,
0b11100000,
0b10100010,
0b00000000,
//X
0b10100000,
0b10100000,
0b01000000,
0b10100000,
0b10100000,
0b00000000,
//Y
0b10100000,
0b10100000,
0b01000000,
0b01000000,
0b01000000,
0b00000000,
//Z
0b11100000,
0b00100000,
0b01000000,
0b10000000,
0b11100000,
0b00000000,
//[
0b11000000,
0b10000000,
0b10000000,
0b10000000,
0b11000000,
0b00000000,
0, //for the life of me I have no idea why this is needed....
//\
0b10000000,
0b10000000,
0b01000000,
0b00100000,
0b00100000,
0b00000000,
//]
0b11000000,
0b01000000,
0b01000000,
0b01000000,
0b11000000,
0b00000000,
//^
0b01000000,
0b10100000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
//_
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b11100000,
0b00000000,
//`
0b10000000,
0b01000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
//a
0b00000000,
0b01100000,
0b10100000,
0b10100000,
0b01100000,
0b00000000,
//b
0b10000000,
0b10000000,
0b11000000,
0b10100000,
0b11000000,
0b00000000,
//c
0b00000000,
0b01100000,
0b10000000,
0b10000000,
0b01100000,
0b00000000,
//d
0b00100000,
0b00100000,
0b01100000,
0b10100000,
0b01100000,
0b00000000,
//e
0b01000000,
0b10100000,
0b11100000,
0b10000000,
0b01100000,
0b00000000,
//f
0b01100000,
0b01000000,
0b11100000,
0b01000000,
0b01000000,
0b00000000,
//g
0b01100000,
0b10100000,
0b01100000,
0b00100000,
0b11000000,
0b00000000,
//h
0b10000000,
0b10000000,
0b11000000,
0b10100000,
0b10100000,
0b00000000,
//i
0b01000000,
0b00000000,
0b01000000,
0b01000000,
0b01000000,
0b00000000,
//j
0b01000000,
0b00000000,
0b01000000,
0b01000000,
0b11000000,
0b00000000,
//k
0b10000000,
0b10000000,
0b10100000,
0b11000000,
0b10100000,
0b00000000,
//l
0b11000000,
0b01000000,
0b01000000,
0b01000000,
0b11100000,
0b00000000,
//m
0b00000000,
0b10100000,
0b11100000,
0b10100000,
0b10100000,
0b00000000,
//n
0b00000000,
0b11000000,
0b10100000,
0b10100000,
0b10100000,
0b00000000,
//o
0b00000000,
0b01000000,
0b10100000,
0b10100000,
0b01000000,
0b00000000,
//p
0b00000000,
0b11000000,
0b10100000,
0b11000000,
0b10000000,
0b00000000,
//q
0b00000000,
0b01100000,
0b10100000,
0b01100000,
0b00100000,
0b00000000,
//r
0b00000000,
0b11000000,
0b10100000,
0b10000000,
0b10000000,
0b00000000,
//s
0b00000000,
0b01100000,
0b01000000,
0b00100000,
0b01100000,
0b00000000,
//t
0b01000000,
0b11100000,
0b01000000,
0b01000000,
0b01000000,
0b00000000,
//u
0b00000000,
0b10100000,
0b10100000,
0b10100000,
0b01100000,
0b00000000,
//v
0b00000000,
0b10100000,
0b10100000,
0b10100000,
0b01000000,
0b00000000,
//w
0b00000000,
0b10100000,
0b10100000,
0b11100000,
0b10100000,
0b00000000,
//x
0b00000000,
0b10100000,
0b01000000,
0b01000000,
0b10100000,
0b00000000,
//y
0b00000000,
0b10100000,
0b11100000,
0b00100000,
0b01000000,
0b00000000,
//z
0b00000000,
0b11100000,
0b01000000,
0b10000000,
0b11100000,
0b00000000,
//{
0b00100000,
0b01000000,
0b11000000,
0b01000000,
0b00100010,
0b00000000,
//|
0b01000000,
0b01000000,
0b00000000,
0b01000000,
0b01000000,
0b00000000,
//}
0b10000000,
0b01000000,
0b01100000,
0b01000000,
0b10000000,
0b00000000,
//~
0b00000000,
0b10100000,
0b01000000,
0b00000000,
0b00000000,
0b00000000
};

View File

@ -0,0 +1,7 @@
#ifndef FONT4X6_h
#define FONT4X6_h
#include <avr/pgmspace.h>
extern const unsigned char font4x6[];
#endif

View File

@ -0,0 +1,870 @@
#include "font6x8.h"
PROGMEM const unsigned char font6x8[] = {
6,8,32,
//32 Space
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
//33 Exclamation !
0b01000000,
0b01000000,
0b01000000,
0b01000000,
0b01000000,
0b00000000,
0b01000000,
0b00000000,
//34 Quotes "
0b01010000,
0b01010000,
0b01010000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
//35 Number #
0b00000000,
0b00000000,
0b01010000,
0b11111000,
0b01010000,
0b11111000,
0b01010000,
0b00000000,
//36 Dollars $
0b00100000,
0b01110000,
0b10100000,
0b01110000,
0b00101000,
0b01110000,
0b00100000,
0b00000000,
//37 Percent %
0b00000000,
0b11001000,
0b11010000,
0b00100000,
0b01011000,
0b10011000,
0b00000000,
0b00000000,
//38 Ampersand &
0b00100000,
0b01010000,
0b10000000,
0b01000000,
0b10101000,
0b10010000,
0b01101000,
0b00000000,
//39 Single Quote '
0b01000000,
0b01000000,
0b01000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
//40 Left Parenthesis (
0b00010000,
0b00100000,
0b01000000,
0b01000000,
0b01000000,
0b00100000,
0b00010000,
0b00000000,
//41 Right Parenthesis )
0b01000000,
0b00100000,
0b00010000,
0b00010000,
0b00010000,
0b00100000,
0b01000000,
0b00000000,
//42 Star *
0b00010000,
0b00111000,
0b00010000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
//43 Plus +
0b00000000,
0b00100000,
0b00100000,
0b11111000,
0b00100000,
0b00100000,
0b00000000,
0b00000000,
//44 Comma ,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00010000,
0b00010000,
0b00000000,
//45 Minus -
0b00000000,
0b00000000,
0b00000000,
0b11111000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
//46 Period .
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00010000,
0b00000000,
0b00000000,
// 47 Backslash /
0b00000000,
0b00001000,
0b00010000,
0b00100000,
0b01000000,
0b10000000,
0b00000000,
0b00000000,
// 48 Zero
0b01110000,
0b10001000,
0b10101000,
0b10101000,
0b10001000,
0b01110000,
0b00000000,
0b00000000,
//49 One
0b00100000,
0b01100000,
0b00100000,
0b00100000,
0b00100000,
0b01110000,
0b00000000,
0b00000000,
//50 two
0b01110000,
0b10001000,
0b00010000,
0b00100000,
0b01000000,
0b11111000,
0b00000000,
0b00000000,
//51 Three
0b11111000,
0b00010000,
0b00100000,
0b00010000,
0b10001000,
0b01110000,
0b00000000,
0b00000000,
//52 Four
0b10010000,
0b10010000,
0b10010000,
0b11111000,
0b00010000,
0b00010000,
0b00000000,
0b00000000,
//53 Five
0b11111000,
0b10000000,
0b11110000,
0b00001000,
0b10001000,
0b01110000,
0b00000000,
0b00000000,
//54 Six
0b01110000,
0b10000000,
0b11110000,
0b10001000,
0b10001000,
0b01110000,
0b00000000,
0b00000000,
//55 Seven
0b11111000,
0b00001000,
0b00010000,
0b00100000,
0b01000000,
0b10000000,
0b00000000,
0b00000000,
//56 Eight
0b01110000,
0b10001000,
0b01110000,
0b10001000,
0b10001000,
0b01110000,
0b00000000,
0b00000000,
//57 Nine
0b01110000,
0b10001000,
0b10001000,
0b01111000,
0b00001000,
0b01110000,
0b00000000,
0b00000000,
//58 :
0b00000000,
0b00000000,
0b00100000,
0b00000000,
0b00000000,
0b00100000,
0b00000000,
0b00000000,
//59 ;
0b00000000,
0b00000000,
0b00100000,
0b00000000,
0b00100000,
0b00100000,
0b01000000,
0b00000000,
//60 <
0b00000000,
0b00011000,
0b01100000,
0b10000000,
0b01100000,
0b00011000,
0b00000000,
0b00000000,
//61 =
0b00000000,
0b00000000,
0b01111000,
0b00000000,
0b01111000,
0b00000000,
0b00000000,
0b00000000,
//62 >
0b00000000,
0b11000000,
0b00110000,
0b00001000,
0b00110000,
0b11000000,
0b00000000,
0b00000000,
//63 ?
0b01100000,
0b10010000,
0b00100000,
0b00100000,
0b00000000,
0b00100000,
0b00000000,
0b00000000,
//64 @
0b01110000,
0b10001000,
0b10011000,
0b10101000,
0b10010000,
0b10001000,
0b01110000,
0b00000000,
//65 A
0b00100000,
0b01010000,
0b10001000,
0b11111000,
0b10001000,
0b10001000,
0b00000000,
0b00000000,
//B
0b11110000,
0b10001000,
0b11110000,
0b10001000,
0b10001000,
0b11110000,
0b00000000,
0b00000000,
//C
0b01110000,
0b10001000,
0b10000000,
0b10000000,
0b10001000,
0b01110000,
0b00000000,
0b00000000,
//D
0b11110000,
0b10001000,
0b10001000,
0b10001000,
0b10001000,
0b11110000,
0b00000000,
0b00000000,
//E
0b11111000,
0b10000000,
0b11111000,
0b10000000,
0b10000000,
0b11111000,
0b00000000,
0b00000000,
//F
0b11111000,
0b10000000,
0b11110000,
0b10000000,
0b10000000,
0b10000000,
0b00000000,
0b00000000,
//G
0b01110000,
0b10001000,
0b10000000,
0b10011000,
0b10001000,
0b01110000,
0b00000000,
0b00000000,
//H
0b10001000,
0b10001000,
0b11111000,
0b10001000,
0b10001000,
0b10001000,
0b00000000,
0b00000000,
//I
0b01110000,
0b00100000,
0b00100000,
0b00100000,
0b00100000,
0b01110000,
0b00000000,
0b00000000,
//J
0b00111000,
0b00010000,
0b00010000,
0b00010000,
0b10010000,
0b01100000,
0b00000000,
0b00000000,
//K
0b10001000,
0b10010000,
0b11100000,
0b10100000,
0b10010000,
0b10001000,
0b00000000,
0b00000000,
//L
0b10000000,
0b10000000,
0b10000000,
0b10000000,
0b10000000,
0b11111000,
0b00000000,
0b00000000,
//M
0b10001000,
0b11011000,
0b10101000,
0b10101000,
0b10001000,
0b10001000,
0b00000000,
0b00000000,
//N
0b10001000,
0b10001000,
0b11001000,
0b10101000,
0b10011000,
0b10001000,
0b00000000,
0b00000000,
//O
0b01110000,
0b10001000,
0b10001000,
0b10001000,
0b10001000,
0b01110000,
0b00000000,
0b00000000,
//P
0b11110000,
0b10001000,
0b11110000,
0b10000000,
0b10000000,
0b10000000,
0b00000000,
0b00000000,
//Q
0b01110000,
0b10001000,
0b10001000,
0b10101000,
0b10010000,
0b01101000,
0b00000000,
0b00000000,
//R
0b11110000,
0b10001000,
0b11110000,
0b10100000,
0b10010000,
0b10001000,
0b00000000,
0b00000000,
//S
0b01111000,
0b10000000,
0b01110000,
0b00001000,
0b00001000,
0b11110000,
0b00000000,
0b00000000,
//T
0b11111000,
0b00100000,
0b00100000,
0b00100000,
0b00100000,
0b00100000,
0b00000000,
0b00000000,
//U
0b10001000,
0b10001000,
0b10001000,
0b10001000,
0b10001000,
0b01110000,
0b00000000,
0b00000000,
//V
0b10001000,
0b10001000,
0b10001000,
0b10001000,
0b01010000,
0b00100000,
0b00000000,
0b00000000,
//W
0b10001000,
0b10001000,
0b10101000,
0b10101000,
0b10101000,
0b01010000,
0b00000000,
0b00000000,
//X
0b10001000,
0b01010000,
0b00100000,
0b01010000,
0b10001000,
0b10001000,
0b00000000,
0b00000000,
//Y
0b10001000,
0b10001000,
0b01010000,
0b00100000,
0b00100000,
0b00100000,
0b00000000,
0b00000000,
//Z
0b11111000,
0b00001000,
0b00010000,
0b00100000,
0b01000000,
0b11111000,
0b00000000,
0b00000000,
//91 [
0b11100000,
0b10000000,
0b10000000,
0b10000000,
0b10000000,
0b11100000,
0b00000000,
0b00000000,
//92 (backslash)
0b00000000,
0b10000000,
0b01000000,
0b00100000,
0b00010000,
0b00001000,
0b00000000,
0b00000000,
//93 ]
0b00111000,
0b00001000,
0b00001000,
0b00001000,
0b00001000,
0b00111000,
0b00000000,
0b00000000,
//94 ^
0b00100000,
0b01010000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
//95 _
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b11111000,
0b00000000,
//96 `
0b10000000,
0b01000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
//97 a
0b00000000,
0b01100000,
0b00010000,
0b01110000,
0b10010000,
0b01100000,
0b00000000,
0b00000000,
//98 b
0b10000000,
0b10000000,
0b11100000,
0b10010000,
0b10010000,
0b11100000,
0b00000000,
0b00000000,
//99 c
0b00000000,
0b00000000,
0b01110000,
0b10000000,
0b10000000,
0b01110000,
0b00000000,
0b00000000,
// 100 d
0b00010000,
0b00010000,
0b01110000,
0b10010000,
0b10010000,
0b01110000,
0b00000000,
0b00000000,
//101 e
0b00000000,
0b01100000,
0b10010000,
0b11110000,
0b10000000,
0b01110000,
0b00000000,
0b00000000,
//102 f
0b00110000,
0b01000000,
0b11100000,
0b01000000,
0b01000000,
0b01000000,
0b00000000,
0b00000000,
//103 g
0b00000000,
0b01100000,
0b10010000,
0b01110000,
0b00010000,
0b00010000,
0b01100000,
0b00000000,
//104 h
0b10000000,
0b10000000,
0b11100000,
0b10010000,
0b10010000,
0b10010000,
0b00000000,
0b00000000,
//105 i
0b00100000,
0b00000000,
0b00100000,
0b00100000,
0b00100000,
0b01110000,
0b00000000,
0b00000000,
//106 j
0b00010000,
0b00000000,
0b00110000,
0b00010000,
0b00010000,
0b00010000,
0b01100000,
0b00000000,
//107 k
0b10000000,
0b10010000,
0b10100000,
0b11000000,
0b10100000,
0b10010000,
0b00000000,
0b00000000,
//108 l
0b01100000,
0b00100000,
0b00100000,
0b00100000,
0b00100000,
0b01110000,
0b00000000,
0b00000000,
//109 m
0b00000000,
0b00000000,
0b01010000,
0b10101000,
0b10101000,
0b10101000,
0b00000000,
0b00000000,
//110 n
0b00000000,
0b00000000,
0b11110000,
0b10001000,
0b10001000,
0b10001000,
0b00000000,
0b00000000,
//111 o
0b00000000,
0b00000000,
0b01100000,
0b10010000,
0b10010000,
0b01100000,
0b00000000,
0b00000000,
//112 p
0b00000000,
0b00000000,
0b01100000,
0b10010000,
0b11110000,
0b10000000,
0b10000000,
0b00000000,
//113 q
0b00000000,
0b00000000,
0b01100000,
0b10010000,
0b11110000,
0b00010000,
0b00010000,
0b00000000,
//114 r
0b00000000,
0b00000000,
0b10110000,
0b01001000,
0b01000000,
0b01000000,
0b00000000,
0b00000000,
//115 s
0b00000000,
0b00110000,
0b01000000,
0b00100000,
0b00010000,
0b01100000,
0b00000000,
0b00000000,
//116 t
0b01000000,
0b01000000,
0b11100000,
0b01000000,
0b01000000,
0b01000000,
0b00000000,
0b00000000,
// 117u
0b00000000,
0b00000000,
0b10010000,
0b10010000,
0b10010000,
0b01100000,
0b00000000,
0b00000000,
//118 v
0b00000000,
0b00000000,
0b10001000,
0b10001000,
0b01010000,
0b00100000,
0b00000000,
0b00000000,
//119 w
0b00000000,
0b00000000,
0b10001000,
0b10101000,
0b10101000,
0b01010000,
0b00000000,
0b00000000,
//120 x
0b00000000,
0b10001000,
0b01010000,
0b00100000,
0b01010000,
0b10001000,
0b00000000,
0b00000000,
//121 y
0b00000000,
0b00000000,
0b10010000,
0b10010000,
0b01100000,
0b01000000,
0b10000000,
0b00000000,
//122 z
0b00000000,
0b00000000,
0b11110000,
0b00100000,
0b01000000,
0b11110000,
0b00000000,
0b00000000,
//123 {
0b00100000,
0b01000000,
0b01000000,
0b10000000,
0b01000000,
0b01000000,
0b00100000,
0b00000000,
//124 |
0b00100000,
0b00100000,
0b00100000,
0b00100000,
0b00100000,
0b00100000,
0b00100000,
0b00000000,
//125 }
0b00100000,
0b00010000,
0b00010000,
0b00001000,
0b00010000,
0b00010000,
0b00100000,
0b00000000,
//126 ~
0b01000000,
0b10101000,
0b00010000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
//127 DEL
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00000000
};

View File

@ -0,0 +1,8 @@
#ifndef FONT6X8_H
#define FONT6X8_H
#include <avr/pgmspace.h>
extern const unsigned char font6x8[];
#endif

View File

@ -0,0 +1,20 @@
#include <Arduino.h>
#include <TVout.h>
#include "font4x6.h"
#include "font6x8.h"
#define VID_LED 10
TVout TV;
void setup() {
pinMode(VID_LED, OUTPUT);
// TV.begin(_NTSC,184,72);
TV.begin(_NTSC,120,96);
TV.clear_screen();
TV.select_font(font6x8);
TV.println("ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcd");
}
void loop() {
}

View File

@ -0,0 +1,11 @@
This directory is intended for PIO Unit Testing and project tests.
Unit Testing is a software testing method by which individual units of
source code, sets of one or more MCU program modules together with associated
control data, usage procedures, and operating procedures, are tested to
determine whether they are fit for use. Unit testing finds problems early
in the development cycle.
More information about PIO Unit Testing:
- https://docs.platformio.org/page/plus/unit-testing.html