Andrea Odetti
7c65e0f972
Add option to run without screen update in ncurses.
...
Useful to profile core.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-03 16:22:28 +00:00
Andrea Odetti
92c257d1e5
Improve error handling in applen and ability to build outside the source tree.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-03 10:21:02 +00:00
Andrea Odetti
d44bc6c019
Improve cmake detection of required libraries.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-03 09:36:16 +00:00
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
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
020fb5c0cb
Remove a deprecated function.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-04-20 21:01:25 +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
14c5c820c1
Adapt to upstream changes.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-08-25 21:17:55 +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
ba8221d3ee
Free resources on exit.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-02-13 08:39:17 +00:00
Andrea Odetti
04f7492e6b
For some reason the ncurses ALT-arrow key codes do not work any longer.
...
Has anything changed in ncurses?
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-02-10 17:52:35 +00:00
Andrea Odetti
1b70ca4979
Fix PkgConfig for ncursesw and add libevdev.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-02-06 17:08:50 +00:00
Andrea Odetti
6985ef40e2
Use CMake / PkgConfig to find ncurses locations and flags.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-02-06 16:58:10 +00:00
Andrea Odetti
7a6ad9f363
Ensure the MouseCard is properly reset when the emulator restarts.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-02-06 16:21:35 +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
03de883889
Modularise CMakeLists.txt
...
qapple does not run at the moment: can find configuration file.
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
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
10339131fd
Decouple Input from ncurses frontend to reuse it in QApple (Fedora does not package QGamepad yet).
...
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
9c21b59827
typedef has been removed upstream.
...
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
91678645a7
Add option to save configuration on exit.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
c9a6d7688e
Add option to create missing floppy disks.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
eba2cea5ca
Display moving average of speed.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
e68748a158
Allow to control of high resolution graphics.
...
Horizontal resolution: x1 x2 x3 4 x5 x6 x7.
Vertical: x1 x2 x4.
Use Alt-arrows to change.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
a43cf5cf8a
More uniform allocation of pixels in the 4th column to each sides with half the weight.
...
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
863a9d3671
Write a little measure about current execution speed.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
b63f232ebe
Use evdev to handle a joystick.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
26e377e3a1
Fix LowRes colors (swapping foreground and background).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
d8d2cc2412
Clean at the end.
...
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
f42d7e9fcc
Add option to control memory initialization.
...
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
2aae3592c4
Rationalise a bit the command line arguments.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
ae4c010564
Anonymous namespace and indentation.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
2b60a1e0a7
Pass Ctrl-C to the emulator.
...
Use F2 to leave.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
97e672cf4d
Add missing diagonal element to the ASCIIArt table.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
50b84e06fe
Add support for a text mode high resolution graphics.
...
Using Unicode quarter blocks the effective resolution is (40x2)x(24x2).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
e7ddcd6b82
Small changes, but in particular wcolor_set to handle > 256 color pairs.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
ab831ed2db
Rename to avoid clashes with Frame.h in a case insensitive filesystem.
...
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