Commit graph

2636 commits

Author SHA1 Message Date
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
Andrea Odetti
1905590b27 Merge remote-tracking branch 'upstream/master' 2021-02-07 20:01:36 +00:00
Andrea Odetti
c2fab20d0c Make the volume slider work.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-07 19:55:11 +00:00
Andrea Odetti
dc9bd91f84 Add some more ImGui example settings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-07 19:23:33 +00:00
tomcw
f3b6b8665f Debugger: fixes to wrap 16-bit addr (was resulting in AppleWin debugger crashes) 2021-02-07 16:58:11 +00:00
Andrea Odetti
7865fc3457 First meaningful usage of ImGui features.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-07 16:10:54 +00:00
Andrea Odetti
c8ad71ed07 Merge remote-tracking branch 'upstream/master' 2021-02-07 14:09:44 +00:00
Andrea Odetti
1b3c3f6711 Fix SDL rectangle frame.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-07 14:00:45 +00:00
Andrea Odetti
4ae655caab Fix a few issues reported by clang.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-07 13:46:50 +00:00
Andrea Odetti
0b692ee7f8 Some CMakeLists improvements.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-07 13:46:21 +00:00
tomcw
c492004e8d 6522 read: support non 4-cycle read opcodes (#833)
. ie. addr modes: (zp,x), (zp),y and (zp)
2021-02-06 18:02:35 +00:00
Andrea
f3d5cb3f10
Merge pull request #21 from audetto/sdlimgui
Integrate Dear ImGui as a renderer over SDL2
2021-02-06 17:36:39 +00:00
Andrea Odetti
cfc7b719fe Cosmetic change.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-06 17:13:47 +00:00
Andrea Odetti
93bebd3eb0 Add travis support for Dear ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-06 17:09:27 +00:00
Andrea Odetti
53a6928991 Display Dear ImGui version.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-06 17:09:06 +00:00
Andrea Odetti
a3381bfcb6 Define ImTextureID in main config file.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-06 16:55:41 +00:00
Andrea Odetti
989410c17d Integrate Dear ImGui with SDL to reduce code duplication.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-06 16:55:08 +00:00
Andrea Odetti
05b2d5b2e7 Split SDLFrame to ease integration of ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-06 10:11:29 +00:00
tomcw
f302e88f55 Add 6522 support for stz abs16 and stz abs16,x 2021-02-05 22:30:05 +00:00
Andrea Odetti
ad5b6628b5 Merge remote-tracking branch 'upstream/master' 2021-02-04 10:13:57 +00:00
Andrea Odetti
ea0a3cb5ba Fix string comparison in cmake.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-04 10:12:51 +00:00
Andrea Odetti
5594c4fbc8 Fix for in-place builds.
Which are not recommended anyway.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-03 18:34:53 +00:00
tomcw
fcafa18340 Debugger: add red 'IRQ' after the v/h-pos when IRQ is being asserted to the 6502 2021-01-31 19:38:06 +00:00
Andrea Odetti
bb2fce9e72 Fix libretro compiler bug.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-31 14:31:19 +00:00