rafzby / chip8-emulator

CHIP-8 emulator written in java
MIT License
2 stars 2 forks source link

proposal refactor class CPU #7

Closed mirkoperillo closed 6 years ago

mirkoperillo commented 6 years ago

Hi this is a proposal for refactoring class CPU extracting code in functions.

Give it a look. If it's ok I'll complete it

rafzby commented 6 years ago

Opcodes don't usually have fixed names. I would rather use name that tell us what they do like clearDisplayCommand() or sth like that.

mirkoperillo commented 6 years ago

@rafzby Ok, I'll give it a try

mirkoperillo commented 6 years ago

@rafzby I tried to improve function names. Can these be good ?