Skip to content

Commit

Permalink
#2 Fixed register size and added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hagronnestad committed Oct 14, 2019
1 parent 12d6a26 commit d4a926a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ComputerSystems/Commodore64/VicIi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ public class VicIi {

public event EventHandler OnGenerateRasterLineInterrupt;

private byte[] _registers = new byte[47];
// VIC-II has 64 registers (47 in use, $D02F-$D03F Unusable (17 bytes), $D040-$D3FF VIC-II register images (repeated every $40, 64 bytes))
private byte[] _registers = new byte[0x40];


private const byte REGISTER_SCREEN_CONTROL_0x11 = 0x11;
private const byte REGISTER_CURRENT_RASTER_LINE_0x12 = 0x12;
Expand Down

0 comments on commit d4a926a

Please sign in to comment.