Commit graph

2605 commits

Author SHA1 Message Date
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
Andrea Odetti
cc55d9e681 Modern syntax: virtual -> override.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-31 13:55:43 +00:00
Andrea Odetti
3215f2aff3 Merge remote-tracking branch 'upstream/master' 2021-01-31 13:27:47 +00:00
Andrea Odetti
e376b787cd Update QHexView.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-31 13:26:47 +00:00
Andrea Odetti
be1772bc37 Use RAII pattern to initialise and clear AppleWin emulator.
Plays better with exceptions.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-31 13:26:23 +00:00
tomcw
fad4dd2ad1 Disable debug-logging for previous AY8913 fix 2021-01-30 12:50:33 +00:00
tomcw
024e97ac9b MB-AY8913 fix so that no AY changes get dumped (#770)
. Needed for read of AY8913 regs too, during built-in debugger stepping (mb-audit)
2021-01-30 10:34:46 +00:00
tomcw
a3666edf48 MB: read fix 2021-01-28 20:15:23 +00:00
tomcw
735317ae17 .gitignore builds results from v141_xp folders 2021-01-20 21:40:12 +00:00
Andrea
baad40f3b8
SpkrSetEmulationType(): simplify logic and remove unreachable code. (PR #919) 2021-01-20 21:30:34 +00:00
Andrea Odetti
f61e73b639 Move resources, bitmaps and messageboxes into Frames.
And remove a few windows.h interface functions used before.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-20 19:07:18 +00:00
Andrea Odetti
217e9ab2cc Merge remote-tracking branch 'upstream/master' 2021-01-20 11:02:08 +00:00
Andrea
cdf1cb9106
Remove usages of g_hFrameWindow and g_hInstance from core emulator files. And Resource related Win32 functions. (PR #915)
. Win32Frame: remove WM_USER_RESTART.
2021-01-19 20:37:43 +00:00
Andrea Odetti
d3e25773dc Add configuration for printer filename. 2021-01-19 12:18:12 +00:00
tomcw
81279904e2 Pravets: fix bug in ctor 2021-01-18 20:30:51 +00:00
Andrea Odetti
75b64a019d Merge remote-tracking branch 'upstream/master' 2021-01-18 08:01:24 +00:00
tomcw
44fa610ef6 Pravets.cpp: convert to UTF8 to allow VS2019 to build 2021-01-17 22:21:33 +00:00
Andrea Odetti
a3bb062260 Required from upstream.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-17 20:19:12 +00:00
Andrea Odetti
094e09a6d1 Merge remote-tracking branch 'upstream/master' 2021-01-17 20:11:20 +00:00
tomcw
5d46298dcc Mockingboard: support AY-3-8913 read 2021-01-17 19:51:25 +00:00
TomCh
daa0675694
Pravets refactor: move all specialisations into new Pravets class. (PR #914)
Mainly for keyboard & printer specialisations.
2021-01-17 10:48:06 +00:00
tomcw
fc3a0f57ce Win32Frame: Fixes for VS2008 2021-01-16 22:13:02 +00:00
Andrea
61db149eab
Move last remaining globals from WinFrame.cpp to class Win32Frame. (PR #913) 2021-01-16 21:57:28 +00:00
Andrea Odetti
fee6720fb4 Fix qmake project.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-16 19:07:07 +00:00
Andrea Odetti
620fa10454 Remove redundant CPU check and data.h / .cpp. 2021-01-16 16:26:43 +00:00
tomcw
440831179f Keyboard: improve illegal keycodes handling for II/II+ and clones. 2021-01-16 11:01:18 +00:00
tomcw
7d2ddb3556 Base 64A: support special F2 key via the Delete key (GH#912) 2021-01-14 21:32:59 +00:00
Andrea Odetti
e80fee86c5 Merge remote-tracking branch 'upstream/master' 2021-01-14 14:44:09 +00:00
Andrea Odetti
ad56874b0f Fix missing call to FrameBase::Destroy().
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-14 14:39:37 +00:00
Andrea Odetti
6ca8aedcf2 Add NFrame.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-14 14:39:18 +00:00
TomCh
960e5d99bc
Update README.md
+ LC, Saturn & NSC
2021-01-14 12:15:29 +00:00
Andrea
816e22524f
VideoReinitialize(): remove default arg & refactor out common code (PR #911) 2021-01-13 22:02:48 +00:00