Andrea Odetti
039bfc04c3
Fix a couple of issues with RGB modes.
2020-10-07 20:45:31 +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
5dee29fbf9
Make Mockingboard voice actually play.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-02 11:02:57 +01: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
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
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
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
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
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
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
9c21b59827
typedef has been removed upstream.
...
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
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
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
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
017dc307b2
Handle 80 columns mode.
...
ncurses windows handling move to a separate file.
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
4ccfa0cc56
Add support for Low Resolution graphics.
...
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