all repos — mgba @ 26c1fbd48f574c700ae993eda7de8f37e08c1174

mGBA Game Boy Advance Emulator

26c1fbd4
Add frame advance
Jeffrey Pfau jeffrey@endrift.com
Mon, 20 Jan 2014 16:39:46 -0800
e7d4f3ae
Fix MSR with immediate
Jeffrey Pfau jeffrey@endrift.com
Mon, 20 Jan 2014 15:40:56 -0800
12f4ff6c
Fix ARM_ROR
Jeffrey Pfau jeffrey@endrift.com
Mon, 20 Jan 2014 15:40:44 -0800
2db6d274
Implement SWP, SWPB
Jeffrey Pfau jeffrey@endrift.com
Mon, 20 Jan 2014 15:19:52 -0800
fede2118
Remove checks for ARM writeback operations that fail on real hardware
Jeffrey Pfau jeffrey@endrift.com
Mon, 20 Jan 2014 15:10:41 -0800
35a5e834
Unified DISPSTAT representation
Jeffrey Pfau jeffrey@endrift.com
Mon, 20 Jan 2014 14:18:24 -0800
5a1a04a3
Add basic IO and video serialization
Jeffrey Pfau jeffrey@endrift.com
Mon, 20 Jan 2014 03:05:54 -0800
9f28b1ec
Add missing version magic
Jeffrey Pfau jeffrey@endrift.com
Mon, 20 Jan 2014 03:05:31 -0800
a5d8be30
Don't block any signals on the run thread
Jeffrey Pfau jeffrey@endrift.com
Mon, 20 Jan 2014 02:33:40 -0800
1f8c1bcd
Fix signal handling for debugger
Jeffrey Pfau jeffrey@endrift.com
Sun, 19 Jan 2014 23:42:34 -0800
4e98546c
Add missing header guard
Jeffrey Pfau jeffrey@endrift.com
Sun, 19 Jan 2014 03:38:18 -0800
daf12994
Start savestates
Jeffrey Pfau jeffrey@endrift.com
Sun, 19 Jan 2014 01:59:35 -0800
f2b03146
Fix non-debugger build
Jeffrey Pfau jeffrey@endrift.com
Sun, 19 Jan 2014 01:24:29 -0800
7b682dd7
Break into debugger with F11
Jeffrey Pfau jeffrey@endrift.com
Sun, 19 Jan 2014 00:37:53 -0800
fbf8edf1
Create savestate format
Jeffrey Pfau jeffrey@endrift.com
Sun, 19 Jan 2014 00:32:49 -0800
a969d70d
Handle illegal and stub opcodes separately
Jeffrey Pfau jeffrey@endrift.com
Sat, 18 Jan 2014 00:39:51 -0800
ce4d0b52
Checksum BIOS
Jeffrey Pfau jeffrey@endrift.com
Sat, 18 Jan 2014 00:17:58 -0800
94cc48fa
Account for floating point error in resampling
Jeffrey Pfau jeffrey@endrift.com
Thu, 16 Jan 2014 02:12:35 -0800
4e88cc86
Have circle buffer work when memory is misaligned
Jeffrey Pfau jeffrey@endrift.com
Thu, 16 Jan 2014 01:56:17 -0800
39025ded
Ensure that video buffers are flushed to the GPU before unlocking the mutex
Jeffrey Pfau jeffrey@endrift.com
Thu, 16 Jan 2014 01:05:32 -0800
e141db94
Build fix on OS X for perf util
Jeffrey Pfau jeffrey@endrift.com
Thu, 16 Jan 2014 00:32:51 -0800
48e89fb5
Fix buffer size in SDL audio
Jeffrey Pfau jeffrey@endrift.com
Thu, 16 Jan 2014 00:27:15 -0800
57589646
Unlock mutex before swapping buffers
Jeffrey Pfau jeffrey@endrift.com
Thu, 16 Jan 2014 00:26:59 -0800
3837213f
Support Win32 threads on Vista and higher
Jeffrey Pfau jeffrey@endrift.com
Wed, 15 Jan 2014 23:46:47 -0800
85d30ac2
Build fix for MinGW
Jeffrey Pfau jeffrey@endrift.com
Wed, 15 Jan 2014 21:49:08 -0800
2b558a5a
Rearchitect audio copying to make it cleaner and more atomic
Jeffrey Pfau jeffrey@endrift.com
Wed, 15 Jan 2014 03:43:56 -0800
b8167f55
Create Windows and POSIX platform directories
Jeffrey Pfau jeffrey@endrift.com
Wed, 15 Jan 2014 01:28:30 -0800
270c1a35
Fix mappedMemoryFree on *nix
Jeffrey Pfau jeffrey@endrift.com
Wed, 15 Jan 2014 00:34:45 -0800
dd1f1bc7
Initial support for Windows
Jeffrey Pfau jeffrey@endrift.com
Wed, 15 Jan 2014 00:24:06 -0800
003db601
Fix _mix for 16-bit color
Jeffrey Pfau jeffrey@endrift.com
Sat, 16 Nov 2013 08:53:47 -0800
d53b1c78
Mirror SRAM across 0x0F000000
Jeffrey Pfau jeffrey@endrift.com
Sat, 23 Nov 2013 16:22:26 -0800
bc03872a
Add FireRed/LeafGreen to the override list
Jeffrey Pfau jeffrey@endrift.com
Mon, 18 Nov 2013 00:34:54 -0800
e6eea946
Revert "Move halting code out from below the ARM emulator"

This reverts commit 3b74b61862da06b71d6cb256754f48feec409f7f.
Jeffrey Pfau jeffrey@endrift.com
Thu, 14 Nov 2013 23:16:34 -0800
0bc5c4a6
Fix color blending in 16-bit 5-5-5 mode
Jeffrey Pfau jeffrey@endrift.com
Thu, 14 Nov 2013 23:09:13 -0800
55c61031
Remove "finalized" flag in favor of stricter sorting
Jeffrey Pfau jeffrey@endrift.com
Wed, 13 Nov 2013 01:20:38 -0800
a2a306bb
Significantly optimize 16-bit color mixing
Jeffrey Pfau jeffrey@endrift.com
Thu, 14 Nov 2013 00:19:18 -0800
620adbd5
Remove extra free in SDL code
Jeffrey Pfau jeffrey@endrift.com
Mon, 11 Nov 2013 19:40:37 -0800
f8d58422
Implement mosaic for mode 0 with 256-color tiles
Jeffrey Pfau jeffrey@endrift.com
Sun, 10 Nov 2013 23:09:50 -0800
c2658ce7
Initialize mosaic to 0
Jeffrey Pfau jeffrey@endrift.com
Sun, 10 Nov 2013 22:53:12 -0800
7d526e97
Support narrow windows
Jeffrey Pfau jeffrey@endrift.com
Sun, 10 Nov 2013 22:43:57 -0800
53dd260b
Fast 32-to-16-bit memory conversion routine on ARM
Jeffrey Pfau jeffrey@endrift.com
Thu, 07 Nov 2013 23:53:16 -0800
95b6cc9b
Initialize halted
Jeffrey Pfau jeffrey@endrift.com
Sat, 09 Nov 2013 13:29:08 -0800
f43c82e7
Preprocess instead of post-process 5-6-5 color
Jeffrey Pfau jeffrey@endrift.com
Thu, 07 Nov 2013 02:57:09 -0800
f09e4406
Use gettimeofday for perf-main instead of clock_gettime
Jeffrey Pfau jeffrey@endrift.com
Wed, 06 Nov 2013 22:20:29 -0800
2a683aaf
Preselect palettes for sprites
Jeffrey Pfau jeffrey@endrift.com
Tue, 05 Nov 2013 23:17:03 -0800
fd6e9cb3
Use unsigned instead of uint16_t in sprite drawing
Jeffrey Pfau jeffrey@endrift.com
Tue, 05 Nov 2013 23:13:37 -0800
e3dac089
Small refactor of _composite
Jeffrey Pfau jeffrey@endrift.com
Tue, 05 Nov 2013 21:57:24 -0800
818ce96d
Fix mixing colors on 16-bit
Jeffrey Pfau jeffrey@endrift.com
Tue, 05 Nov 2013 04:13:49 -0800
9253eeba
Optimize range check in mode 2 rendering
Jeffrey Pfau jeffrey@endrift.com
Tue, 05 Nov 2013 01:21:13 -0800
53515b41
Fix warnings in CircleBuffer
Jeffrey Pfau jeffrey@endrift.com
Tue, 05 Nov 2013 00:44:11 -0800
2c826e20
Optimize palette access
Jeffrey Pfau jeffrey@endrift.com
Mon, 04 Nov 2013 22:43:20 -0800
7d688ceb
Use unsigned instead of color_t where size is irrelevant
Jeffrey Pfau jeffrey@endrift.com
Mon, 04 Nov 2013 21:25:08 -0800
3005c6c9
Add per-second perf updating
Jeffrey Pfau jeffrey@endrift.com
Mon, 04 Nov 2013 21:07:41 -0800
3b74b618
Move halting code out from below the ARM emulator
Jeffrey Pfau jeffrey@endrift.com
Sun, 03 Nov 2013 23:25:57 -0800
66ee9851
Pass pointers instead of offsets to composite
Jeffrey Pfau jeffrey@endrift.com
Sun, 03 Nov 2013 00:54:02 -0700
32e0591f
Early finalization if possible
Jeffrey Pfau jeffrey@endrift.com
Sat, 02 Nov 2013 22:11:36 -0700
53a52d8c
Call setActiveRegion with the right address
Jeffrey Pfau jeffrey@endrift.com
Sat, 02 Nov 2013 03:56:13 -0700
e0eefa24
Hack to guess when blending should be disabled
Jeffrey Pfau jeffrey@endrift.com
Fri, 01 Nov 2013 23:39:26 -0700
a87d30ed
Fix channel 1 - 4 volume
Jeffrey Pfau jeffrey@endrift.com
Tue, 29 Oct 2013 21:12:26 -0700
9fd181db
Fix potential issues with sound playing when they shouldn't, or with the wrong volume
Jeffrey Pfau jeffrey@endrift.com
Tue, 29 Oct 2013 02:19:58 -0700
8902635e
Fix bugs in OBJ mosaic
Jeffrey Pfau jeffrey@endrift.com
Sun, 27 Oct 2013 21:58:37 -0700
09888a88
Add performance-monitoring main thread
Jeffrey Pfau jeffrey@endrift.com
Sun, 27 Oct 2013 05:15:42 -0700
f5a3fd7c
Rearrange _composite to optimize for common cases first
Jeffrey Pfau jeffrey@endrift.com
Sat, 26 Oct 2013 16:43:11 -0700
6e40c7ec
Replace bit-packed map data with flags
Jeffrey Pfau jeffrey@endrift.com
Fri, 25 Oct 2013 23:33:22 -0700
7cb183a8
Only update active region if necessary
Jeffrey Pfau jeffrey@endrift.com
Sun, 27 Oct 2013 03:44:38 -0700
775f9db5
Begin OBJ mosaic
Jeffrey Pfau jeffrey@endrift.com
Sun, 27 Oct 2013 03:12:55 -0700
3b0ee473
Refactor sprite code in preparation of implementing OBJ mosaic
Jeffrey Pfau jeffrey@endrift.com
Sun, 27 Oct 2013 02:39:14 -0700
72ef1643
Rotate 16-bit without using AND
Jeffrey Pfau jeffrey@endrift.com
Sat, 26 Oct 2013 16:40:31 -0700
0155d9c0
Remove SPRITE_DRAW_PIXEL_*_VARIANT
Jeffrey Pfau jeffrey@endrift.com
Sat, 26 Oct 2013 14:56:35 -0700
ffef3d24
Preemptively mark the envelope as dead in some cases
Jeffrey Pfau jeffrey@endrift.com
Sat, 26 Oct 2013 04:23:08 -0700
70365782
Reorganize audio code so as to only update channels when audible
Jeffrey Pfau jeffrey@endrift.com
Sat, 26 Oct 2013 04:08:18 -0700
cd448324
Fixed the first load from SRAM not returning a value
Jeffrey Pfau jeffrey@endrift.com
Sat, 26 Oct 2013 03:04:21 -0700
9c922862
Fix mode 3 in 16-bit color
Jeffrey Pfau jeffrey@endrift.com
Sat, 26 Oct 2013 02:39:45 -0700
7f17be5e
Support WIN0/1 in modes 2 - 5
Jeffrey Pfau jeffrey@endrift.com
Sat, 26 Oct 2013 02:33:29 -0700
6376a1ff
Support OBJWIN in mode 4
Jeffrey Pfau jeffrey@endrift.com
Sat, 26 Oct 2013 02:26:08 -0700
38116f0e
Rearrange calculation to shave off some more time
Jeffrey Pfau jeffrey@endrift.com
Sat, 26 Oct 2013 01:30:31 -0700
71b54735
Fix white on 5-6-5 color
Jeffrey Pfau jeffrey@endrift.com
Sat, 26 Oct 2013 01:32:27 -0700
915b04dd
Add support for PowerPC to the memory and CPU interfaces
Jeffrey Pfau jeffrey@endrift.com
Sat, 26 Oct 2013 01:53:13 -0400
07115ca6
Ensure thread-local storage is created before it is needed
Jeffrey Pfau jeffrey@endrift.com
Fri, 25 Oct 2013 03:15:31 -0700
d5291eb1
Remove unnecessary sprite post-processing passes
Jeffrey Pfau jeffrey@endrift.com
Fri, 25 Oct 2013 00:27:42 -0700
c12eca83
Don't busy-wait if the emulator is paused
Jeffrey Pfau jeffrey@endrift.com
Thu, 24 Oct 2013 01:09:01 -0700
17ccb35c
Small, trivial optimizations in GBAVideoSoftwareRendererDrawScanline
Jeffrey Pfau jeffrey@endrift.com
Thu, 24 Oct 2013 00:54:51 -0700
6eafbc63
Tear out counter-productive optimization
Jeffrey Pfau jeffrey@endrift.com
Thu, 24 Oct 2013 00:21:59 -0700
4b9e9f84
Start implementing mosaic with a half-baked mode 0 implementation
Jeffrey Pfau jeffrey@endrift.com
Wed, 23 Oct 2013 01:17:53 -0700
9358cbd6
Initialize rumble callback to null
Jeffrey Pfau jeffrey@endrift.com
Tue, 22 Oct 2013 00:26:09 -0700
709434ce
Add Drill Dozer to the override list
Jeffrey Pfau jeffrey@endrift.com
Tue, 22 Oct 2013 00:18:56 -0700
e74b0125
Expose rumble
Jeffrey Pfau jeffrey@endrift.com
Mon, 21 Oct 2013 21:50:29 -0700
2fde9738
Add more overrides
Jeffrey Pfau jeffrey@endrift.com
Mon, 21 Oct 2013 21:42:28 -0700
0458184a
Implement gyro
Jeffrey Pfau jeffrey@endrift.com
Mon, 21 Oct 2013 02:54:52 -0700
c77ed8c1
Only reset save type manually for flash
Jeffrey Pfau jeffrey@endrift.com
Mon, 21 Oct 2013 01:28:41 -0700
fcaa0eb0
Implement RTC
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Oct 2013 21:39:47 -0700
7e5eada6
Mark more registers as safe to read
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Oct 2013 18:14:04 -0700
ddc1034d
Start GPIO
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Oct 2013 18:08:18 -0700
228b6aaa
Remove obsolete errno interface
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Oct 2013 16:48:29 -0700
44294350
Implement sound length
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Oct 2013 16:33:37 -0700
d6e466dd
Fix pitch of channel 3
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Oct 2013 16:04:22 -0700
76266a4e
Move mode 0 loops out of macros
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Oct 2013 12:36:57 -0700
76f02be7
Ability to disable sound
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Oct 2013 02:18:09 -0700
ca80e5f3
Add l/r channel scaling
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Oct 2013 01:58:52 -0700
cc8eeb43
Start audio channel 3
Jeffrey Pfau jeffrey@endrift.com
Sat, 19 Oct 2013 03:04:45 -0700
cfb0115c
Commit unreadable sound memory for the sake of bitewise assignment
Jeffrey Pfau jeffrey@endrift.com
Sat, 19 Oct 2013 00:49:20 -0700
4a0a4626
Clean up channel 1
Jeffrey Pfau jeffrey@endrift.com
Sat, 19 Oct 2013 00:48:57 -0700
003a537d
Implement most of channels 1 and 2
Jeffrey Pfau jeffrey@endrift.com
Fri, 18 Oct 2013 23:12:14 -0700
79d483d0
Fix audio loudness issues
Jeffrey Pfau jeffrey@endrift.com
Fri, 18 Oct 2013 19:44:55 -0700
04f99bd3
Prescale audio
Jeffrey Pfau jeffrey@endrift.com
Fri, 18 Oct 2013 09:41:13 -0700
565ee43b
Fix video cycle timing to match audio timing fix
Jeffrey Pfau jeffrey@endrift.com
Fri, 18 Oct 2013 09:41:01 -0700
093c86c9
Add channel 4 envelope, fix audio timing
Jeffrey Pfau jeffrey@endrift.com
Fri, 18 Oct 2013 09:33:07 -0700
a55b4dc8
Fix valgrind-found uninitialized values
Jeffrey Pfau jeffrey@endrift.com
Fri, 18 Oct 2013 08:42:15 -0700
3acabb01
Conglomerate save data initialization to ensure the struct is always initialized
Jeffrey Pfau jeffrey@endrift.com
Fri, 18 Oct 2013 08:36:05 -0700
d99bf7fd
Rename GBAAudioWave to GBAAudioEnvelope, add fields for internal state
Jeffrey Pfau jeffrey@endrift.com
Fri, 18 Oct 2013 08:10:10 -0700
7393351e
Start implementing channel 4
Jeffrey Pfau jeffrey@endrift.com
Fri, 18 Oct 2013 01:21:44 -0700
eac9dfb3
Start filling in audio framework
Jeffrey Pfau jeffrey@endrift.com
Thu, 17 Oct 2013 23:41:11 -0700
ea41ef7a
Fix main thread stalling when starting a game
Jeffrey Pfau jeffrey@endrift.com
Thu, 17 Oct 2013 23:10:16 -0700
62d941a9
Plumb through filename for checking overrides
Jeffrey Pfau jeffrey@endrift.com
Thu, 17 Oct 2013 01:07:08 -0700
451c16f4
Fix overwriting DISPSTAT with fixed values for the lower bits
Jeffrey Pfau jeffrey@endrift.com
Wed, 16 Oct 2013 22:23:32 -0700
3edb2da5
Make platform directory for ports
Jeffrey Pfau jeffrey@endrift.com
Wed, 16 Oct 2013 01:35:49 -0700
a1fb9063
Functions for explicitly pausing and unpausing
Jeffrey Pfau jeffrey@endrift.com
Wed, 16 Oct 2013 00:52:52 -0700
a107243c
Support pausing
Jeffrey Pfau jeffrey@endrift.com
Wed, 16 Oct 2013 00:46:09 -0700
8e43ffed
Adjust scaling/rotation state for backgrounds regardless of if they were actually drawn
Jeffrey Pfau jeffrey@endrift.com
Tue, 15 Oct 2013 22:58:47 -0700
f4a1e994
Mark BG*CNT registers as safe to read
Jeffrey Pfau jeffrey@endrift.com
Tue, 15 Oct 2013 21:55:28 -0700
0120ea93
Sprites shouldn't be blended if the current window has blending disabled
Jeffrey Pfau jeffrey@endrift.com
Tue, 15 Oct 2013 21:44:47 -0700
ce33adf5
Don't wait on frame swap when we aren't doing frame synchronization in the first place
Jeffrey Pfau jeffrey@endrift.com
Tue, 15 Oct 2013 02:34:37 -0700
1b5dd352
Sprites can only be color variants when they aren't forced semitransparent
Jeffrey Pfau jeffrey@endrift.com
Tue, 15 Oct 2013 02:09:23 -0700
1b54f50d
Allow sprites to be ordered by priority in addition to OAM order
Jeffrey Pfau jeffrey@endrift.com
Tue, 15 Oct 2013 01:45:49 -0700
ee344f0d
Optimize and fix IntrWait, make sure that SVC doesn't trample its input register r0
Jeffrey Pfau jeffrey@endrift.com
Tue, 15 Oct 2013 00:50:07 -0700
f90b01b9
Fix setting privilege mode when entering SVC
Jeffrey Pfau jeffrey@endrift.com
Mon, 14 Oct 2013 22:32:52 -0700
9430040c
Check for some invalid memory regions before performing BIOS decompression routines
Jeffrey Pfau jeffrey@endrift.com
Sun, 13 Oct 2013 20:12:30 -0700
67007ee0
Fix 8-bit VRAM writes
Jeffrey Pfau jeffrey@endrift.com
Sun, 13 Oct 2013 15:23:39 -0700
ee44e2ac
Add Super Mario Bros. Advance 4 to the override list
Jeffrey Pfau jeffrey@endrift.com
Sun, 13 Oct 2013 15:06:32 -0700
18768740
Fix EEPROM initialization
Jeffrey Pfau jeffrey@endrift.com
Sun, 13 Oct 2013 12:14:32 -0700
a20117ec
Fix Huffman destinations
Jeffrey Pfau jeffrey@endrift.com
Sun, 13 Oct 2013 12:14:16 -0700
9d08997f
Fix Huffman with tree sizes >127
Jeffrey Pfau jeffrey@endrift.com
Sun, 13 Oct 2013 03:25:46 -0700
3ca0a97c
Prepopulate RCNT
Jeffrey Pfau jeffrey@endrift.com
Sat, 12 Oct 2013 16:37:10 -0700
d8778cf5
Implement Huffman
Jeffrey Pfau jeffrey@endrift.com
Sat, 12 Oct 2013 13:32:23 -0700
973abb7b
Uncomment audio initialization line
Jeffrey Pfau jeffrey@endrift.com
Sat, 12 Oct 2013 02:29:24 -0700
51ec1c10
Bring SDL main to parity with GL main
Jeffrey Pfau jeffrey@endrift.com
Sat, 12 Oct 2013 02:13:26 -0700
cf298474
Use 5_6_5 with SDL
Jeffrey Pfau jeffrey@endrift.com
Sat, 12 Oct 2013 02:11:57 -0700
25cc40f3
Bring Raspberry Pi main to parity with GL main
Jeffrey Pfau jeffrey@endrift.com
Sat, 12 Oct 2013 01:18:34 -0700
5caffd1f
Remove reference to removed file
Jeffrey Pfau jeffrey@endrift.com
Sat, 12 Oct 2013 00:39:03 -0700
290b64b1
Compile-time flag for disabling debugger
Jeffrey Pfau jeffrey@endrift.com
Sat, 12 Oct 2013 00:13:11 -0700
b3dc0651
Read DISPCNT, fix video register writing
Jeffrey Pfau jeffrey@endrift.com
Fri, 11 Oct 2013 22:04:41 -0700
de39f23a
Add ROM override checking, seed with BPEE
Jeffrey Pfau jeffrey@endrift.com
Fri, 11 Oct 2013 22:03:27 -0700
58611fac
Fix OBJWIN blending modifications on BG modes 0 - 2
Jeffrey Pfau jeffrey@endrift.com
Fri, 11 Oct 2013 00:43:01 -0700
cff77a3a
Remove extraneous macros by adding a palette variable
Jeffrey Pfau jeffrey@endrift.com
Thu, 10 Oct 2013 23:33:22 -0700
e789b324
Refactor BREAK_WINDOW into _breakWindow, fix bug cleaning up extra windows
Jeffrey Pfau jeffrey@endrift.com
Thu, 10 Oct 2013 01:40:49 -0700
2ef64ede
Basic tab-completion
Jeffrey Pfau jeffrey@endrift.com
Thu, 10 Oct 2013 01:05:25 -0700
01d85692
Remove reliance on linenoise
Jeffrey Pfau jeffrey@endrift.com
Wed, 09 Oct 2013 21:52:56 -0700
c19d1117
Add timings to CpuSet and CpuFastSet
Jeffrey Pfau jeffrey@endrift.com
Wed, 09 Oct 2013 01:57:53 -0700
09a0f95e
Actually use GBATestIRQ
Jeffrey Pfau jeffrey@endrift.com
Wed, 09 Oct 2013 01:56:59 -0700
6906df95
VCOUNT is not properly reset on wrap
Jeffrey Pfau jeffrey@endrift.com
Wed, 09 Oct 2013 01:09:09 -0700
c3a7d872
Add missing variable
Jeffrey Pfau jeffrey@endrift.com
Wed, 09 Oct 2013 00:44:44 -0700
96985317
Clean up thread starting, stopping and sound
Jeffrey Pfau jeffrey@endrift.com
Wed, 09 Oct 2013 00:44:31 -0700
2f9bcf63
Clean up audio sync code
Jeffrey Pfau jeffrey@endrift.com
Tue, 08 Oct 2013 22:36:55 -0700
84ad94b8
Support loading BIOS
Jeffrey Pfau jeffrey@endrift.com
Tue, 08 Oct 2013 22:36:19 -0700
68d85ab9
Implement VRAM load/store8
Jeffrey Pfau jeffrey@endrift.com
Tue, 08 Oct 2013 21:43:43 -0700
3e3bb58a
Minor timing fixes
Jeffrey Pfau jeffrey@endrift.com
Tue, 08 Oct 2013 02:10:40 -0700
40a0a0eb
Fix reading 32-bit unaligned IO registers
Jeffrey Pfau jeffrey@endrift.com
Sun, 06 Oct 2013 12:28:48 -0700
45501658
Sync to audio by default
Jeffrey Pfau jeffrey@endrift.com
Sat, 05 Oct 2013 02:52:57 -0700
4ef6a707
Refactor frame synchronization
Jeffrey Pfau jeffrey@endrift.com
Sat, 05 Oct 2013 02:11:53 -0700
2f00e3d1
Don't trample audio buffer
Jeffrey Pfau jeffrey@endrift.com
Thu, 03 Oct 2013 12:08:52 -0700
4a09d41a
Fix circle buffers
Jeffrey Pfau jeffrey@endrift.com
Thu, 03 Oct 2013 01:25:51 -0700
0dd69e82
Fix incorrect condition in FIFO sampling
Jeffrey Pfau jeffrey@endrift.com
Thu, 03 Oct 2013 01:23:16 -0700
da380276
Add missing changes
Jeffrey Pfau jeffrey@endrift.com
Wed, 02 Oct 2013 02:45:41 -0700
ba0596da
Hook up audio for DMA sound channels
Jeffrey Pfau jeffrey@endrift.com
Wed, 02 Oct 2013 02:40:16 -0700
a834f8b1
Sample FIFOs with sound DMA timer
Jeffrey Pfau jeffrey@endrift.com
Wed, 02 Oct 2013 00:46:51 -0700
71ec6162
Fix circle buffer sizing
Jeffrey Pfau jeffrey@endrift.com
Wed, 02 Oct 2013 00:46:19 -0700
09b4a4a2
Build up DMA channel audio infrastructure from GBA.js
Jeffrey Pfau jeffrey@endrift.com
Tue, 01 Oct 2013 23:56:10 -0700
9bf6b571
Fix naming
Jeffrey Pfau jeffrey@endrift.com
Mon, 30 Sep 2013 02:02:26 -0700
f5bcb1ea
Change log level to mask
Jeffrey Pfau jeffrey@endrift.com
Mon, 30 Sep 2013 01:48:41 -0700
aaaafb90
Add ability to get thread-specific GBA
Jeffrey Pfau jeffrey@endrift.com
Mon, 30 Sep 2013 01:42:31 -0700
be36c1b5
Clean up error handling a bit
Jeffrey Pfau jeffrey@endrift.com
Mon, 30 Sep 2013 01:31:14 -0700
3439fa5b
Start audio
Jeffrey Pfau jeffrey@endrift.com
Mon, 30 Sep 2013 01:23:58 -0700
25885e1e
Invalid memory reads
Jeffrey Pfau jeffrey@endrift.com
Fri, 27 Sep 2013 23:48:56 -0700
453fdac3
Fix ArcTan2
Jeffrey Pfau jeffrey@endrift.com
Fri, 27 Sep 2013 09:47:30 -0700
f8341f2d
Rotate 16-bit unaligned loads
Jeffrey Pfau jeffrey@endrift.com
Fri, 27 Sep 2013 02:07:44 -0700
f6e1e6e6
Fix OBJWIN for backgrounds
Jeffrey Pfau jeffrey@endrift.com
Thu, 26 Sep 2013 17:12:46 -0700
07d3fbac
Support 16-bit color again
Jeffrey Pfau jeffrey@endrift.com
Thu, 26 Sep 2013 15:11:09 -0700
187e099f
Fix sorting in _composite
Jeffrey Pfau jeffrey@endrift.com
Thu, 26 Sep 2013 10:35:26 -0700
a7182b8d
Add watchpoints
Jeffrey Pfau jeffrey@endrift.com
Thu, 26 Sep 2013 00:26:11 -0700
99769695
Fix ADCS C bit
Jeffrey Pfau jeffrey@endrift.com
Thu, 26 Sep 2013 00:25:48 -0700
662feed3
Always go through pointers for load and store
Jeffrey Pfau jeffrey@endrift.com
Wed, 25 Sep 2013 22:11:58 -0700
fcdbbf2a
Fix bank switch detection
Jeffrey Pfau jeffrey@endrift.com
Wed, 25 Sep 2013 04:48:27 -0700
13a2289e
Fix ADCS
Jeffrey Pfau jeffrey@endrift.com
Wed, 25 Sep 2013 00:27:40 -0700
a0505ee7
Pepper memory access functions with warnings
Jeffrey Pfau jeffrey@endrift.com
Tue, 24 Sep 2013 23:10:51 -0700
1a3f28d2
Start implementing OBJWIN
Jeffrey Pfau jeffrey@endrift.com
Tue, 24 Sep 2013 22:58:53 -0700
cec9e67d
Support flash game saves
Jeffrey Pfau jeffrey@endrift.com
Mon, 23 Sep 2013 23:04:15 -0700
abc89982
Windows on backdrop and blending with backdrop
Jeffrey Pfau jeffrey@endrift.com
Mon, 23 Sep 2013 20:39:28 -0700
8132341b
Support reading 8-bit values from palette RAM
Jeffrey Pfau jeffrey@endrift.com
Sun, 22 Sep 2013 16:45:36 -0700
34ddb095
Plumb through filename for proper saves
Jeffrey Pfau jeffrey@endrift.com
Sun, 22 Sep 2013 16:45:19 -0700
388dbc08
Fix window values where start >= max being broken
Jeffrey Pfau jeffrey@endrift.com
Sun, 22 Sep 2013 15:14:14 -0700
2a6e7db6
Make GBALog actually use its log levels
Jeffrey Pfau jeffrey@endrift.com
Sun, 22 Sep 2013 15:01:23 -0700
7978a571
Make binary name a setting
Jeffrey Pfau jeffrey@endrift.com
Sun, 22 Sep 2013 12:05:31 -0700
e7622ed7
Fix tiles being shifted when adjusting outX
Jeffrey Pfau jeffrey@endrift.com
Sun, 22 Sep 2013 11:15:52 -0700
ddf07838
Fix buffer underrun in mode 0 rendering
Jeffrey Pfau jeffrey@endrift.com
Sun, 22 Sep 2013 03:59:33 -0700
2ce017b5
Fix WIN0H writing with overlapping values
Jeffrey Pfau jeffrey@endrift.com
Sun, 22 Sep 2013 03:00:43 -0700
4523777b
Fix initializing savegames when writing to disk fails
Jeffrey Pfau jeffrey@endrift.com
Sun, 22 Sep 2013 02:13:03 -0700
e80ab4c8
Make debugger optional
Jeffrey Pfau jeffrey@endrift.com
Sat, 21 Sep 2013 18:10:13 -0700
9d10ca3f
Move out int declarations for stricter parsers
Jeffrey Pfau jeffrey@endrift.com
Sat, 21 Sep 2013 01:27:16 -0700
85e1c2d5
Exploit cache locality for slightly faster drawing
Jeffrey Pfau jeffrey@endrift.com
Sat, 03 Aug 2013 01:15:08 -0700
6b86cdf9
LDM should force-align loads
Jeffrey Pfau jeffrey@endrift.com
Wed, 31 Jul 2013 01:58:40 -0700
3301cc9f
Reuse code for splitting WIN0 for WIN1
Jeffrey Pfau jeffrey@endrift.com
Wed, 31 Jul 2013 00:48:57 -0700
d2f15f4a
Window bounds enforced
Jeffrey Pfau jeffrey@endrift.com
Wed, 31 Jul 2013 00:48:34 -0700
0939d5e2
Fix WIN0 cases
Jeffrey Pfau jeffrey@endrift.com
Wed, 31 Jul 2013 00:24:21 -0700
5a685558
Window respects y coordinate now
Jeffrey Pfau jeffrey@endrift.com
Tue, 30 Jul 2013 21:39:25 -0700
453939fc
Sloppy first implementation of windows
Jeffrey Pfau jeffrey@endrift.com
Mon, 29 Jul 2013 03:33:22 -0700
7291fcfe
Start windows
Jeffrey Pfau jeffrey@endrift.com
Mon, 29 Jul 2013 01:46:09 -0700
27f5468e
Writing for Window registers
Jeffrey Pfau jeffrey@endrift.com
Mon, 29 Jul 2013 01:30:27 -0700
3f122dcf
Fix 8-bit I/O writes
Jeffrey Pfau jeffrey@endrift.com
Mon, 29 Jul 2013 01:30:06 -0700
15aa862d
Small optimization for sprite drawing
Jeffrey Pfau jeffrey@endrift.com
Mon, 29 Jul 2013 00:44:38 -0700
425056ca
Ensure LDM does not write back incorrectly with register list overlaps
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Jul 2013 03:02:52 -0700
9e578da5
Do register writeback in addressing mode 2 before actual load/store
Jeffrey Pfau jeffrey@endrift.com
Fri, 26 Jul 2013 23:42:45 -0700
8b1eb01a
Fix MUL, UMULL, UMLAL
Jeffrey Pfau jeffrey@endrift.com
Fri, 26 Jul 2013 01:03:34 -0700
6321b1f8
Fix ARM_CARRY_FROM
Jeffrey Pfau jeffrey@endrift.com
Fri, 26 Jul 2013 00:50:20 -0700
76cd7129
Fix modes 4 and 5
Jeffrey Pfau jeffrey@endrift.com
Fri, 26 Jul 2013 00:10:33 -0700
35370998
Fix sprites 64+ not drawing
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Jul 2013 21:10:12 -0700
774b7d75
Fix broken bitmap
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Jul 2013 19:04:24 -0700
6829b542
Bitmap of enabled sprites
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Jul 2013 18:58:32 -0700
edecf6c1
Minor optimization to backgroud mode 0
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Jul 2013 18:56:45 -0700
8dc3fa9b
Use software renderer for EGL, just use it for uploading the texture
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Jul 2013 05:15:02 -0700
da7853bd
Mode 5
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Jul 2013 01:46:40 -0700
15a2e43b
Fix read/write 0x0400020A
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Jul 2013 01:40:17 -0700
02cb9c56
Reuse bitmap mode background code
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Jul 2013 01:38:13 -0700
90ddf937
Implement modes 3 and 4
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Jul 2013 21:51:14 -0700
1e4a82ef
Update GBA BIOS from GBA.js
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Jul 2013 02:14:22 -0700
6a1afbda
8-bit write to IO
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Jul 2013 02:13:49 -0700
8215afce
Decouple GLSL and GL mains
Jeffrey Pfau jeffrey@endrift.com
Wed, 17 Jul 2013 23:31:19 -0700
49de0fb5
Different mains for SDL and EGL, supporting Raspberry Pi and BeagleBone Black
Jeffrey Pfau jeffrey@endrift.com
Wed, 29 May 2013 21:18:25 -0700
f8b0acd8
Fix tile mapping for 256-color sprites
Jeffrey Pfau jeffrey@endrift.com
Mon, 13 May 2013 02:47:11 -0700
c20efb42
Clean up thread locking in the software renderer
Jeffrey Pfau jeffrey@endrift.com
Sat, 11 May 2013 21:07:10 -0700
63b72657
Fix transformed sprites that are off the top of the screen
Jeffrey Pfau jeffrey@endrift.com
Sat, 11 May 2013 18:36:35 -0700
f7ddc3a2
Implement RLUnCompWram/RLUnCompVram
Jeffrey Pfau jeffrey@endrift.com
Sat, 11 May 2013 18:22:23 -0700
a6d87bbf
Better cycle counting for STR
Jeffrey Pfau jeffrey@endrift.com
Sat, 11 May 2013 18:01:16 -0700
b6361cdf
Start LDM/STM timings
Jeffrey Pfau jeffrey@endrift.com
Sat, 11 May 2013 17:05:57 -0700
0a37300b
Improve LDR/STR cycle counting
Jeffrey Pfau jeffrey@endrift.com
Sat, 11 May 2013 14:55:29 -0700
013e322c
Improved cycle counting for branches
Jeffrey Pfau jeffrey@endrift.com
Sat, 11 May 2013 14:45:31 -0700
f6592b17
Implement MUL timings
Jeffrey Pfau jeffrey@endrift.com
Sat, 11 May 2013 14:35:10 -0700
5c317579
Remove int operations and vectorize shader calculation
Jeffrey Pfau jeffrey@endrift.com
Wed, 08 May 2013 21:10:32 -0700
f246587a
Add support for (my) joystick
Jeffrey Pfau jeffrey@endrift.com
Wed, 08 May 2013 16:31:32 -0700
12e68139
Fragment shader now no longer requires extensions
Jeffrey Pfau jeffrey@endrift.com
Wed, 08 May 2013 15:19:54 -0700
8047ce11
Fix off-by-one scanline
Jeffrey Pfau jeffrey@endrift.com
Tue, 07 May 2013 22:22:35 -0700
5b525143
Add background sizes to GLSL mode 0
Jeffrey Pfau jeffrey@endrift.com
Tue, 07 May 2013 22:21:40 -0700
f2788052
Fix x indexing into VRAM
Jeffrey Pfau jeffrey@endrift.com
Tue, 07 May 2013 21:48:46 -0700
5388fb8c
Draw backdrop in GLSL renderer
Jeffrey Pfau jeffrey@endrift.com
Tue, 07 May 2013 04:40:25 -0700
03fb87ac
Continue implementing GLSL mode 0, now with layers and offsets
Jeffrey Pfau jeffrey@endrift.com
Tue, 07 May 2013 04:11:49 -0700
cc226214
Reindent GBAVideoGLSLRendererProcessEvents
Jeffrey Pfau jeffrey@endrift.com
Tue, 07 May 2013 03:36:50 -0700
20b67240
Start on mode 0 renderer
Jeffrey Pfau jeffrey@endrift.com
Tue, 07 May 2013 03:36:34 -0700
f6a9467e
Write to renderer VRAM
Jeffrey Pfau jeffrey@endrift.com
Tue, 07 May 2013 03:36:15 -0700
bb1e598a
Start GLSL renderer
Jeffrey Pfau jeffrey@endrift.com
Tue, 07 May 2013 01:04:36 -0700
db96be98
Deinit video when shutting down
Jeffrey Pfau jeffrey@endrift.com
Tue, 07 May 2013 01:00:18 -0700
8bc5ec42
Roll out incorrect fix for Halt bug and apply proper fix
Jeffrey Pfau jeffrey@endrift.com
Sun, 05 May 2013 20:37:35 -0700
7ec435b9
Fix 512x512 backgrounds in Mode 0
Jeffrey Pfau jeffrey@endrift.com
Sun, 05 May 2013 01:33:05 -0700
ae3f623f
Overwrite IF while attempting to IntrWait
Jeffrey Pfau jeffrey@endrift.com
Sun, 05 May 2013 00:44:30 -0700
fc7aec55
Count cycles for load/store singles
Jeffrey Pfau jeffrey@endrift.com
Sat, 04 May 2013 23:57:12 -0700
738b3dc4
Implement ArcTan2
Jeffrey Pfau jeffrey@endrift.com
Sat, 04 May 2013 15:50:42 -0700
374aca2f
Move event polling to after framedraw only
Jeffrey Pfau jeffrey@endrift.com
Sat, 04 May 2013 14:49:04 -0700
ac0c7ba7
Implement BgAffineSet
Jeffrey Pfau jeffrey@endrift.com
Sat, 04 May 2013 01:20:42 -0700
fb2ddd6c
Start implementing modes 1/2
Jeffrey Pfau jeffrey@endrift.com
Sat, 04 May 2013 00:51:40 -0700
7373c37e
Fix sprite blending with between layers
Jeffrey Pfau jeffrey@endrift.com
Fri, 03 May 2013 22:23:45 -0700
813b2c06
Partially implement frameskip
Jeffrey Pfau jeffrey@endrift.com
Fri, 03 May 2013 10:24:56 -0700
3ad2510b
Get rid of flags struct and redo compositing
Jeffrey Pfau jeffrey@endrift.com
Fri, 03 May 2013 10:02:01 -0700
6ef3e3b6
Copy ObjAffineSet implementation from GBA.js
Jeffrey Pfau jeffrey@endrift.com
Fri, 03 May 2013 01:43:39 -0700
2bc11c9a
32- and 16-bit reads of OAM
Jeffrey Pfau jeffrey@endrift.com
Fri, 03 May 2013 01:33:20 -0700
862c9391
Support edge cases for 256-color mode 0, excluding hflip
Jeffrey Pfau jeffrey@endrift.com
Fri, 03 May 2013 01:21:25 -0700
1c6fc26b
Support hflip on mode 0 edges
Jeffrey Pfau jeffrey@endrift.com
Thu, 02 May 2013 21:51:00 -0700
ebb1c088
Fix warnings on gcc
Jeffrey Pfau jeffrey@endrift.com
Thu, 02 May 2013 00:40:12 -0700
13a46429
Remove -Wno-unused and fix resulting errors
Jeffrey Pfau jeffrey@endrift.com
Thu, 02 May 2013 00:35:32 -0700
a635f4de
Implement addressing mode 1 ASR register shift
Jeffrey Pfau jeffrey@endrift.com
Thu, 02 May 2013 00:32:04 -0700
86c228f2
Implement SMLAL
Jeffrey Pfau jeffrey@endrift.com
Thu, 02 May 2013 00:29:06 -0700
a80175e6
Fix sprite variant condition
Jeffrey Pfau jeffrey@endrift.com
Wed, 01 May 2013 23:56:59 -0700
3b3f55b1
Variant and 256-color transformed sprites
Jeffrey Pfau jeffrey@endrift.com
Wed, 01 May 2013 23:54:39 -0700
0423656a
Extract more into macros
Jeffrey Pfau jeffrey@endrift.com
Wed, 01 May 2013 23:46:15 -0700
d6c88fc7
Introduce macros for sprite drawing
Jeffrey Pfau jeffrey@endrift.com
Wed, 01 May 2013 23:35:51 -0700
e3fddc57
Support 256-color sprites
Jeffrey Pfau jeffrey@endrift.com
Wed, 01 May 2013 23:27:49 -0700
61c6b718
Implement UMLAL
Jeffrey Pfau jeffrey@endrift.com
Wed, 01 May 2013 23:11:00 -0700
cd73c562
Implement addressing mode 1 LSL/LSR with register
Jeffrey Pfau jeffrey@endrift.com
Wed, 01 May 2013 23:08:22 -0700
aeecbdb5
Draw backgrounds with variant palette when appropriate
Jeffrey Pfau jeffrey@endrift.com
Wed, 01 May 2013 02:51:33 -0700
40e9a7ef
Update variant palettes when writing to palette
Jeffrey Pfau jeffrey@endrift.com
Wed, 01 May 2013 02:37:15 -0700
03361f20
Start drawing backdrop
Jeffrey Pfau jeffrey@endrift.com
Wed, 01 May 2013 02:32:56 -0700
2e9a64a2
Implement Sqrt
Jeffrey Pfau jeffrey@endrift.com
Wed, 01 May 2013 00:27:31 -0700
6ed3c18a
Support IWRAM in LZ77
Jeffrey Pfau jeffrey@endrift.com
Wed, 01 May 2013 00:24:28 -0700
5f6cf337
16-bit DMA address writes
Jeffrey Pfau jeffrey@endrift.com
Tue, 30 Apr 2013 23:22:39 -0700
da489b90
Ensure shifter carry-out gets bits set right
Jeffrey Pfau jeffrey@endrift.com
Tue, 30 Apr 2013 21:02:56 -0700
f7fbb877
Fix Div output registers
Jeffrey Pfau jeffrey@endrift.com
Tue, 30 Apr 2013 20:54:09 -0700
118c393d
Fix addressing mode 2 register post-indexed
Jeffrey Pfau jeffrey@endrift.com
Tue, 30 Apr 2013 02:43:12 -0700
337d4dc1
Implement addressing mode 1 ROR with register
Jeffrey Pfau jeffrey@endrift.com
Tue, 30 Apr 2013 01:57:36 -0700
e1963c6e
Implement SMULL
Jeffrey Pfau jeffrey@endrift.com
Tue, 30 Apr 2013 01:42:11 -0700
698bc0ad
Re-add 256-color
Jeffrey Pfau jeffrey@endrift.com
Tue, 30 Apr 2013 01:32:48 -0700
6cdfa43e
hflip in fast path
Jeffrey Pfau jeffrey@endrift.com
Mon, 29 Apr 2013 22:05:32 -0700
87e59730
Proper blending on sprite targets
Jeffrey Pfau jeffrey@endrift.com
Mon, 29 Apr 2013 21:27:29 -0700
2d4c1fdc
Add back compositing
Jeffrey Pfau jeffrey@endrift.com
Mon, 29 Apr 2013 21:27:05 -0700
56333d33
Use base rendering mode
Jeffrey Pfau jeffrey@endrift.com
Mon, 29 Apr 2013 21:12:56 -0700
7bb4d9d5
Throw out slow background renderer. Let me try again.
Jeffrey Pfau jeffrey@endrift.com
Mon, 29 Apr 2013 00:42:04 -0700
6c2f7b3b
Use 32-bit color internally
Jeffrey Pfau jeffrey@endrift.com
Sun, 28 Apr 2013 23:01:45 -0700
7c597d52
Rearrange some code in preparation of adding windows
Jeffrey Pfau jeffrey@endrift.com
Sun, 28 Apr 2013 02:57:06 -0700
dfd360bf
Remove accidentally left in testing code
Jeffrey Pfau jeffrey@endrift.com
Sun, 28 Apr 2013 01:46:43 -0700
5f6b5773
Implement character mapping
Jeffrey Pfau jeffrey@endrift.com
Sun, 28 Apr 2013 01:43:39 -0700
8072ff7d
Rotate LDR
Jeffrey Pfau jeffrey@endrift.com
Sun, 28 Apr 2013 01:33:59 -0700
6450ce16
Fix LDR(3)
Jeffrey Pfau jeffrey@endrift.com
Sun, 28 Apr 2013 01:33:45 -0700
e86f7d79
Clean up and fix conditions for CPSR V
Jeffrey Pfau jeffrey@endrift.com
Sun, 28 Apr 2013 00:19:15 -0700
19f9b72c
Fix CPSR C being written
Jeffrey Pfau jeffrey@endrift.com
Sun, 28 Apr 2013 00:06:13 -0700
682684cb
Output MUL into the right register
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 23:44:33 -0700
2c8786ae
Use LE instead of GE where appropriate
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 23:44:17 -0700
dd4e6b0c
Stub RegisterRamReset
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 22:54:41 -0700
ca959c64
Implement EEPROM
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 21:51:58 -0700
f4fa4231
EEPROM only works in DMAs
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 20:39:14 -0700
4380ec02
Start implementing EEPROM
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 20:25:31 -0700
e0205994
Start implementing save games
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 19:59:41 -0700
dab27463
Implement DivArm
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 19:58:21 -0700
fd5661e9
Fix alpha blending when neither target 1 or target 2 are set
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 03:09:23 -0700
2e78381e
Implement SWI
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 02:56:34 -0700
6c44cf8d
Implement BL
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 02:54:16 -0700
21b92223
Fix entering SWI mode
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 02:50:35 -0700
bd9714b5
Implement STR(2)/STRH(2)
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 02:42:42 -0700
2fc5474d
Implement addressing mode 1 ROR immediate
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 01:54:57 -0700
2bc23e7a
Redo compositing and sprite blending
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 01:36:06 -0700
b3e1aa78
Don't blend if not target 1
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 00:11:04 -0700
f7922c16
Restructure background drawing code for multipalette
Jeffrey Pfau jeffrey@endrift.com
Fri, 26 Apr 2013 23:59:50 -0700
1ff337c6
Allow 256-color rendering
Jeffrey Pfau jeffrey@endrift.com
Fri, 26 Apr 2013 22:21:38 -0700
13c95a2a
Build fixes for linux
Jeffrey Pfau jeffrey@endrift.com
Fri, 26 Apr 2013 03:08:52 -0700
3cd5e8d0
Implement Div
Jeffrey Pfau jeffrey@endrift.com
Fri, 26 Apr 2013 02:05:54 -0700
d2e84f0a
Implement IntrWait
Jeffrey Pfau jeffrey@endrift.com
Fri, 26 Apr 2013 02:00:59 -0700
7c895f60
Load files from arg 1
Jeffrey Pfau jeffrey@endrift.com
Fri, 26 Apr 2013 01:50:14 -0700
301c07dd
Implement ADC, SBC
Jeffrey Pfau jeffrey@endrift.com
Fri, 26 Apr 2013 01:25:31 -0700
c6181232
Transformed sprites
Jeffrey Pfau jeffrey@endrift.com
Fri, 26 Apr 2013 01:06:41 -0700
f91149e3
Flipped background tiles
Jeffrey Pfau jeffrey@endrift.com
Thu, 25 Apr 2013 22:03:15 -0700
a1910206
Support blending with sprites behind a background
Jeffrey Pfau jeffrey@endrift.com
Thu, 25 Apr 2013 02:08:12 -0700
fefbf7a2
Flip sprites vertically after applying boundary operations
Jeffrey Pfau jeffrey@endrift.com
Thu, 25 Apr 2013 01:55:47 -0700
cea8109c
Run Vblank and Hblank DMAs
Jeffrey Pfau jeffrey@endrift.com
Thu, 25 Apr 2013 01:50:28 -0700
e9e29610
Read from palette memory
Jeffrey Pfau jeffrey@endrift.com
Thu, 25 Apr 2013 01:48:28 -0700
65e04453
Implement TST
Jeffrey Pfau jeffrey@endrift.com
Thu, 25 Apr 2013 00:56:43 -0700
cfc3ec4f
Implement ROR
Jeffrey Pfau jeffrey@endrift.com
Thu, 25 Apr 2013 00:53:24 -0700
21490dcf
Implement CMN
Jeffrey Pfau jeffrey@endrift.com
Thu, 25 Apr 2013 00:48:35 -0700
c8b2d275
Use variant palette on sprites when target 1
Jeffrey Pfau jeffrey@endrift.com
Thu, 25 Apr 2013 00:28:39 -0700
e1932f24
Implement sprite flipping
Jeffrey Pfau jeffrey@endrift.com
Thu, 25 Apr 2013 00:17:17 -0700
9dbd925d
Allow for negative-y sprites
Jeffrey Pfau jeffrey@endrift.com
Thu, 25 Apr 2013 00:11:27 -0700
4446e0db
Implement blending on sprites
Jeffrey Pfau jeffrey@endrift.com
Wed, 24 Apr 2013 23:49:16 -0700
07b96cdd
Begin sprites
Jeffrey Pfau jeffrey@endrift.com
Wed, 24 Apr 2013 23:40:22 -0700
00dd5bda
Dual condition-variable non-hacky waiting-on-frame
Jeffrey Pfau jeffrey@endrift.com
Wed, 24 Apr 2013 02:43:55 -0700
5122a236
Squelch warnings, turn on -Werror
Jeffrey Pfau jeffrey@endrift.com
Wed, 24 Apr 2013 01:24:48 -0700
1c0af229
Implement BLDALPHA
Jeffrey Pfau jeffrey@endrift.com
Wed, 24 Apr 2013 01:16:03 -0700
40b00e79
Refactor some code to enable compositing code to be shared
Jeffrey Pfau jeffrey@endrift.com
Wed, 24 Apr 2013 00:50:17 -0700
0d7657e8
Implement BLDCNT (partially) and BLDY
Jeffrey Pfau jeffrey@endrift.com
Wed, 24 Apr 2013 00:34:50 -0700
b3d9a191
Kludge to prevent busy-waiting while no frames are generating
Jeffrey Pfau jeffrey@endrift.com
Tue, 23 Apr 2013 23:07:24 -0700
754725e1
Start using pixel flags to keep track of pixel states
Jeffrey Pfau jeffrey@endrift.com
Tue, 23 Apr 2013 22:48:01 -0700
7c7e934d
Turbo mode
Jeffrey Pfau jeffrey@endrift.com
Tue, 23 Apr 2013 22:32:15 -0700
190f9b41
Implement STRB(2)
Jeffrey Pfau jeffrey@endrift.com
Tue, 23 Apr 2013 02:13:59 -0700
e82fd991
More sane way of writing 32-bit values to VRAM, palette
Jeffrey Pfau jeffrey@endrift.com
Tue, 23 Apr 2013 02:05:10 -0700
3a76cdc6
VRAM reading
Jeffrey Pfau jeffrey@endrift.com
Tue, 23 Apr 2013 02:03:06 -0700
21704ab3
Allow use of wrong LZ77 destination
Jeffrey Pfau jeffrey@endrift.com
Mon, 22 Apr 2013 22:55:49 -0700
11d1de39
Fix non-zero character base
Jeffrey Pfau jeffrey@endrift.com
Mon, 22 Apr 2013 02:28:03 -0700
bcf44673
Start implementing transparency
Jeffrey Pfau jeffrey@endrift.com
Mon, 22 Apr 2013 02:07:35 -0700
e1d5f3f4
Fix drawing wide backgrounds
Jeffrey Pfau jeffrey@endrift.com
Mon, 22 Apr 2013 02:07:19 -0700
b48b868c
Write to VRAM
Jeffrey Pfau jeffrey@endrift.com
Mon, 22 Apr 2013 01:59:25 -0700
f136d816
Was accidentally chopping off a bit in LZ77UnCompVram
Jeffrey Pfau jeffrey@endrift.com
Mon, 22 Apr 2013 01:12:48 -0700
060ae364
Start drawing backgrounds
Jeffrey Pfau jeffrey@endrift.com
Mon, 22 Apr 2013 01:11:48 -0700
764b6010
Sort backgrounds
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Apr 2013 20:59:43 -0700
a6fb91bb
Do some cleanup of pthread data
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Apr 2013 14:52:25 -0700
225729b7
Implement BGxHOFS/BGxVOFS
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Apr 2013 14:43:28 -0700
3ec0afa8
Implement BGxCNT
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Apr 2013 14:09:41 -0700
265bbe4f
Add struct for keeping track of background state
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Apr 2013 13:17:15 -0700
933e8330
Start implementing DISPCNT
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Apr 2013 12:48:14 -0700
cdddcbf7
Pass off video registers to renderer
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Apr 2013 12:39:33 -0700
573fcead
Start building up structs for video registers
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Apr 2013 12:33:03 -0700
9f425c53
Spring IRQs if we need to
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Apr 2013 01:09:11 -0700
3ca5e52d
Handle key, quit events
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Apr 2013 00:35:21 -0700
71986b04
Support writing to palette, display palette on screen
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 22:08:58 -0700
28607147
Draw output buffer
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 21:40:06 -0700
eba5d547
Start using SDL for graphics syncing
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 20:29:53 -0700
a094024a
Add missing files
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 18:08:52 -0700
67d25794
Fix LDMIA/STMIA
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 18:03:59 -0700
14100f19
Implement LSL(2)
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 18:03:48 -0700
0bfb7710
Properly init and deinit renderers
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 16:47:04 -0700
b4cee4c2
Properly isolate threading
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 16:44:03 -0700
fffe3915
Wait on thread initialization before returning from thread creation
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 16:40:08 -0700
9ba9fac8
Restructure video memory
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 16:16:37 -0700
cb48145e
Move main emulation into thread
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 15:54:09 -0700
ff03bcf0
Fix MidiKey2Freq
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 14:46:53 -0700
18fae084
Fix Load/store shifters
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 14:21:42 -0700
cd0f75c8
Implement MLA
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 13:36:42 -0700
bf54a68b
Implement UMULL
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 13:22:10 -0700
63e80955
Implement MidiKey2Freq
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 03:01:50 -0700
e272481c
Implement LDR(2)
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 02:57:20 -0700
e8393615
Implement LZ77 decompression
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 02:52:10 -0700
cf9a7224
Init video memory from the dummy renderer
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 02:51:40 -0700
1972e73b
Define memory regions
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Apr 2013 23:34:26 -0700
f72c1957
Labels for I/O regions in the switch statement
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Apr 2013 23:04:01 -0700
5d81a4eb
Remainder of timer infrastructure
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Apr 2013 23:01:04 -0700
57dcbef0
Implement timers from GBA.js implementation
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Apr 2013 22:26:44 -0700
6087ad8c
Fix reading from DISPSTAT
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Apr 2013 21:40:57 -0700
adfd8f68
Make sure if we reset the CPSR to the SPSR that we check if we get tossed into Thumb
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Apr 2013 21:26:00 -0700
633a8726
Initialize cpu->privilegeMode
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Apr 2013 21:09:00 -0700
aa7ef287
Squelch HLE BIOS warnings
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Apr 2013 21:04:53 -0700
283a4861
Read/write REG_IF
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Apr 2013 00:05:13 -0700
9b1f3c3c
Init GBA I/O registers
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Apr 2013 00:04:50 -0700
0ba7451e
Install SIGINT signal handler for debugger
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Apr 2013 01:52:46 -0700
0b468a9d
Null-check that DebugVectors get generated
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Apr 2013 01:39:51 -0700
5f1f6088
Implement MUL
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Apr 2013 01:35:48 -0700
783b2a3e
Implement ADD(5)
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Apr 2013 01:24:46 -0700
422961a2
8-bit I/O reads
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Apr 2013 01:19:57 -0700
97b669e4
Store vcount back in IO
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Apr 2013 01:19:41 -0700
0048de21
Fix addressing mode 3 immediate
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Apr 2013 01:06:19 -0700
b5cbd557
Read back I/O memory when reading 32-bit
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Apr 2013 00:58:42 -0700
1e1c8fd2
Ensure that DMAs read back from I/O memory properly
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Apr 2013 00:58:22 -0700
4f8c288f
Ensure cpsr.t reads back out properly
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Apr 2013 00:19:41 -0700
ed48ab1c
Fix storing SPSR
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Apr 2013 00:15:45 -0700
062e09cc
Implement MSRI
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Apr 2013 00:09:28 -0700
fdf36f58
Implement MRS
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Apr 2013 00:06:48 -0700
b3832205
Fix some MRS/MSR encoding problems
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Apr 2013 00:03:39 -0700
6608ae28
Ensure loads to PC work
Jeffrey Pfau jeffrey@endrift.com
Wed, 17 Apr 2013 23:54:31 -0700
cb03781a
Implement LDM, STM
Jeffrey Pfau jeffrey@endrift.com
Wed, 17 Apr 2013 23:44:35 -0700
dd479ad9
Now include source for HLE BIOS, even without assembler script
Jeffrey Pfau jeffrey@endrift.com
Wed, 17 Apr 2013 00:46:32 -0700
54fffb7f
Add HLE BIOS from GBA.js
Jeffrey Pfau jeffrey@endrift.com
Wed, 17 Apr 2013 00:45:23 -0700
38b1c8d2
Make sure CPSR is updated for IRQ mode properly
Jeffrey Pfau jeffrey@endrift.com
Wed, 17 Apr 2013 00:29:20 -0700
f30b367c
Make sure to rewrite active region data when jumping to IRQ handler
Jeffrey Pfau jeffrey@endrift.com
Wed, 17 Apr 2013 00:24:00 -0700
45fcd0fc
Implement FastCpuSet
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Apr 2013 23:52:53 -0700
c143dec7
Fix ADD(4) and MOV(3)
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Apr 2013 23:52:30 -0700
4b4914af
Implement MUL
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Apr 2013 23:26:49 -0700
6b07dd33
Implement ASR(1)
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Apr 2013 23:22:01 -0700
8c03c200
Implement HALT
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Apr 2013 23:14:16 -0700
e88d1775
Copy GBA.js DMA implementation
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Apr 2013 23:13:52 -0700
20622b61
Copy some IRQ infrastructure from GBA.js
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Apr 2013 19:41:09 -0700
bc9d0690
Clean up extra backslashes
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Apr 2013 19:29:00 -0700
2d0c3bf2
Implement IRQs
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Apr 2013 07:50:34 -0700
2da11dd5
Continue implementing IRQs
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Apr 2013 07:42:20 -0700
4dd98f4c
Remove typo struct member
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Apr 2013 07:20:28 -0700
9ac6f6d3
Start implementing IRQ
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Apr 2013 07:18:25 -0700
7de2c91e
Copy DISPSTAT implementation from GBA.js
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Apr 2013 07:10:38 -0700
e8742663
Initialize video->eventDiff
Jeffrey Pfau jeffrey@endrift.com
Mon, 15 Apr 2013 23:15:02 -0700
2fe2c80a
Add dummy renderer + frame counting infrastructure from GBA.js
Jeffrey Pfau jeffrey@endrift.com
Mon, 15 Apr 2013 23:01:40 -0700
9b5d5d64
Start implementing events + add video stubs
Jeffrey Pfau jeffrey@endrift.com
Mon, 15 Apr 2013 22:18:28 -0700
1838cc05
Implement waitstate adjusting
Jeffrey Pfau jeffrey@endrift.com
Mon, 15 Apr 2013 01:10:53 -0700
fe5a8d62
Add function for loading from I/O
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 23:30:11 -0700
ecc4775c
Start implementing instruction timing
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 23:12:03 -0700
fa64310e
Fix SWI32
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 13:46:48 -0700
4e66d7f8
Implement CpuSet
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 13:36:32 -0700
90e2443c
Split gba.c
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 13:21:21 -0700
1ca64871
Create subdirs
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 13:04:24 -0700
7c5a6b12
Implement SWI
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 11:57:39 -0700
475af6fd
Squelch some warnings
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 04:22:53 -0700
201d34a4
Stub out I/O
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 04:20:39 -0700
2cb00fe0
Move GBA load/stores internal to gba.c
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 04:08:06 -0700
1d445958
Initialize breakpoints
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 03:49:48 -0700
82a4fa09
Initialize debugger->lastCommand
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 03:47:11 -0700
cd75d3b3
Implement LDR[S]B/LDR[S]H (2)
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 03:38:09 -0700
9cd46879
Implement BIC
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 03:31:35 -0700
288eba1f
Fix POP {pc}
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 03:28:58 -0700
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