Commit Graph

451 Commits

Author SHA1 Message Date
darkstar
54840155c8 SLIRP: Use the correct function to close a socket on Windows
close() is not the same as closesocket()...
2018-03-25 00:12:40 +01:00
darkstar
e6f105724a SCSI: Fix warnings 2018-03-25 00:04:49 +01:00
darkstar
9bdd5fe744 Various warnings fixed 2018-03-24 23:55:21 +01:00
darkstar
6708fd8168 Sound: Fix some double vs. float initializations 2018-03-24 23:34:12 +01:00
darkstar
eba7e4b3fe Sound: Fix some inconsistent function prototypes 2018-03-24 23:29:48 +01:00
darkstar
f84ee00c16 Fix some warnings about too large leftshifts 2018-03-24 23:29:15 +01:00
darkstar
32d589a232 Sound: const-ify some arrays 2018-03-24 23:20:01 +01:00
darkstar
e3b09d597f Sound: Fix filter initializations (float vs. double) 2018-03-24 23:15:53 +01:00
darkstar
1abfb3e600 Disk: Fix warnings in zip.c 2018-03-24 23:15:29 +01:00
darkstar
9329f84c43 ReSID: include math.h before trying to define M_FOO constants
This fixes a warning later, when the platform math.h gets included and
unconditionally tries to (re-)define the M_FOO constants.
2018-03-24 23:11:41 +01:00
waltje
6898e2776c Small fixes here and there.
Applied upstream commits where needed.
Renamed some of the CirrusLogic bioses.
2018-03-22 20:20:40 -05:00
waltje
85d291205f Prepared the code for loading custom video ROMs via the new loader.
Various small fixes and cleanups.
Applied the relevant upstream commits.
2018-03-22 00:03:03 -05:00
waltje
1b19d226dd Fixed the Amstrad PC1640 (ROM path) and Amstrad mouse initialization. 2018-03-20 23:42:00 -05:00
waltje
73a0ba8e39 Applied all relevant upstream commits. 2018-03-20 22:40:24 -05:00
waltje
e01f05c0f1 Updated the CDROM speed setting code some more, and fixed a bug. 2018-03-20 20:58:48 -05:00
waltje
1cf45a9724 Applied relevant upstream commits.
Converted AT NVR to be a device, so it gets auto-closed.
Added new machine_close() function which calls optional machine-custom close, updated machine table.
Small fixes here and there.
Re-wored the CDROM code to have a 'speeds' table instead of ugly hard-coding.
2018-03-20 17:13:52 -05:00
waltje
110070466a Do not allow mouse capturing if no mouse configured.
Fix resetting mouse type to NONE.
2018-03-18 21:09:19 -05:00
waltje
d40526144c Reworked the memory code a bit to avoid crashes while switching machine/processor types. 2018-03-18 18:39:51 -05:00
darkstar
00faf17634 Fix a bug in gameport.c 2018-03-18 20:51:36 +01:00
darkstar
acdf45b9bb MSVC: Update project files 2018-03-18 20:50:03 +01:00
waltje
0adb26c1f9 Applied the first batch of upstream commits. 2018-03-18 04:55:47 -05:00
waltje
1c60e22813 Monster patch to clean up a lot of cruft in the code, and reduce the RAM footptiny of a running XT machine from about 680MB down to about 80MB. Yes, 600MB of unused 0x00's. 2018-03-17 23:14:42 -05:00
waltje
a86d717ae1 Changes to significantly reduce the emulator's RAM footprint.
Changes to the memory manager reduced by 120MB for machines with CPU < 80386.
Changes to the 86F diskette data processor (required by all floppy controllers) reduced by 330M.
Test machine OpenXT now runs at 240MB, instead of 680MB.
2018-03-14 23:32:00 -05:00
Fred N. van Kempen
cbff303c73 Merge pull request #16 from darkstar/fixes
Video: Fix uninitialized variable
2018-03-14 18:22:08 -04:00
waltje
30ef2e8288 Added support for profiling (PROFILER=y) to aid with that task. 2018-03-14 17:18:39 -05:00
darkstar
1ababdf43c Video: Fix uninitialized variable
This is a compilation error (not a warning) on MSVC
2018-03-14 21:55:46 +01:00
waltje
192fb2f3ba Changes to machine names and ROM folder names to be unique and consistent.
Fixes for AT keyboard.
Fixes for DMA.
2018-03-14 14:07:42 -05:00
waltje
c1c74199d7 Fixed two messed-up patches. 2018-03-13 15:55:35 -05:00
Fred N. van Kempen
40b6bc4d57 Merge pull request #14 from darkstar/msvc
MSVC: Some files were moved again
2018-03-13 01:40:41 -04:00
waltje
916f210d46 Applied upstream patches (adds IBM PS/2 M70.)
Fixed two small bugs.
Moved the MRTHOR back to mainline.
Fixed a bug in the Tosh 1000.
2018-03-13 00:34:44 -05:00
darkstar
4d98bb436a SIO: Fix a warning in fdc37c93x.c 2018-03-12 23:27:08 +01:00
darkstar
d60a8c81cb Network: Fix a few warnings in bswap.h 2018-03-12 23:23:59 +01:00
darkstar
2019b74623 Disk: refactor hdd_ide.c a bit
This needs some more work to cleanly get rid of all warnings.
Track/sector and CHS calculation should use sensible bit widths, for
example. Some other functions can also be combined into one.
2018-03-12 23:20:47 +01:00
darkstar
25051b3715 Floppy: Fix some warnings in the floppy code 2018-03-12 22:14:50 +01:00
darkstar
d013dbd0aa GAME: fix warnings in joystick code 2018-03-12 22:12:45 +01:00
darkstar
4053c356c9 MSVC: Some files were moved again 2018-03-12 21:39:52 +01:00
waltje
e69a12f7ea Re-worked the MVR framework to allow for custom RTC chips. Fixes EuroPC and Tosh T1000/1200.
Cleaned up and re-integrated the Toshiba T1000/T1200 machines.
Moved LZF files to floppy/, as that is the only module using them.
Various bugfixes and cleanups here and there.
2018-03-11 23:32:39 -05:00
Fred N. van Kempen
f818aa78a9 Merge pull request #13 from darkstar/warning_fixes
Warning fixes
2018-03-08 22:33:46 -05:00
Fred N. van Kempen
cc795aa53e Update cdrom.c 2018-03-08 22:32:26 -05:00
Fred N. van Kempen
01ec33e2fb Merge pull request #12 from darkstar/msvc
MSVC: Update project file for sio/* and generate Manifest automatically
2018-03-08 22:24:53 -05:00
waltje
98e920fb97 Applied all relevant upstream commits. 2018-03-08 22:16:17 -05:00
darkstar
2ec77c8fa0 CPU: Fix warnings 2018-03-09 01:16:47 +01:00
darkstar
483dd3c9cf CDROM: Fix warnings 2018-03-09 01:16:46 +01:00
darkstar
49ec18763e MSVC: Update project file for sio/* and generate Manifest automatically
Also add the user properties file that was missing so far
2018-03-09 00:24:39 +01:00
waltje
f42108cb03 Fixed silly typo. 2018-03-08 16:00:22 -05:00
darkstar
54015fee17 VIDEO: Fix lots of warnings in the code
I hope I didn't break anything important ;-)
2018-03-08 21:04:49 +01:00
darkstar
ebade6a543 WIN: cleanup warnings 2018-03-08 20:58:06 +01:00
waltje
412d1fdf48 Fixed some bugs and warnings.
Moved the SIO files to a new sio/ folder.
Added the 'version.h'stuff, added Makefile rule to generate the Manifest file for Windows.
Re-worked the About dialog - it now includes more info.
2018-03-08 01:23:34 -05:00
waltje
2fac557f69 Fixed some compiler warnings. 2018-03-07 02:59:35 -05:00
darkstar
6218fd8d12 MSVC: Update project files 2018-03-06 23:23:08 +01:00