You are browsing as a guest. Sign up (or log in) to start making projects!

1h 43m 50s logged

I’ve done a LOT of work.
Added Opcodes:

  • BEQ
  • BNE
  • SBC Immediate + Zeropage

I’ve also done a lot of refractorisation. Code before :

match opcode {
          0x18 => {
                    self.sr &= !CPU::CARRY_FLAG;                                      

                    self.set_instr(format!("{:02X}", opcode), "CLC".to_string(), 2);
          },
          // ... 
}

VS now :


match opcode {
          0x18 => self.clc(opcode),
          // ... 
}

So now every opcode have his own function !

0
4

Comments 0

No comments yet. Be the first!