Commit Graph

458 Commits

Author SHA1 Message Date
Kelvin Sherlock
e07f0a99e7 linux headless build, default the gui debugger to off 2019-03-13 20:14:04 -04:00
Kelvin Sherlock
2554364910 add SIGINFO / SIGUSR1 signal to headless driver.
On *BSD and MacOS X, typing ^T in the terminal sends a SIGINFO which will dump the text screen to stdout.
On Linux (as well as *BSD, etc) `kill -SIGUSR1 pid` will do the same.
2019-03-12 20:30:21 -04:00
Kelvin Sherlock
0e5f941cd5 debugger - add n (next) command
similar to s/step but skips OVER jsr/jsl commands.
implemented via a new temporary breakpoint list.
2019-03-12 18:57:59 -04:00
Kelvin Sherlock
dd3a00a734 bug 2019-03-08 01:30:33 -05:00
Kelvin Sherlock
244659b0b1 win32 - prototype for low-level event handler. 2019-03-08 01:25:28 -05:00
Kelvin Sherlock
c5c0a228ab Add Low-Level hook for Windows keyboard events
windows, alt, and control keys are handled separately, before windows can get a chance to act on them. This makes win usable as an option key and prevents things like alt-esc from minimizing the window.
Some combos (alt-control-delete, windows-L, etc) cannot be blocked.
2019-03-08 01:13:30 -05:00
Kelvin Sherlock
3e6f97c3ea Merge branch 'master' of https://github.com/ksherlock/gsplus 2019-03-08 00:54:12 -05:00
Kelvin Sherlock
a0e92cd1ff Merge branch 'mmu' 2019-03-08 00:52:48 -05:00
Kelvin Sherlock
731d5c3a5b GCC's documentation states that __LP64__ is defined if sizeof(void *) == 8 and sizeof(int) == 4. Well, under mingw64 that doesn't seem to be true. And it causes lots of warnings.
Anyhow, as of c99, stdint.h defines a type specifically for casting pointers to integers. It also defines fixed size types so no need to guess or sniff compilers.
2019-03-08 00:42:25 -05:00
Kelvin Sherlock
6ccf74f60d merge other stuff 2019-03-08 00:30:19 -05:00
Kelvin Sherlock
1a64d4c979 temporary breakpoints, part 1. 2019-03-07 23:57:03 -05:00
Kelvin Sherlock
5a90ab355a clean up some buffer overflows 2019-03-07 23:56:33 -05:00
Kelvin Sherlock
1a27ca5435 wip 2019-03-07 23:56:15 -05:00
Kelvin Sherlock
818b60e734 win32 - cleanup warning about int/ptr cast. 2019-03-07 23:35:36 -05:00
Kelvin Sherlock
5e79d2918a static link flag (for easier win32 distribution) 2019-03-07 23:12:52 -05:00
Kelvin Sherlock
f863c4cfa0 quit if the HALT_WANTOQUIT is set (ie, win32 closing the window) 2019-03-05 21:53:28 -05:00
Kelvin Sherlock
87499819e5 Merge branch 'mmu' of https://github.com/ksherlock/gsplus into mmu 2019-03-04 22:19:07 -05:00
Kelvin Sherlock
76918b362d missing include 2019-03-04 22:18:27 -05:00
ksherlock
6ca69f7d75
Update README.md 2019-03-02 14:57:15 -05:00
ksherlock
9ab7aece25
Update appveyor.yml 2019-03-01 13:44:31 -05:00
ksherlock
cee6c5e245
Update appveyor.yml 2019-03-01 13:33:32 -05:00
ksherlock
80e6d65488
Update appveyor.yml 2019-03-01 13:12:46 -05:00
ksherlock
08633e6919
Update appveyor.yml 2019-03-01 13:08:03 -05:00
ksherlock
2a0490b377
Update appveyor.yml 2019-03-01 12:53:50 -05:00
ksherlock
3401408bf4
Update appveyor.yml 2019-03-01 12:43:52 -05:00
ksherlock
bffc4b6728
Update appveyor.yml 2019-03-01 12:42:27 -05:00
ksherlock
d5b546ad59
Update appveyor.yml
add linux build.
2019-03-01 12:40:28 -05:00
ksherlock
d30e4cd967
Update appveyor.yml
more build matrix fun.
2019-03-01 10:59:31 -05:00
ksherlock
f8582e7412
Update appveyor.yml
matrix test...
2019-03-01 10:43:25 -05:00
ksherlock
4547ff5b79
Update appveyor.yml
matrix test
2019-03-01 10:30:57 -05:00
ksherlock
e7aea8be20
Update appveyor.yml
testing build matrix...
2019-03-01 10:23:52 -05:00
ksherlock
eb875d3245
Update appveyor.yml 2019-03-01 10:03:56 -05:00
ksherlock
90cc6b1088
Create appveyor.yml
initial export from appveyer gui.
2019-03-01 09:57:39 -05:00
Kelvin Sherlock
094f93953e prefer _WIN32 over WIN32. 2019-02-23 17:34:14 -05:00
Kelvin Sherlock
4dbad2493b missing line... 2019-02-23 17:33:56 -05:00
Kelvin Sherlock
67b187e70b prefer _WIN32 over WIN32. 2019-02-23 17:33:38 -05:00
Kelvin Sherlock
69bc724ae8 2 controls Ds needed to exit. 2019-02-23 17:32:00 -05:00
Kelvin Sherlock
52d2c5f509 win32 get_resource_path 2019-02-23 17:31:31 -05:00
ksherlock
97e6f17a31
fixup _WIN32/__CYGWIN__/WIN_SDL #defines 2019-02-21 13:56:57 -05:00
ksherlock
88d3cb9dc7
remove CYGWIN/WIN_SDL defines. 2019-02-21 13:45:35 -05:00
Kelvin Sherlock
b2d6adce69 win32 libraries needed whether GDI or SDL. 2019-02-21 00:34:26 -05:00
Kelvin Sherlock
d12ce862fc win32 sdl build needs scc_windriver. 2019-02-21 00:08:52 -05:00
Kelvin Sherlock
56528ab928 apparently, -DWIN_SOUND was to workaround cygwin not defining _WIN32. But we explicitely -D_WIN32. SMH.
Also, re-order a couple #if trees so SDL takes precedence over WIN32, etc.
2019-02-20 23:47:42 -05:00
ksherlock
adeb2006f7
__USE_W32_SOCKETS moved to parent CMakeLists.txt 2019-02-20 13:48:39 -05:00
ksherlock
d3d9070102
__USE_W32_SOCKETS 2019-02-20 13:46:06 -05:00
ksherlock
516d0e1439
-D__USE_W32_SOCKETS 2019-02-20 13:28:40 -05:00
Kelvin Sherlock
bef27e165e defer to CMake's optimization level. set to release by default. 2019-02-20 00:09:53 -05:00
Kelvin Sherlock
82e976d8e2 add back missing header. 2019-02-20 00:09:25 -05:00
Kelvin Sherlock
3ce34e0e27 lookup addresses for abslong and pc. 2019-02-20 00:09:05 -05:00
Kelvin Sherlock
be9724acfc minor tweaks for nifty list format. 2019-02-20 00:08:21 -05:00