Skip to content

Commit 9b1c447

Browse files
committed
3 output tests now pass
1 parent 3a0b352 commit 9b1c447

File tree

5 files changed

+17
-13
lines changed

5 files changed

+17
-13
lines changed

.DS_Store

0 Bytes
Binary file not shown.

SDCard/.DS_Store

0 Bytes
Binary file not shown.

SDCard/T6522/T020R01I.csv

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ P,PA7,1,PA6,0,PA5,1,PA4,0,PA3,1,PA2,0,PA1,1,PA0,0
5555
*Set CA0 to signal that data is ready
5656
P,CA0,1
5757
D,500
58+
P,CA1,0
59+
D,500
5860

5961
*Set RW to Read mode.
6062
P,RW,1
@@ -83,6 +85,8 @@ P,PA7,0,PA6,1,PA5,0,PA4,1,PA3,0,PA2,1,PA1,0,PA0,1
8385
*Set CA0 to signal that data is ready
8486
P,CA0,1
8587
D,500
88+
P,CA1,0
89+
D,500
8690

8791
*Pulse clock to latch the data
8892
P,CLK,1

SDCard/T6522/T030R01O.csv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@ P,CLK,1
3636
D,500
3737
P,CLK,0
3838
D,500
39-
* write 10101010 to ORA register 2
40-
P,A3,0,A2,0,A1,1,A0,0
39+
* write 10101010 to ORA register 1
40+
P,A3,0,A2,0,A1,0,A0,1
4141
P,D7,1,D6,0,D5,1,D4,0,D3,1,D2,0,D1,1,D0,0
4242
* expect port pins to be set
4343
P,CLK,1
4444
D,500
4545
P,CLK,0
4646
D,500
4747
E,PA7,1,PA6,0,PA5,1,PA4,0,PA3,1,PA2,0,PA1,1,PA0,0
48-
* write 01010101 to ORA register 2
49-
P,A3,0,A2,0,A1,1,A0,0
48+
* write 01010101 to ORA register 1
49+
P,A3,0,A2,0,A1,0,A0,1
5050
P,D7,0,D6,1,D5,0,D4,1,D3,0,D2,1,D1,0,D0,1
5151
* expect port pins to be set
5252
P,CLK,1

SDCard/T6522/T040R00O.csv

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,31 +28,31 @@ P,CLK,1
2828
D,500
2929
P,CLK,0
3030

31-
*Set Data Direction Register A to store data in chip
32-
* Write $FF to DDRA Register 3
33-
P,A3,0,A2,0,A1,1,A0,1
31+
*Set Data Direction Register B to store data in chip
32+
* Write $FF to DDRA Register 2
33+
P,A3,0,A2,0,A1,1,A0,0
3434
P,D0,1,D1,1,D2,1,D3,1,D4,1,D5,1,D6,1,D7,1
3535
P,CLK,1
3636
D,500
3737
P,CLK,0
3838
D,500
39-
* write 10101010 to ORA register 1
40-
P,A3,0,A2,0,A1,0,A0,1
39+
* write 10101010 to ORB register 0
40+
P,A3,0,A2,0,A1,0,A0,0
4141
P,D7,1,D6,0,D5,1,D4,0,D3,1,D2,0,D1,1,D0,0
4242
* expect port pins to be set
4343
P,CLK,1
4444
D,500
4545
P,CLK,0
4646
D,500
47-
E,PA7,1,PA6,0,PA5,1,PA4,0,PA3,1,PA2,0,PA1,1,PA0,0
48-
* write 01010101 to ORA register 1
49-
P,A3,0,A2,0,A1,0,A0,1
47+
E,PB7,1,PB6,0,PB5,1,PB4,0,PB3,1,PB2,0,PB1,1,PB0,0
48+
* write 01010101 to ORB register 0
49+
P,A3,0,A2,0,A1,0,A0,0
5050
P,D7,0,D6,1,D5,0,D4,1,D3,0,D2,1,D1,0,D0,1
5151
* expect port pins to be set
5252
P,CLK,1
5353
D,500
5454
P,CLK,0
5555
D,500
56-
E,PA7,0,PA6,1,PA5,0,PA4,1,PA3,0,PA2,1,PA1,0,PA0,1
56+
E,PB7,0,PB6,1,PB5,0,PB4,1,PB3,0,PB2,1,PB1,0,PB0,1
5757
*Set RW to Read mode.
5858
P,RW,1

0 commit comments

Comments
 (0)