Commit graph

1183 commits

Author SHA1 Message Date
Andrea Odetti
ea044268de Small "const" addition.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-12 20:19:25 +00:00
Andrea Odetti
e49275ee9d Ensure keys are visible.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-12 20:19:10 +00:00
Andrea Odetti
2462743edd Save and restore geometry.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-12 20:18:58 +00:00
tomcw
d2010860ef Debugger: refactor common code into GetTargets_IgnoreDirectJSRJMP() 2019-12-09 21:00:58 +00:00
tomcw
87677ed4c3 Debugger: In _6502_GetTargets() removed the bool bIgnoreJSRJMP parameter. 2019-12-09 20:42:16 +00:00
tomcw
f0e840f8e0 Debugger: Support BPMR for JMP (abs) and JMP (abs,x). (#451) 2019-12-09 19:13:24 +00:00
tomcw
b1316dc3da Debugger: Fixed regression at prior commit dd274bc000 for bpm addr16 not triggering.
. Extended debugger regression tests to catch this (and test many other variants).
2019-12-09 16:27:13 +00:00
Andrea Odetti
20852fcb2a Add a few command line options to run the tests automatically.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-08 20:21:35 +00:00
Andrea Odetti
900c9ab40b Merge remote-tracking branch 'upstream/master' 2019-12-08 19:14:51 +00:00
tomcw
ba7a4005b0 DiskII: fixes for Wasteland for both .nib & .woz images (#733) 2019-12-08 16:23:29 +00:00
Andrea Odetti
f50d303765 Correct video load/save state.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-07 15:26:45 +00:00
Andrea Odetti
20a01a5ea9 Keyboard load/save state from yaml file.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-07 15:25:12 +00:00
Andrea Odetti
874f4be666 Single keyboard handler.
Seems to work...

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-07 11:20:37 +00:00
Andrea Odetti
84332ada39 Minor change.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-06 20:36:28 +00:00
Andrea Odetti
187739f913 Forgotten destructors...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-06 20:00:16 +00:00
Andrea Odetti
45721b3fc5 Allow to change monochrome color.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-05 21:37:39 +00:00
Andrea Odetti
35765e23e4 Fix a bug when a file canno tbe opened.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-05 20:59:00 +00:00
Andrea Odetti
77490c6d48 Update QHexView
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-02 20:54:13 +00:00
Andrea Odetti
eb3c11c672 Add option for 50Hz video.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-02 20:50:51 +00:00
Andrea Odetti
7c90b040ef Reduce some boilerplate with global and aw's options.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-01 19:49:11 +00:00
Andrea Odetti
177f345861 Cap time in each slice to avoid pathological cases.
E.g. when debugging.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-01 18:59:20 +00:00
Andrea Odetti
f2d06cb18d Expose timers in preferences.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-01 18:58:32 +00:00
Andrea Odetti
bad18cafbf Rename configuration.* options.*
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-01 18:40:28 +00:00
Andrea Odetti
e8022bf6a0 Cleanup CMakeLists.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-01 15:22:17 +00:00
Andrea Odetti
76a1663282 Update some memory comments.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-01 14:39:57 +00:00
Andrea Odetti
c2baf8dc83 Use QHexView rather than qhexedit2.
It seems more supported and offers comments and metadata highlights.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-01 14:29:13 +00:00
Andrea Odetti
31340919de Move Qt UI to private member.
This way it is clear which variables comes from the ui component.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-30 15:48:48 +00:00
Andrea Odetti
54057134cb Remove warnings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-30 11:20:59 +00:00
Andrea Odetti
2820e811f8 Extremely hard to measure.
But it seems ARGB32_Premul is (very) marginally better.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-29 20:31:31 +00:00
Andrea Odetti
ee09f828ee Better benchmark calculation:
1) Pure Video Hi Res and Text are the same thing
2) Realistic FPS was actually wrong as it would only CPU update the video for the first 10 frames

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-29 20:19:23 +00:00
Andrea Odetti
19c9193412 Use video mode in window title.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-29 20:18:29 +00:00
Andrea Odetti
f66e46ec1d Fix RGB to set alpha=255 or Qt makes the widget transparent.
NTSC does it already.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-29 20:17:43 +00:00
Andrea Odetti
00df2f93a5 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	source/RGBMonitor.cpp
2019-11-29 19:55:41 +00:00
Andrea
6af3b0b028 Color (RGB Monitor): speed up 'Pure CPU MHz (video update)'. (PR #730) 2019-11-28 22:06:34 +00:00
tomcw
dd274bc000 Debugger: BPMR|W - ignore next opcode's fetch address as a candidate for memory trap address (#451) 2019-11-27 22:14:16 +00:00
Andrea Odetti
5ad8fb3e1b Factor some functions outside the loop to improve speed.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-27 17:41:22 +00:00
Andrea Odetti
9ca7485f52 Update VideoBenchmark code to differentiate screen image generation vs blitting.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-25 21:08:01 +00:00
Andrea Odetti
151c6c92f9 Add Video settings.
+ F9 to cycle video modes.
2019-11-24 21:06:55 +00:00
Andrea Odetti
17b43a9ded Avoid unused warning.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-24 19:30:58 +00:00
Andrea Odetti
256815eff9 Rationalise QApple options.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-24 19:30:34 +00:00
Andrea Odetti
7c61888447 Rename options -> preferenceData
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-24 17:43:43 +00:00
Andrea Odetti
43f0b140a6 Rename settings.* -> registry.*
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-24 17:34:37 +00:00
tomcw
4d12a23c68 Make soundtype default to WAVE (not NONE)! (#355) 2019-11-24 15:57:33 +00:00
Andrea Odetti
35a81f8009 applen: add --log, --ntsc, and log time till first $C000 access. 2019-11-23 20:34:24 +00:00
Andrea Odetti
7529f5c659 Reworked the entire wondows.h replacement.
wincompat.h is a stripped down version coming from linapple-pie with the bare minimum common types.
Each group of functions in its own file.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-23 18:17:44 +00:00
Andrea Odetti
6f0a71a330 Merge remote-tracking branch 'upstream/master' into ntsc 2019-11-22 20:33:27 +00:00
Andrea Odetti
4792c2eeed Remove custon video processor in favour of AppleWin's.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-22 20:32:32 +00:00
Andrea Odetti
d18269fb2d First (succesful) attempt at using NTSC code in Linux.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-20 21:23:27 +00:00
tomcw
7d38b1ba38 CPU save-state: added 'Defer IRQ By 1 Opcode' (v5) and comments for why the other state doesn't need saving 2019-11-18 15:08:59 +00:00
Andrea Odetti
9c7abcab91 Compile NTSC * NTSC_CharSet from AppleWin.
Video is still duplicated.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-17 13:57:34 +00:00