Commit graph

2425 commits

Author SHA1 Message Date
Andrea Odetti
887e88f89c Fix uninitialised value.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-05 20:34:21 +00:00
Andrea
3dd23a7034
Update linux.md 2020-12-04 21:03:57 +00:00
Andrea
9a41db13d8
Update README.md 2020-12-04 20:02:14 +00:00
Andrea Odetti
c33ae2b26e Add ability to pass all Registry options via cmd line.
-c Configuration.Printer_Filename=Printer2.txt

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-04 19:58:49 +00:00
Andrea Odetti
5029b91850 Move configuration file to ~/.applewin/applewin.conf
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-03 15:57:12 +00:00
Andrea Odetti
f867dc0479 Make the code more similar to AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 18:44:31 +00:00
Andrea
8cd74adc21
Remove travis amd64 as it seems to hang. 2020-11-30 18:20:54 +00:00
Andrea
3f5b2bd396
Update .travis.yml 2020-11-30 16:00:57 +00:00
Andrea
9164611a96
Update .travis.yml 2020-11-30 15:59:11 +00:00
Andrea Odetti
1f6538f0b0 Fix build permission.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 15:49:48 +00:00
Andrea
131120d6fc
Update .travis.yml 2020-11-30 15:44:15 +00:00
Andrea Odetti
2b6093861c Add travis integration.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 15:29:57 +00:00
Andrea Odetti
ad1382ec36 Merge remote-tracking branch 'origin/master' 2020-11-30 13:46:42 +00:00
Andrea Odetti
861c87efd4 Remove pointless getScreenData() and shed some nanoseconds from screen repaint.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 13:38:56 +00:00
Andrea
37298f0d5e
Update README.md 2020-11-30 09:52:25 +00:00
Andrea Odetti
299c907be6 Merge remote-tracking branch 'upstream/master' 2020-11-30 09:28:29 +00:00
Andrea Odetti
56a095f0e2 Merge branch 'reset_linux' 2020-11-30 09:27:02 +00:00
Andrea Odetti
586493e8c6 Small fixes to the readme.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 09:26:27 +00:00
Andrea Odetti
e43a08c5a1 Merge remote-tracking branch 'origin/reset' 2020-11-30 09:25:19 +00:00
Andrea Odetti
dc030fe607 Change F2 like AW: reset.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 09:23:22 +00:00
Andrea Odetti
2b3c189b07 Small changes to start - stop.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-30 09:22:35 +00:00
Andrea
59294d9d72
Move CtrlReset() and ResetMachineState() to Utilities.cpp (PR #883) 2020-11-29 21:11:05 +00:00
Andrea
74e7e1a00f
Create README.md 2020-11-29 19:58:03 +00:00
Andrea Odetti
cf6ddba626 Merge remote-tracking branch 'origin/reset' into reset_linux 2020-11-29 19:31:47 +00:00
Andrea Odetti
f919a3ba6f Fix arguments of fwd declared function. 2020-11-29 19:27:11 +00:00
Andrea Odetti
59772cda6b Move CtrlReset() and ResetMachineState() to Utilities.cpp. 2020-11-29 19:26:47 +00:00
Andrea Odetti
40b37ccccb Fix compilation error after merge.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-29 18:02:43 +00:00
Andrea Odetti
ab08dd7de7 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	source/CommonVICE/types.h
2020-11-29 18:00:16 +00:00
tomcw
e2d7eb7406 Removed (the now) unused alarm.h 2020-11-29 17:39:52 +00:00
Andrea
7ca547479b
Move Windows related functions to Interface.h (PR #882)
This is not complete as header files from Windows/.. are still included in:

Keyboard.cpp
SerialComms.cpp
Joystick.cpp

But probably these are arch specific and will have to be completely reimplemented elsewhere.
2020-11-29 17:30:06 +00:00
Andrea
93346c215f
Cleanup types and include's to ease GCC compilation. (PR #881)
. Do not include alarm.h as it is not needed.
The code in alarm.h is not complete: all the extern functions are missing and different linkers might complain about this.

. Do not redefine some windows.h types in VICE/types.h as it becomes harder to keep them consistent.
Biggest problem is DWORD_IS_LONG as the best way to define it in linux 64 bit is as an int. Prefer to use StdAfx.h.
2020-11-29 17:22:50 +00:00
Andrea Odetti
600d6cf00e Print AW version in -h output.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-29 16:39:17 +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
1b6127dbb6 Merge remote-tracking branch 'upstream/master' 2020-11-29 16:36:05 +00:00
TomCh
5d90b64829
Use _stat64() to support file size >2G (PR #880) 2020-11-29 15:48:23 +00:00
Kelvin Lee
4c19069d8b Remove unnecessary conditional compile for _MSC_VER 2020-11-30 01:05:25 +11:00
TomCh
edadde74ab
Move GetAppleWindowTitle() to Utilities.cpp as it is generic. (PR #879) 2020-11-29 13:45:49 +00:00
Kelvin Lee
a7353aa7f1 Use _stat64() to support file size >2G
1. Newer VC runtime stat(), when using 32-bit file size, returns error
   if file size is >2G. For file existence check, using 64-bit file
   size is more accurate as files bigger than 2G would be reported as
   non-existing otherwise.
2. <sys/stat.h> is required for VS2013 or before.
2020-11-29 10:12:03 +11:00
Andrea Odetti
ed178d8b1c Move GetAppleWindowTitle() to Utilities.cpp as it is generic and useful to other archs. 2020-11-28 15:49:19 +00:00
Andrea Odetti
a0c3fcf416 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	source/RGBMonitor.cpp
2020-11-28 14:17:24 +00:00
TomCh
391df5d4c0
Select a value of the Alpha mask that works at the same time in Windows and Linux (Qt / SDL). (PR #878)
In Windows it does not seem to make any difference, so 0xFF is selected for maximum compatibility.
2020-11-28 14:14:03 +00:00
Andrea Odetti
63e5c5c9ff Select a value of the Alpha mask that works at the same time in Windows and Linux (qt / sdl).
In Windows it does not seem to make any difference, so 0xFF is selected for maximum compatibility.
2020-11-28 14:13:20 +00:00
Andrea Odetti
312a618196 Merge remote-tracking branch 'upstream/master' 2020-11-28 10:02:11 +00:00
Andrea Odetti
338719d82b Make VideoBenchmark include the video redraw (without vsync).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-28 10:01:49 +00:00
Andrea
3d70a9dd35
Some small changes to ensure code compiles with GCC. (PR #877) 2020-11-27 20:57:35 +00:00
Andrea Odetti
156d1421e0 Make sure alpha = 0xFF in all cases.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-27 18:55:35 +00:00
Andrea Odetti
9fabc71464 Use existing function VideoGetAppWindowTitle().
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-11-27 18:55:07 +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
90368927e8 Merge remote-tracking branch 'upstream/master' 2020-11-27 08:55:05 +00:00
tomcw
8ef34d7d76 Fixed TestDebugger.cpp 2020-11-26 21:52:39 +00:00