Jeffrey Pfau
|
d56dec79e7
|
Fix function prototype for GBAThreadInterrupt
|
2014-07-10 01:03:02 -07:00 |
Jeffrey Pfau
|
c2fc2dbac3
|
Remove unused variable
|
2014-07-10 01:02:13 -07:00 |
Jeffrey Pfau
|
55977796f3
|
Move UNUSED macro to common.h
|
2014-07-10 01:00:38 -07:00 |
Jeffrey Pfau
|
0a48d4cc2f
|
Draw a polygon every frame, even when paused, to make sure screen is not stale (fixes #87)
|
2014-07-09 23:18:34 -07:00 |
Jeffrey Pfau
|
87913a4c33
|
Add missing return statement
|
2014-07-09 23:17:51 -07:00 |
Jeffrey Pfau
|
642cbf3429
|
Hopefully fix edge cases for windows for real this time (fixes #88)
|
2014-07-09 23:09:28 -07:00 |
Jeffrey Pfau
|
b762ce41a0
|
Only take slow mosaic path when mosiac is actually in play
|
2014-07-09 23:01:03 -07:00 |
Jeffrey Pfau
|
e6863a6cc5
|
Fix mosaic drawing of 256-color mirrored background tiles
|
2014-07-09 22:49:05 -07:00 |
Jeffrey Pfau
|
c3136b914e
|
Fix sampling order of sound channel 3
|
2014-07-09 03:53:23 -07:00 |
Jeffrey Pfau
|
3e827c24a8
|
Fix 8-bit IO writes on SOUND3CNT_X
|
2014-07-09 03:53:23 -07:00 |
Jeffrey Pfau
|
78bd884a05
|
Fix setting window sizes to 0xFFFF from actually making a window
|
2014-07-09 03:53:23 -07:00 |
Jeffrey Pfau
|
3ee3f7625f
|
Link with SDL2_LIBDIR if necessary
|
2014-07-09 01:46:40 -07:00 |
Jeffrey Pfau
|
f1b4e7039f
|
Fix sprites whose tiles go out of bounds
|
2014-07-09 01:32:02 -07:00 |
Jeffrey Pfau
|
79cfc4fd0a
|
Make GBAThreadInterrupt work properly with paused threads again
|
2014-07-09 00:36:04 -07:00 |
Jeffrey Pfau
|
ecee71cfa1
|
Resizing of SDL2 windows
|
2014-07-09 00:03:05 -07:00 |
Jeffrey Pfau
|
548793e551
|
Remove audio processing loop now that there is an event processing loop
|
2014-07-08 22:00:53 -07:00 |
Jeffrey Pfau
|
83e16d56c0
|
Fix a case where deserializing the FIFO may not restore up to three bytes
|
2014-07-08 21:56:03 -07:00 |
Jeffrey Pfau
|
a62a932282
|
Ensure interrupting the GBA thread actually gets to a safe point to read from the thread
|
2014-07-08 00:04:38 -07:00 |
Jeffrey Pfau
|
8c9790bb3b
|
Add audio FIFOs to savestates
|
2014-07-08 00:02:39 -07:00 |
Jeffrey Pfau
|
6bf0e704d2
|
Allow for savestates to be loaded between BIOS versions so long as they aren't in BIOS code
|
2014-07-07 22:59:24 -07:00 |
Jeffrey Pfau
|
ea656f188e
|
Remove out-of-date TODO
|
2014-07-07 03:00:58 -07:00 |
Jeffrey Pfau
|
a450b0470a
|
UPS patch loading support
|
2014-07-07 01:54:40 -07:00 |
Jeffrey Pfau
|
f420232bbf
|
IPS patch loading support
|
2014-07-06 23:39:27 -07:00 |
Jeffrey Pfau
|
a6c8089601
|
Add read watchpoints (fixes #69)
|
2014-07-05 22:30:20 -07:00 |
Jeffrey Pfau
|
28ba251cfb
|
Fix some warnings
|
2014-07-05 16:29:31 -07:00 |
Jeffrey Pfau
|
ced5220975
|
Out of bounds start coordinates are treated as 0 for windows (fixes #82)
|
2014-07-05 14:40:15 -07:00 |
Jeffrey Pfau
|
7142a0f820
|
Fix WININ priority trampling over the active windows (fixes #75)
|
2014-07-05 14:34:10 -07:00 |
Jeffrey Pfau
|
ae12dd907c
|
Reduce the code size of division by zero a bit
|
2014-07-05 13:55:36 -07:00 |
Jeffrey Pfau
|
2fd9ab1197
|
Emulate division by zero edge cases (fixes #80)
|
2014-07-05 05:19:58 -07:00 |
Jeffrey Pfau
|
26c33b18e1
|
Properly do bounds checking in CpuSet and CpuFastSet (fixes #81)
|
2014-07-05 03:52:07 -07:00 |
Jeffrey Pfau
|
34145543f2
|
Remove redundant checks that are in the BIOS code already
|
2014-07-05 01:03:04 -07:00 |
Jeffrey Pfau
|
dea143829a
|
Prevent lr from being trampled in the middle of long-running CpuSet
|
2014-07-05 01:01:29 -07:00 |
Jeffrey Pfau
|
107f91aac8
|
Fix typo in documentation
|
2014-07-05 00:13:54 -07:00 |
Jeffrey Pfau
|
678c5465ff
|
Add (currently undocumented) command line flag for setting logging level
|
2014-07-04 18:43:07 -07:00 |
Jeffrey Pfau
|
80d1764e6c
|
Save some registers we were overwriting in IntrWait
|
2014-07-04 18:41:13 -07:00 |
Jeffrey Pfau
|
d6a28c8a6e
|
Log SWIs in debug
|
2014-07-04 18:17:34 -07:00 |
Jeffrey Pfau
|
599537a41b
|
Fix and optimize CpuSet and CpuFastSet a bit
|
2014-07-04 17:48:38 -07:00 |
Jeffrey Pfau
|
fde6515a56
|
Implement CpuSet/CpuFastSet in assembly (fixes #31 and #76)
|
2014-07-03 03:51:53 -07:00 |
Jeffrey Pfau
|
e5245b6cbb
|
Reset timers when enabling them (fixes #78)
|
2014-07-02 00:48:20 -07:00 |
Jeffrey Pfau
|
2693f9d09b
|
Implement high VRAM mirroring for writes
|
2014-07-01 00:26:57 -07:00 |
Jeffrey Pfau
|
a7eced1324
|
Fix stub debugger entering
|
2014-04-26 18:25:45 -07:00 |
Jeffrey Pfau
|
12e5425b9b
|
Use subparsers instead of stuffing everything into one parser
|
2014-04-26 16:05:09 -07:00 |
Jeffrey Pfau
|
6ca25e44aa
|
Add some NEON resizing code
|
2014-04-26 03:31:53 -07:00 |
Jeffrey Pfau
|
6e32ade69e
|
Clear alpha channel in fragment shader (fixes #51)
|
2014-04-25 23:48:51 -07:00 |
Jeffrey Pfau
|
084f0f037e
|
Fix fullscreen initialization
|
2014-04-25 21:33:07 -07:00 |
Jeffrey Pfau
|
0386d41b40
|
Add option of not using GL
|
2014-04-25 03:34:21 -07:00 |
Jeffrey Pfau
|
7e90eb2631
|
Start porting sw-main to SDL2
|
2014-04-25 03:34:03 -07:00 |
Jeffrey Pfau
|
82f3a45888
|
Build fix in case no debuggers are being built
|
2014-04-23 21:50:26 -07:00 |
Jeffrey Pfau
|
64e8d3fb83
|
Fix GBDStub build on Windows
|
2014-04-23 21:42:08 -07:00 |
Jeffrey Pfau
|
16608a408c
|
Bring sw-main into line
|
2014-04-23 02:09:27 -07:00 |
Jeffrey Pfau
|
ffea820148
|
Remove some redundant flags
|
2014-04-23 02:09:06 -07:00 |
Jeffrey Pfau
|
232abab7f4
|
Add long-missing arm-algo.S
|
2014-04-23 02:05:50 -07:00 |
Jeffrey Pfau
|
53389684db
|
Add more command line options and perf-main duration
|
2014-04-20 22:15:17 -07:00 |
Jeffrey Pfau
|
810c35c318
|
Disentagle graphics flags from global flags
|
2014-04-20 21:54:05 -07:00 |
Jeffrey Pfau
|
5b300bbcff
|
Make command line arguments more dynamic
|
2014-04-20 21:41:21 -07:00 |
Jeffrey Pfau
|
7334b89833
|
Add more command line options + usage
|
2014-04-20 21:33:27 -07:00 |
Jeffrey Pfau
|
7c356ffd07
|
Move debugger creation off the stack
|
2014-04-20 04:19:03 -07:00 |
Jeffrey Pfau
|
89ccb41b03
|
Start moving command line parsing into a separate file
|
2014-04-20 04:06:44 -07:00 |
Jeffrey Pfau
|
e739e4000b
|
Initialize halt
|
2014-04-20 01:05:29 -07:00 |
Jeffrey Pfau
|
9bf77f6653
|
Call ARMDeinit
|
2014-04-20 00:52:37 -07:00 |
Jeffrey Pfau
|
7a4ca414e5
|
Restructure watchpoints
|
2014-04-20 00:47:49 -07:00 |
Jeffrey Pfau
|
0f68dbc832
|
Redo component model/type punning
|
2014-04-20 00:19:55 -07:00 |
Jeffrey Pfau
|
c0eb7c81f7
|
Remove ARMMemory and ARMBoard shims
|
2014-04-19 18:14:17 -07:00 |
Jeffrey Pfau
|
775e417cc6
|
Move halting functionality out of GBAHalt
|
2014-04-16 23:05:44 -07:00 |
Jeffrey Pfau
|
b8ecabbaa9
|
Fix the build
|
2014-04-03 00:00:06 -07:00 |
Jeffrey Pfau
|
ecb1939ff1
|
Move common headers to common.h, remove util and debugger from being first class include directories
|
2014-04-02 23:51:35 -07:00 |
Jeffrey Pfau
|
73d32e7cc7
|
Initialize some SIO variables properly
|
2014-04-02 23:16:37 -07:00 |
Jeffrey Pfau
|
fec4040691
|
Load/store with immediate width corrections
|
2014-03-29 23:08:32 -07:00 |
Jeffrey Pfau
|
fc132b4d93
|
Some instructions can write to pc directly
|
2014-03-29 23:08:32 -07:00 |
Jeffrey Pfau
|
01d4672f56
|
Reclassify thumb load/store multiple instructions
|
2014-03-29 23:08:32 -07:00 |
Jeffrey Pfau
|
764d9740ee
|
Fix exporting of ARMDecodeThumb
|
2014-03-29 23:08:32 -07:00 |
Jeffrey Pfau
|
c8a2f595d4
|
Start cycle counting
|
2014-03-29 23:08:32 -07:00 |
Jeffrey Pfau
|
9b2cd97505
|
Split out decoder files in preparation of ARM decoder
|
2014-03-29 23:08:31 -07:00 |
Jeffrey Pfau
|
c8e1a9cd59
|
PC-relative disassembling
|
2014-03-29 23:08:31 -07:00 |
Jeffrey Pfau
|
39e1a85ffc
|
Implement memory decoding
|
2014-03-29 23:06:07 -07:00 |
Jeffrey Pfau
|
f32155526b
|
More thumb decompilation
|
2014-03-29 23:06:07 -07:00 |
Jeffrey Pfau
|
e60cbfaf84
|
Begin disassembler
|
2014-03-29 23:06:07 -07:00 |
Jeffrey Pfau
|
58545f112e
|
Rename decompiler to decoder
|
2014-03-29 22:59:40 -07:00 |
Jeffrey Pfau
|
65c1d67dfd
|
Descriptions of all opcodes
|
2014-03-29 22:59:40 -07:00 |
Jeffrey Pfau
|
5d19919df2
|
Extract emittor macros into headers
|
2014-03-29 22:59:39 -07:00 |
Jeffrey Pfau
|
66d1c0c55c
|
Start fleshing out decompiler
|
2014-03-29 22:59:39 -07:00 |
Jeffrey Pfau
|
5b91d6d336
|
Small framework for decompiler
|
2014-03-29 22:59:39 -07:00 |
Jeffrey Pfau
|
4c1014685f
|
Fix some valgrind errors
|
2014-03-29 22:58:58 -07:00 |
Jeffrey Pfau
|
2cd4bb3cff
|
Initialize memory->eventDiff; fixes a valgrind warning
|
2014-03-29 22:58:58 -07:00 |
Jeffrey Pfau
|
2f39a57567
|
Get RPi EGL port building again
|
2014-03-29 22:58:58 -07:00 |
Jeffrey Pfau
|
8f241e2cfb
|
Partially implement SOUNDBIAS
|
2014-03-29 22:53:56 -07:00 |
Jeffrey Pfau
|
683e90fa06
|
Remove special treatment for DISPSTAT
|
2014-03-29 22:53:52 -07:00 |
Jeffrey Pfau
|
8e51ffbf2c
|
Add function for connecting to an already-open TCP port
|
2014-02-11 00:19:29 -08:00 |
Jeffrey Pfau
|
4d8a00c180
|
Add thread-interrupt functions for having multiple threads that want to pause the GBA thread
|
2014-02-10 23:59:07 -08:00 |
Jeffrey Pfau
|
e9c4412819
|
Put missing returns in SDL event handling
|
2014-02-10 23:13:39 -08:00 |
Jeffrey Pfau
|
eb5580f719
|
Make DriverSet setting read in normal driver
|
2014-02-10 01:42:44 -08:00 |
Jeffrey Pfau
|
6451aeaefc
|
Support normal mode drivers
|
2014-02-10 01:42:44 -08:00 |
Jeffrey Pfau
|
764b3fce10
|
Fix SIO loading of a driver that is for the current mode
|
2014-02-10 01:42:44 -08:00 |
Jeffrey Pfau
|
9c8e5fc222
|
SIO registers can now be read and written properly
|
2014-02-10 01:42:40 -08:00 |
Jeffrey Pfau
|
3422527d5a
|
Read SIO registers from sio field
|
2014-02-10 01:41:20 -08:00 |
Jeffrey Pfau
|
a2a3f317b5
|
Make driver loading signal failure, and fix case where setting a driver can cause a null pointer deref
|
2014-02-05 01:50:01 -08:00 |
Jeffrey Pfau
|
043d396320
|
Make socket shims inline
|
2014-02-05 01:22:34 -08:00 |
Jeffrey Pfau
|
924c6cf5a6
|
Clarify some function names and add more essenital SIO architecture
|
2014-02-05 01:03:34 -08:00 |
Jeffrey Pfau
|
e5ee1aa07f
|
Fill out SIO driver infrastructure
|
2014-02-04 01:28:16 -08:00 |
Jeffrey Pfau
|
70e1661342
|
Begin SIO
|
2014-02-04 00:39:55 -08:00 |
Jeffrey Pfau
|
20a5fa8476
|
Abstract out sockets
|
2014-02-03 23:01:26 -08:00 |
Jeffrey Pfau
|
23e0737649
|
Add missing GBA_KEY_NONE
|
2014-02-03 22:56:24 -08:00 |
Jeffrey Pfau
|
90760a30a3
|
Move key mapping into its own function
|
2014-02-03 22:28:49 -08:00 |
Jeffrey Pfau
|
5a17030c65
|
Automatically break into the debugger if it was provided at launch time
|
2014-02-03 03:48:39 -08:00 |
Jeffrey Pfau
|
285b94b66a
|
Add thread-safe function for telling if the GBA thread has started
|
2014-02-03 03:48:39 -08:00 |
Jeffrey Pfau
|
0f6523941c
|
Null out threadContext->gba when shutting down
|
2014-02-03 03:48:39 -08:00 |
Jeffrey Pfau
|
56c51181e1
|
Debugger can get detached during a callback, clean up appropriately
|
2014-02-02 03:59:03 -08:00 |
Jeffrey Pfau
|
243cf2236b
|
Ability to fullscreen the window in SDL2
|
2014-02-02 03:05:30 -08:00 |
Jeffrey Pfau
|
19142a2881
|
Use command key on OS X
|
2014-02-02 02:56:02 -08:00 |
Jeffrey Pfau
|
ad38ae63ec
|
Properly support 16-bit color
|
2014-02-02 02:47:50 -08:00 |
Jeffrey Pfau
|
02aec4fc65
|
Add SDL2 support
|
2014-02-02 02:39:34 -08:00 |
Jeffrey Pfau
|
020aec4e7b
|
The debugger should not stop by default
|
2014-02-01 20:49:12 -08:00 |
Jeffrey Pfau
|
0c332d972b
|
Add ability to detach debugger
|
2014-02-01 20:49:12 -08:00 |
Jeffrey Pfau
|
cc53b06cae
|
Implement OBJWIN for OBJs
|
2014-02-01 16:58:55 -08:00 |
Jeffrey Pfau
|
d09004cf01
|
Fix infinite listen errors
|
2014-02-01 16:27:48 -08:00 |
Jeffrey Pfau
|
69d188668d
|
Fix debugging shim to work even if there is no GBA struct at the moment
|
2014-02-01 16:27:27 -08:00 |
Jeffrey Pfau
|
b9f8955890
|
Add debugging logging interface
|
2014-02-01 16:26:48 -08:00 |
Jeffrey Pfau
|
d97976d0df
|
Add stepping and clean up
|
2014-02-01 15:50:12 -08:00 |
Jeffrey Pfau
|
325380989c
|
Clean up unnecessary operation in GDB stub
|
2014-02-01 15:39:47 -08:00 |
Jeffrey Pfau
|
9435226c58
|
Breakpoint clearing in CLI debugger
|
2014-02-01 15:39:30 -08:00 |
Jeffrey Pfau
|
c30807117f
|
Breakpoint clearing
|
2014-02-01 15:37:15 -08:00 |
Jeffrey Pfau
|
ea6b129509
|
LLDB compatibility
|
2014-02-01 15:21:17 -08:00 |
Jeffrey Pfau
|
1541e6e0b0
|
Expand packet size for lldb compat
|
2014-02-01 05:44:40 -08:00 |
Jeffrey Pfau
|
cc9575228c
|
Add support for qHostInfo command for lldb
|
2014-02-01 05:40:39 -08:00 |
Jeffrey Pfau
|
e4375fd3d9
|
Stub out [qQvV].* commands
|
2014-02-01 05:23:56 -08:00 |
Jeffrey Pfau
|
1c60ada7de
|
Add support for g, m and p GDB packets
|
2014-02-01 05:02:54 -08:00 |
Jeffrey Pfau
|
434099ac77
|
Parse GDB packet format
|
2014-02-01 04:10:22 -08:00 |
Jeffrey Pfau
|
244f197742
|
Begin GDB stub
|
2014-02-01 03:08:32 -08:00 |
Jeffrey Pfau
|
38aac38a0c
|
Remove obsolete, dead code
|
2014-02-01 01:41:25 -08:00 |
Jeffrey Pfau
|
6616ca9111
|
Always enable the debugger framework
|
2014-02-01 01:14:41 -08:00 |
Jeffrey Pfau
|
a214481b76
|
Fix typo in type
|
2014-02-01 01:02:26 -08:00 |
Jeffrey Pfau
|
5bbf7f2308
|
Separate out CLI debugger from debugging interface
|
2014-02-01 00:47:36 -08:00 |
Jeffrey Pfau
|
6822a0d770
|
Start separating out debugger logic
|
2014-02-01 00:27:53 -08:00 |
Jeffrey Pfau
|
6ad2b673b1
|
Omit sprites that are off-screen vertically from OAM calculations
|
2014-01-31 22:40:21 -08:00 |
Jeffrey Pfau
|
bab92ba659
|
Squelch compiler warning in perf shutdown
|
2014-01-31 02:30:56 -08:00 |
Jeffrey Pfau
|
4255d10f08
|
Squelch compiler warning about type punning
|
2014-01-31 02:29:27 -08:00 |
Jeffrey Pfau
|
d6a4fbd25a
|
Squelch a compiler warning about an uninitialized variable
|
2014-01-31 02:27:17 -08:00 |
Jeffrey Pfau
|
f8449482de
|
Squelch warnings in software renderer
|
2014-01-31 02:17:41 -08:00 |
Jeffrey Pfau
|
2122ff1f43
|
Change override structure to not use multi-byte char literals
|
2014-01-31 02:17:41 -08:00 |
Jeffrey Pfau
|
bce620e717
|
Split SDL build into its own CMake list
|
2014-01-31 00:13:33 -08:00 |
Jeffrey Pfau
|
80511fcb9f
|
Fix perf main after adding BIOS loading
|
2014-01-31 00:11:55 -08:00 |
Jeffrey Pfau
|
95cf2909c1
|
Unblock on audio when closing thread
|
2014-01-30 04:05:53 -08:00 |
Jeffrey Pfau
|
f0481d9413
|
Enable piping through BIOS
|
2014-01-29 23:13:44 -08:00 |
Jeffrey Pfau
|
79d4011650
|
Initialize OAM
|
2014-01-29 23:02:12 -08:00 |
Jeffrey Pfau
|
13d3146d0b
|
Add LOG_FATAL
|
2014-01-29 22:49:34 -08:00 |
Jeffrey Pfau
|
70afe23fe4
|
Add log handling
|
2014-01-29 22:49:24 -08:00 |
Jeffrey Pfau
|
9d351d4a58
|
SDL audio should use now centralized audio functions
|
2014-01-29 22:49:09 -08:00 |
Jeffrey Pfau
|
5fde0d8c35
|
GBAAudioResampleNN returns how many (destination) samples were read
|
2014-01-29 22:49:09 -08:00 |
Jeffrey Pfau
|
a79a592c1e
|
Move audio resampling out of SDL code
|
2014-01-29 22:48:38 -08:00 |
Jeffrey Pfau
|
2e2ca19220
|
Add GBAThreadEnd function for manually shutting down the GBA thread
|
2014-01-29 22:48:38 -08:00 |