Andrea Odetti
ac6bc48f60
Fix wrong list of preferences in Slot5.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-06 20:30:37 +01:00
Andrea Odetti
a29e781de0
Reduce calls to chdir() and only do it before loading a snapshot as it helps with relative disk locations.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-05 18:07:13 +01:00
Andrea Odetti
38908c7d6d
Fix memory leak.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-05 14:42:56 +01:00
Andrea Odetti
0539fd9a69
Simplify initialisation.
...
Just reinitialise everything on soft reboot.
Make sure audio is stopped when emulator is reinitialised.
Stop timers while reinitialising.
2020-07-04 19:59:20 +01:00
Andrea Odetti
3cfea2da07
Add some safety around IDirectSoundBuffer::Release().
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-04 19:57:15 +01:00
Andrea Odetti
5dee29fbf9
Make Mockingboard voice actually play.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-02 11:02:57 +01:00
Andrea Odetti
259428a946
Add support for a (munte) mockingboard.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-30 15:43:06 +01:00
Andrea Odetti
b01bfe8b49
Rework a bit the way keys are processed.
...
Add Ctrl-'-' = 0x1f.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-19 18:23:29 +01:00
Andrea Odetti
8502d4b0d9
Use AltGr and Menu to avoid overloading Ctrl keys.
...
Unfortunately Alt does not work: not all key events are triggered.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-18 20:13:29 +01:00
Andrea Odetti
7acac5cd22
Add support for Tab.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-18 13:56:24 +01:00
Andrea Odetti
a7e75078bb
Add support for Open/Closed Apple with Left/Right Ctrl.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-18 13:56:14 +01:00
Andrea Odetti
457fc184d9
Save and restore emulator window geometry as well.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-16 20:15:58 +01:00
Andrea Odetti
42a3294791
Treat Backspace as Left (same as AW).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-15 10:53:42 +01:00
Andrea Odetti
059820847a
Support Ctrl characters.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-15 10:13:16 +01:00
Andrea Odetti
fc88f17dc5
Add support for JPlus.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-04-13 16:46:41 +01:00
Andrea Odetti
93990b0055
Small changes to compile with latest version.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-02-22 19:00:42 +00:00
Andrea Odetti
0191652565
First part of merge of new CardManager code.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-31 18:19:45 +00:00
Andrea Odetti
24e0b17135
Works on Raspbian.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-14 21:18:00 +00:00
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
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
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
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
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
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
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
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
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