Skip to content

Commit

Permalink
z80_desc.yml: remove outdated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Jun 8, 2024
1 parent bd1ecff commit d5a8956
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions codegen/z80_desc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,11 @@ ADD HL,$RP:
LD (BC),A:
cond: (x == 0) and (z == 2) and (q == 0) and (p == 0)
mcycles:
# NOTE: WZH can also be 0 on Z80 clones (the VisualZ80 netlist also sets WZH to zero)
- { type: mwrite, ab: $BC, db: $A, action: "$WZL=$C+1;$WZH=$A" }

LD (DE),A:
cond: (x == 0) and (z == 2) and (q == 0) and (p == 1)
mcycles:
# NOTE: WZH can also be 0 on Z80 clones (the VisualZ80 netlist also sets WZH to zero)
- { type: mwrite, ab: $DE, db: $A, action: "$WZL=$E+1;$WZH=$A" }

LD (nn),HL:
Expand All @@ -105,7 +103,6 @@ LD (nn),A:
mcycles:
- { type: mread, ab: $PC++, dst: $WZL }
- { type: mread, ab: $PC++, dst: $WZH }
# NOTE: WZH can also be 0 on Z80 clones (the VisualZ80 netlist also sets WZH to zero)
- { type: mwrite, ab: $WZ++, db: $A, action: "$WZH=$A" }

LD A,(BC):
Expand Down Expand Up @@ -432,7 +429,7 @@ LD (nn),$RP:
- { type: mread, ab: $PC++, dst: $WZH }
- { type: mwrite, ab: $WZ++, db: $RRPL }
- { type: mwrite, ab: $WZ, db: $RRPH }

LD $RP,(nn):
prefix: ed
cond: (x == 1) and (z == 3) and (q == 1)
Expand Down Expand Up @@ -586,7 +583,7 @@ CPDR:
INI:
prefix: ed
cond: (x == 2) and (y == 4) and (z == 2)
mcycles:
mcycles:
- { type: generic, tcycles: 1 }
- { type: ioread, ab: $BC, dst: $DLATCH, action: "$WZ=$BC+1;$B--;" }
- { type: mwrite, ab: "cpu->hl++", db: $DLATCH, action: "_z80_ini_ind(cpu,$DLATCH,$C+1)" }
Expand Down

0 comments on commit d5a8956

Please sign in to comment.