File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export class Bus {
29
29
readonly address$ = new BehaviorSubject ( 0x00 )
30
30
readonly control$ = new BehaviorSubject ( initialControlLines )
31
31
32
- readonly controlOnClockRise $ : Observable < ControlLines > = this . control$ . pipe (
32
+ readonly clockRise $ : Observable < ControlLines > = this . control$ . pipe (
33
33
filter ( ( control , index ) => ( index && control . CLK ) ) ,
34
34
share ( ) ,
35
35
)
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export class Cpu {
22
22
RD : 0b1 ,
23
23
MREQ : 0b1 ,
24
24
} )
25
- yield this . bus . controlOnClockRise $. pipe ( take ( 1 ) )
25
+ yield this . bus . clockRise $. pipe ( take ( 1 ) )
26
26
this . bus . setControl ( {
27
27
RD : 0b0 ,
28
28
MREQ : 0b0 ,
@@ -37,7 +37,7 @@ export class Cpu {
37
37
WR : 0b1 ,
38
38
MREQ : 0b1 ,
39
39
} )
40
- yield this . bus . controlOnClockRise $. pipe ( take ( 1 ) )
40
+ yield this . bus . clockRise $. pipe ( take ( 1 ) )
41
41
this . bus . setControl ( {
42
42
WR : 0b0 ,
43
43
MREQ : 0b0 ,
You can’t perform that action at this time.
0 commit comments