diff --git a/.idea/gradle.xml b/.idea/gradle.xml index a5be585..50e25ff 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -9,7 +9,7 @@ - + diff --git a/.idea/misc.xml b/.idea/misc.xml index 1fcc9ec..4dddcb5 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -7,5 +7,5 @@ - + \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index ff84fce..94cc2eb 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ import kotlin.math.max plugins { // Apply the Kotlin JVM plugin to add support for Kotlin on the JVM. - kotlin("jvm") version "1.7.10" + kotlin("jvm") version "1.8.21" `maven-publish` application java @@ -24,7 +24,7 @@ allprojects { } version = versionProps["version"] as String group = "net.razorvine" - base.archivesBaseName = "ksim65" + // base.archivesBaseName = "ksim65" repositories { // You can declare any Maven/Ivy/file repository here. diff --git a/src/test/kotlin/Test6502CpuBasics.kt b/src/test/kotlin/Test6502CpuBasics.kt index 0b55c9b..4defd6b 100644 --- a/src/test/kotlin/Test6502CpuBasics.kt +++ b/src/test/kotlin/Test6502CpuBasics.kt @@ -153,14 +153,14 @@ class Test6502CpuBasics { val bus = Bus() bus.add(cpu) cpu.breakpointForBRK = { _, pc -> fail("brk instruction at \$${hexW(pc)}") } - cpu.addBreakpoint(0xffee) { cpu, pc -> + cpu.addBreakpoint(0xffee) { cpu2, pc -> // OSWRCH write character - print("${cpu.regA.toChar()}") + print("${cpu2.regA.toChar()}") Cpu6502.BreakpointResultAction() } - cpu.addBreakpoint(0xffe0) { cpu, pc -> + cpu.addBreakpoint(0xffe0) { cpu2, pc -> // OSRDCH read character - cpu.regA = testChoice.code + cpu2.regA = testChoice.code Cpu6502.BreakpointResultAction() } val ram = Ram(0, 0xffff)