1
0
mirror of https://github.com/irmen/ksim65.git synced 2024-06-01 06:41:34 +00:00

fix unit test

This commit is contained in:
Irmen de Jong 2020-02-05 01:24:45 +01:00
parent 43b2bec5da
commit 8b84a7c653

View File

@ -52,7 +52,7 @@ class Test6502CpuBasics {
val ram = Ram(0x1000, 0x1fff)
// load a simple program that loops a few instructions
for(b in listOf(0xa9, 0x63, 0xaa, 0x86, 0x22, 0x8e, 0x22, 0x22, 0x91, 0x22, 0x6d, 0x33, 0x33, 0xcd, 0x55, 0x55, 0xd0, 0xee, 0xf0, 0xec).withIndex()) {
ram[0x1000+b.index] = b.value.toShort()
ram[b.index] = b.value.toShort()
}
val bus = Bus()