Andrea Odetti
8e36c2c7b3
Add header files to cmake project.
...
So they appear in QtCreator.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-12 12:52:26 +00:00
Andrea Odetti
9ff3544535
Support F5 = DriveSwap() in applen.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-01-03 18:50:17 +00:00
Andrea Odetti
ed27650368
Allow users to specify Paddle device for applen.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-31 14:34:00 +00:00
Andrea Odetti
faca71ace7
Incorporate changes to FrameBase and Video.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-30 18:28:27 +00:00
Andrea Odetti
247b51b2ab
Integration of GetVideo().
...
Part 1.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-28 19:42:04 +00:00
Andrea Odetti
3a063463ca
For consistency with Registry::instance.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-28 18:44:47 +00:00
Andrea Odetti
7d6439fefd
Introduce a LinuxFrame.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-27 20:25:42 +00:00
Andrea Odetti
675d1316a9
Add a Registry interface to for more flexibility on case by case usage.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-27 19:43:35 +00:00
Andrea Odetti
ba6aaf6775
applen: make --headless really skip ncurses initialisation.
...
Stop with Ctrl-C.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-19 15:40:16 +00:00
Andrea Odetti
986cf9b896
Make size of hi-res for applen work on Pi3.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-15 17:37:21 +00:00
Andrea Odetti
5de5af3fe8
Move all initialisation for (sa2, applen, retro2) to common2.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-13 19:47:30 +00:00
Andrea Odetti
5c7eaea49e
applen: remove unused left buffer.
...
Move keys to ALT to resize the window.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-13 18:52:39 +00:00
Andrea Odetti
edb93cbaa0
Integrate memory changes from AW.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-11 08:28:16 +00:00
Andrea Odetti
1d07215f78
Add ability to Save/Load Snapshot F11/F12.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-06 18:03:41 +00:00
Andrea Odetti
a5734cac10
Use GetAppleWindowTitle() from AW.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-29 16:37:45 +00:00
Andrea Odetti
8e6fc89384
From AW's master, AppleWin.cpp split.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-27 13:48:53 +00:00
Andrea Odetti
9cd8b22647
Use Frame.cpp from upstream.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-24 07:51:50 +00:00
Andrea Odetti
cadb72442a
Use Video.cpp "as is".
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-22 09:36:28 +00:00
Andrea Odetti
c7a8c628e4
Changes required from upstream.
2020-11-12 18:43:04 +00:00
Andrea Odetti
7037582907
Allow to turn the circle range of a gamepad to a square (as the Apple ][).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-17 19:19:46 +01:00
Andrea Odetti
d314546b11
Paddle: make raw interface to return values in [-1,1] to ease transformations.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-15 16:24:20 +01:00
Andrea Odetti
a72d19b386
Couple of fixes from upstream AW.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-12 20:58:32 +01:00
mariofutire@gmail.com
dab1735a69
Logging / Config replated changes.
...
sa2 / applen add flag to load qt init file (--qt-ini) (read only for now)
unify logging (--log)
Signed-off-by: mariofutire@gmail.com <pi@raspberrypi>
2020-10-11 20:14:01 +01:00
mariofutire@gmail.com
bc74b5fbfb
Implement save-on-exit configuration flag.
...
Signed-off-by: mariofutire@gmail.com <pi@raspberrypi>
2020-10-11 20:13:50 +01:00
Andrea Odetti
24621373dd
Better way to share data between ncurses and sdl2.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-09 19:13:42 +01:00
Andrea Odetti
274ef6a796
Fix sa2 to work with recent code.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-09 10:31:18 +01:00
Andrea Odetti
8b081725ce
More SDL WIP.
2020-10-09 09:46:15 +01:00
Andrea Odetti
ae0194d5b1
Merge branch 'master' into sdl4
...
# Conflicts:
# source/CMakeLists.txt
# source/frontends/ncurses/main.cpp
# source/frontends/ncurses/resources.cpp
2020-10-09 09:17:55 +01:00
Andrea Odetti
039bfc04c3
Fix a couple of issues with RGB modes.
2020-10-07 20:45:31 +01:00
Andrea Odetti
13edefa6e0
Add support for older cmake versions.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-06 20:58:43 +01:00
Andrea Odetti
60beb9aa58
Add installation and packaging in cmake.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-12 15:53:53 +01:00
Andrea Odetti
2ebcb856a3
dirname cant return null.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-12 10:29:45 +01:00
Andrea Odetti
ce0db1f74f
Use a dynamic relative path to locate resources.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-12 10:26:17 +01:00
Andrea Odetti
a310d50da4
applen: partially better way to locate resources if application is launched from different folder.
...
When loading snapshot, chdir so relative paths can be found.
Ensure endwin() is called.
Use an "int" to exit the process rather than a exit().
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-12 10:24:27 +01:00
Andrea Odetti
9c442468f5
Compile AW's Speaker.cpp and remove custom implementation.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-08 16:52:00 +01:00
Andrea Odetti
40d3e822e9
Make resource interface based on "char *" as it is easier to detect a nullptr.
...
Can't change the return type to std::string.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-07 20:13:26 +01:00
Andrea Odetti
ad1b6774ae
Fix Mockingboard in applen.
...
(not playing, but not crashing)
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-05 19:10:24 +01:00
Andrea Odetti
36e774ab6e
Merge branch 'master' into mockingboard
2020-07-05 14:43:42 +01:00
Andrea Odetti
74cab50cee
Remove dependency on std::filesystem and fix a compilation error.
2020-07-05 13:20:03 +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
5536050b71
Use c++ sleep_for rather than usleep.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-30 14:02:39 +01:00
Andrea Odetti
f3bff96968
First draft of the SDL2 port.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-02-08 10:21:13 +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
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
e8022bf6a0
Cleanup CMakeLists.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-01 15:22:17 +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
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
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