Andrea Odetti
f13816262d
Clean up multithreading code and offer it via command line options.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-13 11:51:20 +00:00
tomcw
6f38260b10
Renamed Applewin.cpp to AppleWin.cpp
2020-11-12 20:59:22 +00:00
tomcw
da383033a1
VS2008: fixed after recent include changes
2020-11-12 20:55:28 +00:00
Andrea Odetti
ef114f9e64
Make the mutex protect AW rather than SDL.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-12 20:48:44 +00:00
Andrea Odetti
6a16d416a4
threads 2
2020-11-12 20:33:04 +00:00
Andrea Odetti
314c647daf
more threads
2020-11-12 19:51:45 +00:00
Andrea Odetti
b360d27f22
split
2020-11-12 19:31:35 +00:00
Andrea Odetti
892c6e383f
Remove some more diffs wrt AW.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-12 19:16:35 +00:00
Andrea Odetti
4ff7741a41
Fix previous sdl ppp commit, too messy to revert.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-12 18:52:52 +00:00
Andrea Odetti
c7a8c628e4
Changes required from upstream.
2020-11-12 18:43:04 +00:00
Andrea Odetti
aa473958d0
Merge remote-tracking branch 'upstream/master' into pi
...
# Conflicts:
# source/Disk.cpp
# source/DiskImageHelper.cpp
# source/DiskImageHelper.h
# source/Memory.h
# source/MouseInterface.cpp
2020-11-12 18:30:39 +00:00
tomcw
bd1d65ce4f
Renamed Applewin.h to AppleWin.h across entire project
2020-11-11 22:12:39 +00:00
Andrea
01ad5d1882
Ensure all header files can be included (in any order) after stdafx.h. (PR #866 )
2020-11-11 21:15:27 +00:00
Andrea Odetti
0dda605c36
ppp
2020-11-11 11:20:06 +00:00
tomcw
9cc49af0dc
VS2008 vcproj: added DirectInput.cpp/h
2020-11-10 20:47:25 +00:00
Andrea
8cc04e2b86
Cumulative changes required to enable / ease compilation in Linux with gcc. (PR #861 )
...
Split MouseInterface to isolate DirectInput code.
Avoid overflow in platforms where RAND_MAX is a big integer constant.
Fix include files for gcc (where enums cannot be forward declared).
2020-11-10 20:33:55 +00:00
Andrea Odetti
c2105bfe1f
Merge remote-tracking branch 'upstream/master'
2020-11-03 11:50:54 +00:00
tomcw
e6e16a3c0b
Removed NSC support for II/II+ models. ( #827 )
2020-11-02 21:41:02 +00:00
tomcw
1e43b331f3
RGB Card support: treat AppleColor card as an alias of SL7 ( #851 )
2020-11-01 16:39:53 +00:00
tomcw
fb0871672c
RGB card support: ( #850 )
...
. removed the precondition for enabling the extra RGB DHIRES modes
. changed IOUDIS soft-switch so that it's for //c only
2020-10-31 16:10:18 +00:00
tomcw
e24436f7ec
Fixed issue during TRIBU (cycle-accurate demo) if: Config->uncheck 50Hz & OK, but cancel emulator restart
2020-10-25 21:35:17 +00:00
Andrea Odetti
66ab6dde9d
Merge remote-tracking branch 'upstream/master'
2020-10-25 18:45:36 +00:00
ThorstenB
4543117f81
More clean-up, portability and another debugger fix (PR #847 )
...
Fixed debugger main "data" window behaviour:
. When activating the main data display ("data" command) the cursor keys wouldn't work until the minidump ("md1") was also enabled. NB. The cursor keys should work in the main data window, independently of whether the minidump is active.
2020-10-25 17:27:59 +00:00
TomCh
43455eb4fe
Improved determining path & filename when saving/loading a save-state ( #691 ) (PR #849 )
...
Whenever harddisks/disks are inserted (or removed) and *if path has changed* then:
. Then the internal save-state's path & filename will be updated to reflect the new defaults.
. LoadConfiguration(): Read the save-state pathname from Registry before harddisks/disks.
Also:
. CiderPress: only save pathname on OK.
. Refactored CPropertySheetHelper::BrowseToFile().
. Extended support for -d1,-d2,-h1, etc such that if the param is "", then it will eject/unplug the disk/harddisk.
2020-10-25 17:14:23 +00:00
Andrea Odetti
d28ac063db
Merge remote-tracking branch 'upstream/master'
2020-10-20 15:33:04 +01:00
Andrea Odetti
3ba2cd6d98
SDL2 add audio.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-20 15:32:45 +01:00
tomcw
aa322dbd53
Fixed loading a save-state where both Phasor 6522's Timer1s are active (eg. DIGIDREAM demo)
2020-10-18 19:32:18 +01:00
Andrea Odetti
da37dfe17c
QApple fix name of video types.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-18 18:43:45 +01:00
Andrea Odetti
b5630539df
Bug fix about to using the correct CardManager.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-18 10:55:58 +01: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
daa57cc1a0
Merge remote-tracking branch 'upstream/master'
2020-10-17 14:42:56 +01:00
tomcw
37009e287d
Renamed enum: VT_COLOR_MONITOR_RGB to VT_COLOR_IDEALIZED
2020-10-17 14:26:33 +01:00
tomcw
a3f5989176
Idealized video: support Double-Hires-40 for FT DIGIDREAM demo
2020-10-17 12:31:44 +01:00
tomcw
4defaa80fb
Help docs: updated for RGB card/monitor support
2020-10-15 21:41:14 +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
e8972aa824
Add support for gamepads (hardcoded to be the first).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-15 12:55:27 +01:00
Andrea Odetti
4866867d06
Merge remote-tracking branch 'upstream/master'
2020-10-12 21:10:21 +01:00
Andrea Odetti
d4fa3f6a2c
Remove Ctrl-Q shortcut as it interferes with emulator.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-12 21:01:13 +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
Andrea Odetti
b100ed1ae0
Merge remote-tracking branch 'upstream/master'
...
# Conflicts:
# source/Speaker.cpp
2020-10-12 20:41:59 +01:00
Andrea Odetti
9320db8ab7
Move letters to KeyDown as opposed to text.
...
It is easier to handle Ctrl.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-12 20:30:23 +01:00
tomcw
cfe482cd52
NTSC: fix rare crash in NTSC_SetVideoMode() after a VM restart
2020-10-11 21:29:26 +01:00
mariofutire@gmail.com
bc029dee97
sa2: make the keyboard "work" (no CTRL-ASCII codes for the time being).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-11 20:16:07 +01:00
mariofutire@gmail.com
1400828452
Use keycode as opposed to scancode.
...
We honour a layout change decided by the user.
Signed-off-by: mariofutire@gmail.com <pi@raspberrypi>
2020-10-11 20:14:02 +01:00
mariofutire@gmail.com
aac2c5139a
Split event handling and "video" state to separate class.
...
Signed-off-by: mariofutire@gmail.com <pi@raspberrypi>
2020-10-11 20:14:02 +01:00
mariofutire@gmail.com
ddea5b139e
Add #pragma once.
...
Signed-off-by: mariofutire@gmail.com <pi@raspberrypi>
2020-10-11 20:14:02 +01:00
mariofutire@gmail.com
080198f88c
Rename ClosedApple -> SolidApple.
...
Signed-off-by: mariofutire@gmail.com <pi@raspberrypi>
2020-10-11 20:14:01 +01:00
mariofutire@gmail.com
4ba10089c3
sa2: add button emulation
...
LALT = Open Apple
RALT = Closed Apple
Signed-off-by: mariofutire@gmail.com <pi@raspberrypi>
2020-10-11 20:14:01 +01:00
mariofutire@gmail.com
3e355288cb
sa2: F2 = quit (line applen).
...
throw an exception rather than a string.
Signed-off-by: mariofutire@gmail.com <pi@raspberrypi>
2020-10-11 20:14:01 +01:00
mariofutire@gmail.com
e279fc7a5d
Reindent properly.
...
Signed-off-by: mariofutire@gmail.com <pi@raspberrypi>
2020-10-11 20:14:01 +01:00