Commit graph

2022 commits

Author SHA1 Message Date
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
01e55a380f Fix cmake output message.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-01 18:40:50 +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
725510f238
Update linux.md 2019-11-22 20:50:02 +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
37db160bd5 Addition to History.txt 2019-11-18 16:45:35 +00:00
tomcw
91f1294220 1.29.6.0: Updated version and History.txt 2019-11-18 15:11:55 +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
tomcw
b82de931a1 Fixed 6522 timer interrupt which was occurring 1 cycle late (#711) 2019-11-17 12:26:14 +00:00
TomCh
d1b595f7bd
Fix for "Mad Effect 1&2" demos (PR #725)
. 6502 interrupt delays 1 opcode when interrupt occurs on last cycle of opcode (#724).
. Only 1-cycle delay for VF_TEXT & VF_MIXED mode changes (#656).
NB. Mad Effect 1 still has a bit of flicker on Space Invader (left edge)
2019-11-16 23:49:21 +00:00
Andrea Odetti
add4e526a9 Split dummies into duplicates of AppleWin files.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-16 17:01:11 +00:00
Andrea Odetti
4d0af5d3ca Added a custom version of QPainter which seems to perform much better 20%->11% CPU.
It only works if all images involved have the same format.
Using some typedefs, one can revert to the old QPixmap behaviour.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-16 17:00:35 +00:00
Andrea Odetti
54d418725e Add a few correct card names, so the snapshot loading does not fail.
But, these cards are still ignored.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-13 21:01:28 +00:00
Andrea Odetti
1da46e89e1 Small cosmetic improvements.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-13 21:00:43 +00:00
Andrea Odetti
342697e983 Merge branch 'audio2' 2019-11-11 20:59:32 +00:00
Andrea Odetti
e638f63f6e Add safety check that ZeroMemory is never called on a c++ complex class.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-11 20:57:39 +00:00
Andrea Odetti
7d7e46f7ec Merge remote-tracking branch 'upstream/master' 2019-11-11 20:56:30 +00:00
tomcw
97e73c632d Full-speed: new VideoGetVblBarEx() required when called from main loop 2019-11-11 19:55:46 +00:00
tomcw
8aff6addff History.txt updated 2019-11-11 18:44:24 +00:00
tomcw
3c6d5d1e76 Phasor: fixed noisy playback for AE's player. (Fixes #659) 2019-11-11 17:35:10 +00:00