Commit Graph

1031 Commits

Author SHA1 Message Date
Vicki Pfau 1ec984f4fa Merge branch 'master' (early part) into medusa 2024-06-21 00:46:28 -07:00
Vicki Pfau faa0e49563 Merge branch 'master' (early part) into medusa 2024-06-21 00:42:31 -07:00
Vicki Pfau 295966ab50 Merge branch 'master' (early part) into medusa 2024-06-21 00:30:38 -07:00
Vicki Pfau 8718d034d4 Merge branch 'master' (early part) into medusa 2024-06-21 00:23:04 -07:00
Vicki Pfau 690f716df5 Merge branch 'master' (early part) into medusa 2024-06-21 00:22:10 -07:00
Vicki Pfau 4d104aeac1 Merge branch 'master' (early part) into medusa 2024-06-21 00:19:59 -07:00
Vicki Pfau 5d0dafbbb1 Merge branch 'master' (early part) into medusa 2024-06-21 00:16:40 -07:00
Vicki Pfau 38c51308c3 Merge branch 'master' (early part) into medusa 2024-06-21 00:14:13 -07:00
Vicki Pfau 407a338a0f Merge branch 'master' (early part) into medusa 2023-05-03 02:43:01 -07:00
Vicki Pfau b1f9a98937 Merge branch 'master' (early part) into medusa 2023-05-03 02:30:16 -07:00
Martin Murtiono c9585b8abe
Qt: Make rewind speed adjustable (#2902) 2023-04-29 00:36:01 -07:00
Vicki Pfau 5f6948351b Feature: Move video-backend.c to a sensible place 2023-04-19 05:35:36 -07:00
Vicki Pfau 9fa607b30f Util: More palette support 2023-04-17 04:37:36 -07:00
Vicki Pfau 618a51cabb Util: Preliminary palette support 2023-04-17 04:37:36 -07:00
Vicki Pfau 65f04ee408 Util: PNGWrite*A is dead, long live PNGWrite* 2023-04-17 04:37:36 -07:00
David Spickett 225456a39c Debugger: Send flags information for cpsr register
There is a feature of target XML called flags. It allows
you to describe what a register contains.

https://sourceware.org/gdb/onlinedocs/gdb/Target-Description-Format.html

GDB has supported this for a long time and I recently added support
in LLDB:
e07a421dd5

This change adds this flags information for the cpsr register of the ARM7TDMI.
Based on the information in https://developer.arm.com/documentation/ddi0210/c/.

This is what it looks like when using GDB:
```
(gdb) info registers
r0             0x0                 0
<...>
cpsr           0x6000001f          [ Z C M=31 ]
```
And LLDB:
```
(lldb) register read cpsr
    cpsr = 0x6000001f
         = (N = 0, Z = 1, C = 1, V = 0, I = 0, F = 0, T = 0, M=31)
```

(the format is up to the debugger, lldb is a lot more verbose at the moment)

To enable this I have increased the GDB stub's outgoing buffer to 1400 bytes.
The target XML is just above 130 bytes with the flags added.
2023-04-15 01:30:35 -07:00
Vicki Pfau 5bf048e380 GB Serialize: Add missing Pocket Cam state to savestates 2023-04-13 02:56:12 -07:00
Vicki Pfau 45762c8f9f Util: Partially evaluate preprocessor utility macros to help MSVC chew 2023-04-03 04:45:36 -07:00
Vicki Pfau c884560fdb Util: Add alpha-based mImage compositing functions 2023-04-03 03:00:23 -07:00
Vicki Pfau cfd5572fb6 Util: Add basic mImage blit with no blending 2023-04-03 01:56:22 -07:00
Vicki Pfau 5b18089e85 Util: Add mRectangleIntersection 2023-04-03 00:39:53 -07:00
Vicki Pfau 2fca2f4395 Scripting: Export current image API 2023-04-02 03:39:14 -07:00
Vicki Pfau ed69b9f741 Scripting: Separate object freeing and deiniting 2023-04-02 03:39:14 -07:00
Vicki Pfau 42527b4c5e Util: More image creation functions 2023-04-02 03:39:14 -07:00
Vicki Pfau 6d719b529a Util: Add mImage saving 2023-03-31 02:42:01 -07:00
Vicki Pfau c8ce215d58 Util: Add image format conversion 2023-03-31 02:23:24 -07:00
Vicki Pfau 1fd974272c Scripting: Make functions able to have default arguments 2023-03-31 00:32:02 -07:00
Vicki Pfau 64408b8fd1 Scripting: Tidy up public headers 2023-03-31 00:32:02 -07:00
Vicki Pfau e80b533549 Scripting: Add read-only struct members 2023-03-31 00:32:02 -07:00
Vicki Pfau 2cba34d83a Util: Add image loading API 2023-03-26 17:49:15 -07:00
Vicki Pfau e79ae2860b Util: Start mImage/mColor APIs and tests 2023-03-22 01:42:27 -07:00
Vicki Pfau 603c1800d5 Util: Move some image stuff around 2023-03-21 21:59:49 -07:00
Vicki Pfau 9a4cf28776 Util: Namespace geometry structs to avoid conflicts 2023-03-19 03:03:55 -07:00
Vicki Pfau 96d0193136 Merge branch 'feature/canvas' 2023-03-19 02:25:31 -07:00
Vicki Pfau e3e8296105 OpenGL: Separate sizes of image and drawn layer for image 2023-03-19 02:23:37 -07:00
Vicki Pfau fc35395ab8 Core: Handle relative paths for saves, screenshots, etc consistently (fixes #2826) 2023-03-16 23:37:54 -07:00
Vicki Pfau ea3e6d6b54 Core: Fixx M_*8 macros 2023-03-15 20:53:01 -07:00
Vicki Pfau efbc4a49ce Util: Add some basic geometry math 2023-03-03 19:25:14 -08:00
Vicki Pfau d6c3b012d1 Video: Start revising VideoBackend API 2023-03-03 19:25:14 -08:00
Vicki Pfau dd531637c2 Core: Revise screen size/info API 2023-03-03 19:25:14 -08:00
Vicki Pfau e06fa02d14 Util: Fix potential socket leak 2023-03-02 20:28:48 -08:00
Vicki Pfau 9b2ba64bc6 Windows: Fix build clang-cl 2023-02-24 22:06:55 -08:00
Vicki Pfau 47de096841 Merge branch 'master' (early part) into medusa 2023-02-15 01:50:55 -08:00
Vicki Pfau 2423772654 Merge branch 'master' (early part) into medusa 2023-02-15 01:45:35 -08:00
Vicki Pfau 9991729de5 Merge branch 'master' (early part) into medusa 2023-02-15 01:38:05 -08:00
Vicki Pfau 47952e3413 Merge branch 'master' (early part) into medusa 2023-02-15 01:35:47 -08:00
Vicki Pfau 2d7c9fb038 Merge branch 'master' (early part) into medusa 2023-02-15 01:29:13 -08:00
Vicki Pfau 67a1d089d8 Merge branch 'master' (early part) into medusa 2023-02-15 01:25:14 -08:00
Vicki Pfau 123532ed6e Scripting: Add `callbacks:oneshot` for single-call callbacks 2023-02-08 19:14:36 -08:00
Vicki Pfau 63d96ab712 Scripting: Add flushing/reloading 2023-02-08 01:27:33 -08:00