Commit Graph

556 Commits

Author SHA1 Message Date
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
Kelvin Sherlock 367d337674 2 unhandled ^Cs will abort 2019-02-20 00:07:59 -05:00
Kelvin Sherlock 6dd598be0c disassemble prodos mli calls. 2019-02-19 22:18:22 -05:00
Kelvin Sherlock 62dcf4f9d2 clean up socket stuff a little bit to compile better with msys2 2019-02-19 21:57:52 -05:00
Kelvin Sherlock 9f3c0feb39 load tools and gs/os calls from NList.Data 2019-02-19 21:49:35 -05:00
Kelvin Sherlock 58351d1db7 win32 missing strndup 2019-02-19 19:48:39 -05:00
Kelvin Sherlock 22e488df30 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-02-18 12:38:15 -05:00
ksherlock b9e36df2bb
mingw/win32 lacks strndup. 2019-02-18 11:24:08 -05:00
ksherlock 8584df91f5
win32 compiler fixes. 2019-02-18 11:08:57 -05:00