File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export class Bus {
2929 readonly address$ = new BehaviorSubject ( 0x00 )
3030 readonly control$ = new BehaviorSubject ( initialControlLines )
3131
32- readonly controlOnClockRise $ : Observable < ControlLines > = this . control$ . pipe (
32+ readonly clockRise $ : Observable < ControlLines > = this . control$ . pipe (
3333 filter ( ( control , index ) => ( index && control . CLK ) ) ,
3434 share ( ) ,
3535 )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export class Cpu {
2222 RD : 0b1 ,
2323 MREQ : 0b1 ,
2424 } )
25- yield this . bus . controlOnClockRise $. pipe ( take ( 1 ) )
25+ yield this . bus . clockRise $. pipe ( take ( 1 ) )
2626 this . bus . setControl ( {
2727 RD : 0b0 ,
2828 MREQ : 0b0 ,
@@ -37,7 +37,7 @@ export class Cpu {
3737 WR : 0b1 ,
3838 MREQ : 0b1 ,
3939 } )
40- yield this . bus . controlOnClockRise $. pipe ( take ( 1 ) )
40+ yield this . bus . clockRise $. pipe ( take ( 1 ) )
4141 this . bus . setControl ( {
4242 WR : 0b0 ,
4343 MREQ : 0b0 ,
You can’t perform that action at this time.
0 commit comments