From 323098f645bc63a9e7f8fbe3fe78b0fb2506e4e4 Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Fri, 21 Feb 2020 20:11:17 +0100 Subject: [PATCH] doc --- src/main/kotlin/razorvine/ksim65/Cpu6502.kt | 1 + src/test/kotlin/Test6502TestSuiteIllegalInstructions.kt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/main/kotlin/razorvine/ksim65/Cpu6502.kt b/src/main/kotlin/razorvine/ksim65/Cpu6502.kt index edeab49..615fafb 100644 --- a/src/main/kotlin/razorvine/ksim65/Cpu6502.kt +++ b/src/main/kotlin/razorvine/ksim65/Cpu6502.kt @@ -1409,6 +1409,7 @@ open class Cpu6502 : BusComponent() { // unofficial/illegal 6502 instructions // see http://www.ffd2.com/fridge/docs/6502-NMOS.extra.opcodes // or https://github.com/quietust/nintendulator/blob/master/src/CPU.cpp (search for LogBadOps) + // or https://github.com/stardot/b-em/blob/master/src/6502.c // TODO: some of these may be implemented incorrectly / are not finished yet diff --git a/src/test/kotlin/Test6502TestSuiteIllegalInstructions.kt b/src/test/kotlin/Test6502TestSuiteIllegalInstructions.kt index c4ff12d..10a08f8 100644 --- a/src/test/kotlin/Test6502TestSuiteIllegalInstructions.kt +++ b/src/test/kotlin/Test6502TestSuiteIllegalInstructions.kt @@ -4,6 +4,8 @@ import org.junit.jupiter.api.parallel.ExecutionMode import kotlin.test.* // TODO: implement the still missing illegal instructions and replace these tests with the 'real' runTest +// the instr_test_v5 from nesdev https://wiki.nesdev.com/w/index.php/Emulator_tests may be useful to test the instructions + @Execution(ExecutionMode.CONCURRENT) class Test6502TestSuiteIllegalInstructions: FunctionalTestsBase() {