Commit graph

50 commits

Author SHA1 Message Date
Andrea Odetti
0a6de645e0 Incorporate chat * -> std::string conversion.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-09-21 09:58:29 +01:00
Andrea Odetti
197c84d556 Add missing g_Slot2.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-09-12 21:01:42 +01:00
Andrea Odetti
907474c489 Add wrappers for StringCbXXXX functions and default RegLoadXXXX.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-08-26 10:27:38 +01:00
Andrea Odetti
4d2febfb42 Linux changes for current version of AppleWin.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-08-10 16:16:44 +01:00
Andrea Odetti
1776fc8aec Upstream changes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-06-18 17:06:11 +01:00
Andrea Odetti
aada654e60 Avoid uninitialised reads if the settings are not present.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-04-27 11:31:30 +01:00
Andrea Odetti
a51118cf35 Fix all disk related function due to Disk class introduction.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-04-20 16:43:52 +01:00
Andrea Odetti
a3061f55d6 Fix new Joystick interface.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-04-19 21:13:00 +01:00
Andrea Odetti
598cb2e70e Fix compilation.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-04-19 21:07:15 +01:00
Andrea Odetti
d6abf1a93a Fix compilation.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-04-19 21:00:09 +01:00
Andrea Odetti
7ce15903bf Compile RGBMonitor too.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-04-19 20:55:23 +01:00
Andrea Odetti
e68898daf4 Fix Version macros.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-04-19 20:42:25 +01:00
Andrea Odetti
629bbfb757 Add support for the LanguageCard in Slot0 switch.
(not 100% sure how it is supposed to work).


Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-04-19 20:27:17 +01:00
Andrea Odetti
ee2c70c389 Incorporate changes about LC.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-11-03 19:20:08 +00:00
Andrea Odetti
14c5c820c1 Adapt to upstream changes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-08-25 21:17:55 +01:00
Andrea Odetti
f20a463c36 Fix missing windows macro.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-05-05 19:45:41 +01:00
Andrea Odetti
6b649bee1a Follow AppleWin and rename nCyclesLeft to uExecutedCycles.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-04-14 18:46:00 +01:00
Andrea Odetti
f0b4b8e43d Fix compilation errors.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-04-14 18:45:27 +01:00
Andrea Odetti
b29b69647d Fix code due to changes in recent merge from upstream.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-03-03 18:08:31 +00:00
Andrea Odetti
7a478fb545 Compile TestCPU6502 as well.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-02-11 20:43:26 +00:00
Andrea Odetti
da7ac10987 Add AppleWin version number in the About dialog box.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-02-06 16:50:50 +00:00
Andrea Odetti
21156bb606 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	source/Disk.cpp
#	source/DiskImageHelper.h
#	source/Memory.cpp

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-02-03 20:35:04 +00:00
Andrea Odetti
ae4be77382 Move MessageBox() to the interface to display it properly in Qt.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-15 18:58:23 +01:00
Andrea Odetti
3733da1af7 Remove configuration from libappleii and delegate it to the frontends.
In qapple we use QSettings.


Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
348ba1ecd9 Use QGamepad in QApple.
This requires an interface as napple uses libevdev.


Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
6ec2408e44 Add viewer for (Windows) Registry.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
1334d461b4 Fix support to select clones.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
8f92e63f45 Fix uninitialised data if the result is NULL.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
17d75813a7 A couple of fixes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
138ff8f94d Use MouseInterface rather than dummy implementation.
Must be enabled in data.cpp via g_Slot4 and anyway no mouse events are enabled yet.


Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
1a75e9f0de And share the joystick with QApple.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
c6789ece7b Add benchmark and fix timerID values.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
ede695bcd6 Move VideoBenchmark to libapple to be reused.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
1192f7b584 Fix window title, close event, scrollbars, fast timer when disk spins.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
0c37816c28 Move FindResource to the interface as in QT it will be handled differently.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
ce124e0aa0 It is too easy to set the wrong CPU and then nothing works.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
6996c5fc47 Avoid various uninitialised memory errors while reading Registry.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
df53415d98 Add option to benchmark emulator.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
a79a4b4a4c Fix configuration.
If the key is mssing, the output variables should not be touched.


Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
1d12b788ea Fix missing returns.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
ca7542f39a Read (part of) the registry.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
8515b20327 Add support to load the state from a snapshot file.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
05a55c0735 Add ability to save state (use F12).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
c198c24a22 Compile & link (only) SaveState.cpp.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
5c4d499e14 Reuse old implementation of the VideoGetScannerAddress (a la 1.25).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
64d7994c71 Clean up the Frame and display disk information.
Report as well some measure of the ringing frequency of the speaker.


Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
031fcab519 Add support for Open & Solid Apple.
Page Up = Open
Page Down = Solid

One should probably leave the flag up for X ms rather than a single read.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
f625e36f5c Fix usage of getcwd.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
aa57d072bc Correct handling of all 256 text characters in both Standard and Alternate charecter set.
Change flash state every 16 frames.


Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
1fccde2892 Add libapple and simple ncurses frontend.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00