Commit Graph

41 Commits

Author SHA1 Message Date
waltje
6bc2044b73 Fixed the floppy-error bug on VC builds (was uninited variable in fdd_img.c)
Made the CD=ROM ioctl support code conditional, as per OBattler's concerns over that code.
2018-05-09 01:48:48 -04:00
waltje
c5b29c2a09 Cleaned up the VIDAPI interface - renderers now export only one symbol.
DirectDraw and Direct3D modules re-integrated as one single driver.
VNC is now enabled by default, it will be runtime-disabled if the DLL is not found.
The BUGGER device moved to devices/ ; will be an external device (DLL) soon.
2018-05-08 03:12:42 -04:00
waltje
393480c2f6 Final move of files into the new structure. 2018-05-06 22:51:54 -04:00
waltje
1d6dcdee7b More cleanups (mostly in cpu) and consting the CPU opcode tables.
Removed the crcspeed/ folder entirely - was no longer used.
2018-05-06 16:18:53 -04:00
waltje
12bbba12e6 More warning cleanups (shadowed variables.) 2018-05-05 15:47:17 -04:00
waltje
df05f2775c Updated VC14 files.
Small fixes (while testing with Code::Blocks)
2018-05-03 21:28:19 -04:00
darkstar
87421947fd Fix compilation for MSVC
This function breaks when none of the three #defines are defined. Just
declare the variable unconditionally and rely on the compiler to
optimize it out when it's not needed
2018-05-04 00:08:03 +02:00
waltje
de1818e661 Revamped the UI setup layer, which also fixes the VC builds. 2018-05-03 17:25:28 -04:00
waltje
2eb86d639b More UI cleanups and fixes. 95% of the UI code is now common.
Added missing "invert_display" config item.
Added some more local logging functions.
2018-04-30 17:44:11 -04:00
waltje
9f04d73b62 Major change to split UI functions into common and front-and parts.
Cleaned up more warnings.
2018-04-29 19:39:16 -04:00
waltje
b454a4260c Moved keyboard, mouse and joystick stuff to new input/ folder. 2018-04-26 18:15:32 -04:00
waltje
80093782ca Re-worked the Game Port and Joystick code. They are now separate.
Moved all "ports" (Game, Parallel, Serial) into new folder ports/.
2018-04-26 16:47:51 -04:00
waltje
e61e7ea47e Flush all changes from the last two weeks. Still several issues not done.
Cleaned up parallel ports.
Reworked serial ports as devices (still need to clean the chipsets..)
Fixed some issues in Makefile.local.
Prepared for the XTA driver.
Reworked the mouse code AGAIN, fixes crashes on some serial mice and the PS/2 mouse.c
Cleaned up win_devconf.c.
2018-04-20 04:19:29 -04:00
waltje
6b21c4c921 Big cleanup of the use of regular and const string pointers. Where possible, const is used to enfore R/O-ness of string arguments.
Important change to the NVR code to "fix" the PS/1 and PS/2 systems, plus a cleanup.
All device tables now end with a NULL, not an empty string.
Configuration code now deals better with this.
Machine and Video lookup now return -1 if not found/available, and pc_init() will throw the user into Setup if that is the case.
If for some reason the configured memory size exceeds machine limit, it is now adjusted.
2018-04-11 17:42:22 -04:00
waltje
23fcf833b4 Change to not allow configured memory size to go over machine's limit (fixes #25.)
Lots of cleanup changes all over to fix the constness of strings [again].
Some cleanups in config.c to remove old stuff.
2018-04-10 23:48:26 -04:00
waltje
4bdd17f440 You were late, Travis... already saw that! 2018-04-09 23:12:30 -04:00
waltje
8837593d86 Minor change - if defined, use 4-digit version, otherwise 3-digit. 2018-04-09 23:09:50 -04:00
waltje
aa7db63e86 Sound cleanups, part 2. 2018-04-08 21:19:31 -04:00
waltje
fdf80188ed Second part of LPT re-do (now adding back the attached devices.)
First part of Sound module re-do, also moves SSI and GUS to soundcard list.
Updated SSI to be configurable.
Cleaned up ReSID interface.
2018-04-08 17:26:20 -04:00
waltje
054622a75b Update the LPT ports to 3 ports, cleaned up the ports code.
Re-worked the "win_settings" code module, updated Ports dialog.
Re-worked the "hdc.c" code, no more hdc_name. Needed later.
2018-04-07 00:25:53 -04:00
waltje
06ad98bea9 Fixed an incompatibility with MSVC environments that caused the consoles to fail.
Fixed the missing-slash bug in emu_path.
2018-04-03 19:14:30 -04:00
waltje
d7fe41de69 Cleanup of the logging options. Logging menu is now submenu of Tools.
Other minor changes and cleanups, as needed.
2018-04-03 03:35:06 -04:00
waltje
428747a5a5 Missed a few. 2018-04-01 23:47:56 -04:00
waltje
8ef54202f9 Another load of cleanups.
Also, all filename handling is now Unicode.
Fixes for many items on the bugs list.
New logo and main icon for the project.
2018-04-01 22:02:37 -04:00
waltje
58668a8612 Several warnings fixed, but still many to go. 2018-03-27 23:53:51 -04: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
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
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
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
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
waltje
98e920fb97 Applied all relevant upstream commits. 2018-03-08 22:16:17 -05:00
waltje
f42108cb03 Fixed silly typo. 2018-03-08 16:00:22 -05: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
a4802a9231 Updated files with upstream commits where needed.
Fixed "Settings"crash bug.
Cleaned up some video config issues.
2018-03-06 15:53:32 -05:00
waltje
8d10faf156 Changes to allow the VARCem binaries and support DLLs to be in <root>/bin, to keep things clean. 2018-03-03 00:47:58 -05:00
waltje
227f0446ec Updated ROM BIOS handling to use the external loader.
Several cleanups and fixes here and there.
Updated (Windows) UI to properly handle resets and changes in Settings.
Updated to no longer scan for roms at startup.
2018-03-02 19:01:48 -05:00
waltje
9f4c8423d6 Cleanups, some fixes, moved zip.ch into the disk/ folder. 2018-02-25 02:33:19 -05:00
waltje
7f4ddcd70b Import of all sources. 2018-02-20 21:52:53 -05:00