all repos — mgba @ 3b3b6e0546d4263408887aec5c62601d1b850070

mGBA Game Boy Advance Emulator

3b3b6e05
Implement MVN
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 03:26:04 -0700
3121ed0b
Fix BX
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 03:23:37 -0700
8eb8cdfa
Implement SUB(1)
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 03:15:21 -0700
18b1fd49
Implement SUB(3)
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 03:13:06 -0700
280fc18c
Implement LDRB(1)
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 03:10:25 -0700
ee5375a8
Implement CMP(2)
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 03:08:07 -0700
b541b99d
Implement NEG
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 03:06:11 -0700
53212bae
Implement SUB(2)
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 03:03:19 -0700
5be88fe1
Implement LDRH(1)
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 03:00:06 -0700
ce593c4b
Implement STRB(1)
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 02:58:05 -0700
7c8d76eb
Implement BX
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 02:55:12 -0700
d7ff6aa1
Add missing field for breakpoints
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 02:54:58 -0700
81909bed
Fix indentation of LSR(2)/ASR(2)
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 02:51:21 -0700
97ce972b
Implement LSR(2)
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 02:49:07 -0700
76a85c76
Rudimentary breakpoints
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 02:42:09 -0700
baad7b50
Add n command, and command repetition
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Apr 2013 14:06:57 -0700
4df2d6de
Pause on stub opcodes
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Apr 2013 13:56:29 -0700
e5379c99
Add ability to run code indefinitely (or at least until we crash)
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Apr 2013 13:50:41 -0700
dbe9796b
Implement B
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Apr 2013 12:38:47 -0700
abd522a2
Implement ADD(4)
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Apr 2013 12:32:15 -0700
bc4924ce
Implement CMP(3)
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Apr 2013 12:28:24 -0700
aa14ed44
Implement AND, EOR and ORR
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Apr 2013 01:50:21 -0700
75fdcd67
Add missing CPSR update for ASR(2)
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Apr 2013 01:48:00 -0700
c51ad65c
Implement ASR(2)
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Apr 2013 01:42:34 -0700
5094b771
Add memory reading commands to debugger
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Apr 2013 01:36:01 -0700
5465543a
Properly recognize syntax errors
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Apr 2013 01:27:05 -0700
0180ee09
Print hex
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Apr 2013 01:25:21 -0700
f7155340
Begin command line parsing
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Apr 2013 01:23:41 -0700
10884de5
Add ability to print current instruction
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Apr 2013 00:22:27 -0700
67750e35
Fix sign-extension on BL1
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 22:59:19 -0700
eed0e770
Implement B(1)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 22:58:50 -0700
be8849d7
Implement CMP(1)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 22:44:51 -0700
3a097dca
Implement ADD(3), refactor other ADDs
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 22:34:44 -0700
36670b3f
Implement LSR(1) and reindent LSL(1)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 22:24:35 -0700
9ca65038
Implement LDR(4)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 22:18:46 -0700
9f77c323
Implement ADD(1)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 22:17:37 -0700
d7ddbee4
Fix BL(1)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 22:14:01 -0700
f86fb9dc
Implement LDR(1)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 22:06:17 -0700
33fc9587
Implement STR(1)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 21:56:46 -0700
c8f85a65
Implement STR(3)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 21:48:30 -0700
3e57e460
Implement ADD(2)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 21:48:19 -0700
b5182915
Command to break into attached debugger
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 21:27:43 -0700
a7bc99c8
Implement LDR(3)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 20:09:27 -0700
57f2ccca
Implement STRH(1)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 20:06:58 -0700
21ee7946
Implement LSL(1)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 20:00:14 -0700
71c68fe7
Implement ADD(6)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 19:59:55 -0700
21df1c48
Implement MOV(1)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 02:44:04 -0700
9ab3b0c2
Implement ADD(7)/SUB(4)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 02:22:37 -0700
1ac7f0eb
Implement MOV(3)
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 02:15:47 -0700
37ce1383
Set bits in MSR properly
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 02:10:09 -0700
60978902
Print proper register
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 02:04:51 -0700
688af6cd
Add some basic input to the debugger
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 02:03:11 -0700
1db7f5b1
Initial debugger
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 01:32:43 -0700
b07e0526
Move CMakeList
Jeffrey Pfau jeffrey@endrift.com
Thu, 11 Apr 2013 23:58:13 -0700
09455b50
Add linenoise module
Jeffrey Pfau jeffrey@endrift.com
Thu, 11 Apr 2013 23:52:51 -0700
d90d7d18
Implement BL
Jeffrey Pfau jeffrey@endrift.com
Thu, 11 Apr 2013 03:14:09 -0700
133d5746
Implement LDMIA/STMIA/PUSH/POP
Jeffrey Pfau jeffrey@endrift.com
Thu, 11 Apr 2013 03:01:07 -0700
1616ec83
Stub out incomplete addressing mode 1 opcodes
Jeffrey Pfau jeffrey@endrift.com
Thu, 11 Apr 2013 02:13:35 -0700
4fbed66b
Start fleshing out addressing mode 1
Jeffrey Pfau jeffrey@endrift.com
Thu, 11 Apr 2013 01:32:30 -0700
d278429b
Implement BX
Jeffrey Pfau jeffrey@endrift.com
Thu, 11 Apr 2013 00:14:12 -0700
a511df79
Put stub definitions in all of Thumb
Jeffrey Pfau jeffrey@endrift.com
Wed, 10 Apr 2013 23:38:18 -0700
7e5de27f
Add ability to run Thumb code
Jeffrey Pfau jeffrey@endrift.com
Wed, 10 Apr 2013 23:34:50 -0700
9a0d1464
Log stubs
Jeffrey Pfau jeffrey@endrift.com
Wed, 10 Apr 2013 22:52:46 -0700
9a7f0f4a
Stub out BL, finishing Thumb table
Jeffrey Pfau jeffrey@endrift.com
Wed, 10 Apr 2013 21:11:05 -0700
87863ad9
Stub out B
Jeffrey Pfau jeffrey@endrift.com
Wed, 10 Apr 2013 21:09:22 -0700
cbc17ad7
Stub out SWI
Jeffrey Pfau jeffrey@endrift.com
Wed, 10 Apr 2013 21:05:19 -0700
e89f4945
Stub out conditional branches
Jeffrey Pfau jeffrey@endrift.com
Wed, 10 Apr 2013 21:04:41 -0700
d5adcac3
Stub out LDMIA/STMIA
Jeffrey Pfau jeffrey@endrift.com
Wed, 10 Apr 2013 20:58:05 -0700
0db11ec6
Stub out BKPT (not in ARMv4T, but still useful)
Jeffrey Pfau jeffrey@endrift.com
Wed, 10 Apr 2013 20:50:56 -0700
5e78400a
Stub out POP/PUSH
Jeffrey Pfau jeffrey@endrift.com
Wed, 10 Apr 2013 00:00:24 -0700
99d0b76f
Stub out ADD7 and SUB4
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 23:47:37 -0700
08065d86
Stub out ADD from PC and SP
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 23:45:08 -0700
28ecc976
Stub out LDR/STR from SP
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 23:37:28 -0700
e3818cf7
Stub out more load/stores with immediates
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 23:34:25 -0700
39c776eb
Stub out more load/store format 2
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 23:27:37 -0700
5165e013
Put in missing BX
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 23:16:30 -0700
f42c8d11
Stub out STR2
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 23:00:31 -0700
11de611f
Stub out LDR3
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 22:57:24 -0700
5e18eabd
Stub out format 8
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 22:51:21 -0700
be021605
Define data format 5
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 22:35:51 -0700
e577df21
Fix data format 3
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 22:35:38 -0700
d3abd2dc
Minor ROM access optimization
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 22:20:35 -0700
027e27ca
Add data form 3
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 04:20:14 -0700
56c3685b
ADD/SUB 1 stubs
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 03:20:32 -0700
2618c39a
Macro-insanity for Thumb
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 03:15:50 -0700
76dbfce3
Start filling in THUMB table with insane preprocessor tricks
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 02:57:24 -0700
70eb3634
Fix warnings + LDR[B]T/STR[B]T
Jeffrey Pfau jeffrey@endrift.com
Mon, 08 Apr 2013 03:14:18 -0700
9a1fb100
Load/store working RAM
Jeffrey Pfau jeffrey@endrift.com
Mon, 08 Apr 2013 03:13:37 -0700
93a2f160
Loading 8/16 bits from ROM
Jeffrey Pfau jeffrey@endrift.com
Mon, 08 Apr 2013 02:13:40 -0700
67c00f37
Ensure CPSR privilege gets updated in MSR
Jeffrey Pfau jeffrey@endrift.com
Mon, 08 Apr 2013 00:21:28 -0700
37ad6218
Don't double-execute AL instructions
Jeffrey Pfau jeffrey@endrift.com
Mon, 08 Apr 2013 00:17:54 -0700
4f3e77c8
Implement MSR
Jeffrey Pfau jeffrey@endrift.com
Mon, 08 Apr 2013 00:15:16 -0700
4bba75dd
Separate out ISA files
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Apr 2013 21:15:32 -0700
b02fdd3d
Remove inline conditions and add ARM specialization
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Apr 2013 20:37:48 -0700
186068ad
Start filling in ARMBoard
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Apr 2013 13:25:45 -0700
120b8571
Mode switching
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Apr 2013 02:36:41 -0700
bda71caf
ALU instructions can write to PC
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Apr 2013 02:01:14 -0700
6e3a9a95
Fix writing to PC
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Apr 2013 01:57:04 -0700
68f2eed8
Mini-test
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Apr 2013 01:39:49 -0700
9575e7f0
Fix B
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Apr 2013 01:39:08 -0700
0e2394e7
De-inline ARMStep
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Apr 2013 01:46:48 -0700
b23f1ee3
GBA ROM loading
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Apr 2013 01:46:28 -0700
340d3ce6
Implement B
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Apr 2013 20:16:14 -0700
5c7b4a98
Load from ARM table now that we have one
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Apr 2013 20:06:51 -0700
6bd7a5ee
Fill remainder of table
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Apr 2013 20:01:32 -0700
7a0fb72e
Stub out SWI
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Apr 2013 19:58:01 -0700
d620357a
Stub out coprocessor
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Apr 2013 19:52:45 -0700
5dd2379d
Cleanup
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Apr 2013 19:38:14 -0700
f2a1257f
Stub out branch instructions
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Apr 2013 19:22:14 -0700
1858dfeb
Stub out LDM/STM
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Apr 2013 18:41:36 -0700
7b82cc00
Fill in LDR/STR block
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Apr 2013 13:05:53 -0700
befba57f
Simple error checking
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Apr 2013 04:34:19 -0700
9efc945f
Add store callbacks
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Apr 2013 04:20:44 -0700
96da9c7e
Partially implement LDR/STR and friends
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Apr 2013 04:16:27 -0700
92e74a78
Apparently I can't count to 8
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Apr 2013 02:49:54 -0700
cb2469c4
Filler for more instructions
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Apr 2013 00:32:01 -0700
a01fc986
Begin GBA structure
Jeffrey Pfau jeffrey@endrift.com
Fri, 05 Apr 2013 02:17:22 -0700
cd07dee7
Implement immediate shifter
Jeffrey Pfau jeffrey@endrift.com
Fri, 05 Apr 2013 00:43:47 -0700
c07df4a3
Fill in immediates
Jeffrey Pfau jeffrey@endrift.com
Thu, 04 Apr 2013 03:12:22 -0700
63f6f53a
Implement BIC, MOV, MVN, ORR
Jeffrey Pfau jeffrey@endrift.com
Thu, 04 Apr 2013 02:42:17 -0700
dbee1e87
Add stubs, including for illegal instructions
Jeffrey Pfau jeffrey@endrift.com
Thu, 04 Apr 2013 02:36:53 -0700
e0939603
Fill in more opcodes, implement CMN, CMP, TEQ, TST
Jeffrey Pfau jeffrey@endrift.com
Thu, 04 Apr 2013 02:31:32 -0700
fd4ee12e
Implement ADD, ADC, RSB, RSC, SUB
Jeffrey Pfau jeffrey@endrift.com
Thu, 04 Apr 2013 02:04:51 -0700
c1a8042d
Fill in more opcodes, implement EOR
Jeffrey Pfau jeffrey@endrift.com
Thu, 04 Apr 2013 01:27:51 -0700
4025bf89
Add boilerplate for instructions
Jeffrey Pfau jeffrey@endrift.com
Thu, 04 Apr 2013 00:46:50 -0700
bf725327
Add more framework for loading instructions
Jeffrey Pfau jeffrey@endrift.com
Wed, 03 Apr 2013 22:34:49 -0700
009bef87
Initial commit
Jeffrey Pfau jeffrey@endrift.com
Wed, 03 Apr 2013 22:12:15 -0700