00cc9309cb
de6e324bdseparate emu thread10d3daf86Roms List improvements95d202f37Let's make the rom list process on a separate thread so the emulator doesnt take ages to load.fc306967fWow the ROM Header was just completely busted. Game list view works nowbad1691eefuck this shit2b59e5f46game list in progressd26417b83remappable inputs in progressac4af8106inpute72abc240update readme430139dc9Qt6 frontend3080d4d45Fix this small bug too08cd13b85Cop0 unused functions do not actually pose a threat (as per manual). They don't do anything, so shall we.61bb4fb44make idle loop detection a little more specific with where the load goesb037de4c3SAZDFsdff12e81e73eneed to figure out why n64-systemtest loops indefinitely at some address that appears to be valid (i think it's me not invalidating the cache properly)204f0e13bidle skipping seems to work!cb8bb634asdkfjlasdf58e5c89c1Fix compilation issue on my machine (no idea)24fb2898eattempting more serious idle skipping214719577Place rsp.Step inside cached interpreter. Gains about 3 more fpsbb97dcc23mmmmm920b77d38wjkhasdfjhkasdf430ccdab4it's a start...4f42a673aCached interpreter plays Mario 64. Start looking into RSP as wellc9a030787idle skipping works!5fbda03cenew idea366637abaIdle skipping... maybe?609fa2fb0Cache instructions implemented but broken lmao. Commented out for nowe140a6d12- Stop using inheritance for CPU, instead use composition. - Introduce KAIZEN_JIT_ENABLED optional define instead of relying on __aarch64__ and the like. - More cache work68e613057prep cache impl811b4d809fix clang formatfda755f7didkd5024ebbfsmall MI refactor in preparation of (eventually) implementing the RDRAM interface properly694b45341Merge commit '206dcdedf195fb320913584180edb12c7731e396' as 'external/SDL'206dcdedfSquashed 'external/SDL/' content from commit 4d17b99d0a4d16e1cb4need to update sdl848b19920Fix compilation errordb61b5299Merge commit 'e94a94559f28e49678fbcf72199a5258137b0fe9' as 'external/imgui'e94a94559Squashed 'external/imgui/' content from commit 02e9b8cac52edb3757need to update imguic1a705e86Emulate weird JALR behaviour4b4c32f4bFix exception for "unusable COP1" in 4 instructions i missed accidentally (again)df5828142Bug putting 0s in the log everywheref8b580048Make isviewer a sink to file8241e9735Fix exception for "unusable COP1" in 4 instructions i missed accidentallyb29715f20small changesd9a620bc1make use of my new small utility library0d1aa938eAdd 'external/ircolib/' from commit 'ce3cd726c8df8388d554abf8bb55d55020eb4450'e64eb40b3Fuck git git-subtree-dir: external/ircolib git-subtree-split:de6e324bde
131 lines
3.4 KiB
C#
131 lines
3.4 KiB
C#
# CS_ARCH_ARM, CS_MODE_THUMB, None
|
|
0x74,0x41 = adcs r4, r6
|
|
0xd1,0x1c = adds r1, r2, #3
|
|
0x03,0x32 = adds r2, #3
|
|
0x08,0x32 = adds r2, #8
|
|
0xd1,0x18 = adds r1, r2, r3
|
|
0x42,0x44 = add r2, r8
|
|
0x01,0xb0 = add sp, #4
|
|
0x7f,0xb0 = add sp, #0x1fc
|
|
0x01,0xb0 = add sp, #4
|
|
0x02,0xaa = add r2, sp, #8
|
|
0xff,0xaa = add r2, sp, #0x3fc
|
|
0x82,0xb0 = sub sp, #8
|
|
0x82,0xb0 = sub sp, #8
|
|
0x9d,0x44 = add sp, r3
|
|
0x6a,0x44 = add r2, sp, r2
|
|
0x00,0xa5 = adr r5, #0
|
|
0x01,0xa2 = adr r2, #4
|
|
0xff,0xa3 = adr r3, #0x3fc
|
|
0x1a,0x10 = asrs r2, r3, #0x20
|
|
0x5a,0x11 = asrs r2, r3, #5
|
|
0x5a,0x10 = asrs r2, r3, #1
|
|
0x6d,0x15 = asrs r5, r5, #0x15
|
|
0x6d,0x15 = asrs r5, r5, #0x15
|
|
0x6b,0x15 = asrs r3, r5, #0x15
|
|
0x15,0x41 = asrs r5, r2
|
|
0x97,0xe3 = b #0x72e
|
|
0x2e,0xe7 = b #-0x1a4
|
|
0x80,0xd0 = beq #-0x100
|
|
0x50,0xd0 = beq #0xa0
|
|
0xd8,0xf0,0x20,0xe8 = blx #0xd8040
|
|
0xb0,0xf1,0x40,0xe8 = blx #0x1b0080
|
|
0xb1,0x43 = bics r1, r6
|
|
0x00,0xbe = bkpt #0
|
|
0xff,0xbe = bkpt #0xff
|
|
0xa0,0x47 = blx r4
|
|
0x10,0x47 = bx r2
|
|
0xcd,0x42 = cmn r5, r1
|
|
0x20,0x2e = cmp r6, #0x20
|
|
0xa3,0x42 = cmp r3, r4
|
|
0x88,0x45 = cmp r8, r1
|
|
0x61,0xb6 = cpsie f
|
|
0x74,0xb6 = cpsid a
|
|
0x6c,0x40 = eors r4, r5
|
|
0xff,0xcb = ldm r3, {r0, r1, r2, r3, r4, r5, r6, r7}
|
|
0xba,0xca = ldm r2!, {r1, r3, r4, r5, r7}
|
|
0x02,0xc9 = ldm r1, {r1}
|
|
0x29,0x68 = ldr r1, [r5]
|
|
0x32,0x6a = ldr r2, [r6, #0x20]
|
|
0xfb,0x6f = ldr r3, [r7, #0x7c]
|
|
0x00,0x99 = ldr r1, [sp]
|
|
0x06,0x9a = ldr r2, [sp, #0x18]
|
|
0xff,0x9b = ldr r3, [sp, #0x3fc]
|
|
0x97,0x4b = ldr r3, [pc, #0x25c]
|
|
0x5c,0x4b = ldr r3, [pc, #0x170]
|
|
0xd1,0x58 = ldr r1, [r2, r3]
|
|
0x1c,0x78 = ldrb r4, [r3]
|
|
0x35,0x78 = ldrb r5, [r6]
|
|
0xfe,0x7f = ldrb r6, [r7, #0x1f]
|
|
0x66,0x5d = ldrb r6, [r4, r5]
|
|
0x1b,0x88 = ldrh r3, [r3]
|
|
0x74,0x88 = ldrh r4, [r6, #2]
|
|
0xfd,0x8f = ldrh r5, [r7, #0x3e]
|
|
0x96,0x5b = ldrh r6, [r2, r6]
|
|
0x96,0x57 = ldrsb r6, [r2, r6]
|
|
0x7b,0x5e = ldrsh r3, [r7, r1]
|
|
0x2c,0x00 = movs r4, r5
|
|
0x2c,0x01 = lsls r4, r5, #4
|
|
0x1b,0x03 = lsls r3, r3, #0xc
|
|
0x1b,0x03 = lsls r3, r3, #0xc
|
|
0x19,0x03 = lsls r1, r3, #0xc
|
|
0xb2,0x40 = lsls r2, r6
|
|
0x59,0x08 = lsrs r1, r3, #1
|
|
0x19,0x08 = lsrs r1, r3, #0x20
|
|
0x24,0x0d = lsrs r4, r4, #0x14
|
|
0x24,0x0d = lsrs r4, r4, #0x14
|
|
0x22,0x0d = lsrs r2, r4, #0x14
|
|
0xf2,0x40 = lsrs r2, r6
|
|
0x00,0x22 = movs r2, #0
|
|
0xff,0x22 = movs r2, #0xff
|
|
0x17,0x22 = movs r2, #0x17
|
|
0x23,0x46 = mov r3, r4
|
|
0x19,0x00 = movs r1, r3
|
|
0x51,0x43 = muls r1, r2, r1
|
|
0x5a,0x43 = muls r2, r3, r2
|
|
0x63,0x43 = muls r3, r4, r3
|
|
0xde,0x43 = mvns r6, r3
|
|
0x63,0x42 = rsbs r3, r4, #0
|
|
0x4c,0xbc = pop {r2, r3, r6}
|
|
0x86,0xb4 = push {r1, r2, r7}
|
|
0x1e,0xba = rev r6, r3
|
|
0x57,0xba = rev16 r7, r2
|
|
0xcd,0xba = revsh r5, r1
|
|
0xfa,0x41 = rors r2, r7
|
|
0x59,0x42 = rsbs r1, r3, #0
|
|
0x9c,0x41 = sbcs r4, r3
|
|
0x58,0xb6 = setend be
|
|
0x50,0xb6 = setend le
|
|
0x44,0xc1 = stm r1!, {r2, r6}
|
|
0x8e,0xc1 = stm r1!, {r1, r2, r3, r7}
|
|
0x3a,0x60 = str r2, [r7]
|
|
0x3a,0x60 = str r2, [r7]
|
|
0x4d,0x60 = str r5, [r1, #4]
|
|
0xfb,0x67 = str r3, [r7, #0x7c]
|
|
0x00,0x92 = str r2, [sp]
|
|
0x00,0x93 = str r3, [sp]
|
|
0x05,0x94 = str r4, [sp, #0x14]
|
|
0xff,0x95 = str r5, [sp, #0x3fc]
|
|
0xfa,0x50 = str r2, [r7, r3]
|
|
0x1c,0x70 = strb r4, [r3]
|
|
0x35,0x70 = strb r5, [r6]
|
|
0xfe,0x77 = strb r6, [r7, #0x1f]
|
|
0x66,0x55 = strb r6, [r4, r5]
|
|
0x1b,0x80 = strh r3, [r3]
|
|
0x74,0x80 = strh r4, [r6, #2]
|
|
0xfd,0x87 = strh r5, [r7, #0x3e]
|
|
0x96,0x53 = strh r6, [r2, r6]
|
|
0xd1,0x1e = subs r1, r2, #3
|
|
0x03,0x3a = subs r2, #3
|
|
0x08,0x3a = subs r2, #8
|
|
0x83,0xb0 = sub sp, #0xc
|
|
0xff,0xb0 = sub sp, #0x1fc
|
|
0xd1,0x1a = subs r1, r2, r3
|
|
0x00,0xdf = svc #0
|
|
0xff,0xdf = svc #0xff
|
|
0x6b,0xb2 = sxtb r3, r5
|
|
0x2b,0xb2 = sxth r3, r5
|
|
0x0e,0x42 = tst r6, r1
|
|
0xd7,0xb2 = uxtb r7, r2
|
|
0xa1,0xb2 = uxth r1, r4
|