Commit graph

2959 commits

Author SHA1 Message Date
Andrea Odetti
db874d37be Formatting.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-13 20:57:33 +00:00
Andrea Odetti
665245bf7b Bug fix in AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-13 20:56:31 +00:00
Andrea Odetti
d99d35013d Add support for symbols.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-13 20:56:19 +00:00
tomcw
3f75012c0e Windows speech: trap calls to COUT1 and BASICOUT (instead of COUT) (#934) 2021-03-09 21:06:37 +00:00
Andrea Odetti
dd6455ceb9 Add 6502 disassembler.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-07 20:32:24 +00:00
tomcw
0858cc3a23 Debugger: improve mem views for 6522 & AY8913 chips 2021-03-07 13:11:22 +00:00
Andrea Odetti
883cbdd404 Merge remote-tracking branch 'origin/debug' into memory 2021-03-06 18:13:22 +00:00
Andrea Odetti
8499ccb692 Add info about g_nAppMode to settings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-06 18:00:31 +00:00
Andrea Odetti
03329bba84 Add memory viewer using imgui_club/imgui_memory_editor.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-06 18:00:07 +00:00
Andrea Odetti
ddd1c4f301 Move ImGui Settings window(s) to a separate class.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-06 17:41:32 +00:00
tomcw
3766c1e014 Debugger: fix to wrap 16-bit addr for mem watch (was getting AppleWin debugger crash) 2021-03-02 18:14:36 +00:00
Andrea Odetti
ec56d2ee00 Separate disassembler functions from display.
Makes it easier to use them in different environments.
2021-03-01 19:21:30 +00:00
Andrea Odetti
8d8782946b Memory 2021-02-28 17:02:30 +00:00
Andrea
462f02e77f
Merge pull request #26 from audetto/imgui
Make ImGui a module.
2021-02-26 09:04:12 +00:00
Andrea Odetti
0459fd3ba9 Make ImGui a module.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-25 16:56:36 +00:00
Andrea Odetti
c416eee9df sa2: add namespace and remove tabs.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-25 16:31:24 +00:00
Andrea Odetti
6066a52592 applen: add namespace and remove tabs.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-25 16:25:09 +00:00
Andrea Odetti
56511affa2 libretro: add namespace ra2 and remove tabs.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-25 16:24:52 +00:00
Andrea Odetti
3b917e93be common2: add namespace and reformat everything with space over tabs.
This makes it "possible" to use other editors (than emacs).

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-25 16:04:50 +00:00
Andrea Odetti
9366956c49 Merge remote-tracking branch 'upstream/master' 2021-02-23 19:32:19 +00:00
Andrea Odetti
c81b4ab1bf ImGui: fix event handling.
1) always pass events to ImGui
2) only pass keyboards to AW when ImGui says so
2021-02-23 19:32:00 +00:00
Andrea Odetti
fdfbb795d1 CAPS LOCK: use the same logic as AW.
Force it when the emulator starts, and follow its real state as soon as it is pressed.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-21 19:14:50 +00:00
tomcw
2d086e87ec Support 2nd SSI263 at $Cn20
Phasor doesn't support reading AY8913 regs
2021-02-21 19:12:36 +00:00
Andrea Odetti
d9c6541f73 Inspired from https://github.com/audetto/AppleWin/pull/25
Add menubar to toggle demo and setting window.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-21 18:43:46 +00:00
Andrea Odetti
799ffc7604 Fix https://github.com/audetto/AppleWin/issues/23
Page 2 is not used if 80STORE is set.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-20 16:47:41 +00:00
Andrea Odetti
b78a2224d0 Support Enter key on keypad.
Honour the Caps Lock state (inverted).

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-20 16:14:03 +00:00
Andrea Odetti
4137238cd7 Merge remote-tracking branch 'upstream/master' 2021-02-20 15:54:28 +00:00
Andrea Odetti
956427bea8 Update QHexView.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-20 15:24:08 +00:00
Andrea Odetti
3e5a6aa520 Extend geometry arg to WxH(+X+Y).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-20 15:21:53 +00:00
tomcw
2cd2f013e6 Disk: improve DebugTrackWOZ() func 2021-02-20 12:32:29 +00:00
Andrea Odetti
07900d5c38 Add frame timer.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-20 08:38:53 +00:00
Andrea Odetti
20092dccb9 Merge remote-tracking branch 'upstream/master' 2021-02-20 08:29:52 +00:00
tomcw
0bb34bfb48 Disk: remove debug DumpSectorWOZ() func 2021-02-19 16:21:44 +00:00
tomcw
62ade07746 Resource: bump (c) year 2021-02-19 15:54:22 +00:00
tomcw
c906fb5872 Help doc: bump (c) year 2021-02-19 15:51:34 +00:00
tomcw
b6f51bde9f Help doc: Troubleshooting 'switch to 2x mode' 2021-02-18 21:13:32 +00:00
Andrea Odetti
cb166dc47f Merge remote-tracking branch 'upstream/master' 2021-02-18 16:34:31 +00:00
tomcw
a709e9dbdf MB/SSI263: improve logging to include phoneme duration 2021-02-17 21:53:15 +00:00
tomcw
2f4bbd2b8a Avoid ASSERT from MB_Reset() on exit 2021-02-15 21:47:21 +00:00
tomcw
4e88163430 MB/6522: better reset support - only ACR,IFR,IER affected 2021-02-13 16:56:29 +00:00
Andrea Odetti
282e024c37 Merge remote-tracking branch 'upstream/master' 2021-02-13 14:07:18 +00:00
Andrea Odetti
a75833847e Add cmd line option to switch off vsync.
Useful to profile.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-13 13:09:55 +00:00
Andrea Odetti
3051fbe3fe Make ClearBackground a standalone function.
Guidelines suggest to always clear background each frame.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-13 12:56:21 +00:00
Andrea Odetti
d912026f3e Add options to specify SDL window size via cmd line arguments.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-13 12:56:06 +00:00
Andrea Odetti
b204dc5362 Split glTexImage2D and update via glTexSubImage2D.
From the doc, it might allow for better performance.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-13 12:55:32 +00:00
tomcw
84a705d20d MB/6522: improve T1 underflow with latch 2021-02-12 19:16:14 +00:00
tomcw
ff29b055ce MB/6522: fix timer1 underflow for very small values 2021-02-11 22:44:40 +00:00
Andrea
8c2b38d19d
Enable ConformanceMode in VS2019. (PR #923)
This reduces the chances of incompatibility between gcc and vs.

99% is "const char *" literals.
1 case of a goto jumping over a variable declaration (but it is not needed).
2021-02-10 21:05:00 +00:00
Andrea
466207f5d3
Save-state: load/save dialog: Remove ; to concatenate string and avoid unused code. (PR #924) 2021-02-10 20:55:58 +00:00
tomcw
776a48fc01 MB/6522: support for T1 latch in one-shot mode 2021-02-10 20:51:11 +00:00