Commit Graph

61 Commits

Author SHA1 Message Date
waltje
d97c3a91e8 Several rounds of code cleanups.
Fixed the heap-trashing bug.
Applied some more upstream patches.
2018-10-26 14:30:34 -04:00
waltje
98eaa3bd34 Many small changes and fixes for building a 64-bit application.
Both GCC and VC builds seem to work OK for Windows, as does the Linux version.
2018-10-25 01:20:32 -04:00
waltje
22379f55ad Applied all relevant upstream patches.
Cleaned up the CD-ROM stuff a bit more, merging the drive and the image parts.
Updated disk, cdrom and zip structures to use the same bus_id union.
2018-10-16 19:53:01 -04:00
waltje
5d6b369df8 Various fixes, resulting from (more) Linux work.
Upstream commits applied.
2018-10-08 02:27:25 -04:00
waltje
2f69c95152 Full Upgrade to the 1.7 tree. 2018-10-06 18:31:10 -04:00
waltje
e659efd4ac Small fixes. 2018-09-28 14:47:00 -04:00
waltje
428528ff57 Bumped version to 0.1.6.5.
Added a workaround to handle possible NULL returns from malloc; we now call a wrapper function which will notify the user, clean up and then exit the application if that happens.
2018-09-23 16:35:45 -04:00
waltje
116a7f68af Minor upstream changes. 2018-09-22 19:15:04 -04:00
waltje
10efb6f0cd Small fixes, and language update for JP.
Release train 0.1.6(.4) is currently the <Stable-Release> path.
Release train 0.1.7(.0) is currently being tested.
2018-09-10 05:42:28 -04:00
waltje
dad6c07865 Various upstream changes applied. 2018-09-04 01:42:09 -04:00
waltje
e0252036e6 Added 8088-1 (10MHz) CPU support.
Added presetting a filename for NVR (so cards can use that.)
Updated some more translation files for STR_3480 and STR_3481.
Added a new card: ISA-based Clock/RTC cards for PC/XT systems.
Un-did previous change to XT ST506 driver.
2018-08-29 03:58:50 -04:00
waltje
15d9edf697 Small changes to the ET4000 driver.
Updates to allow debug binaries in the same folder.
Changes to move the Language Packs into lang/ under ExePath.
Removed the GREENB machine, just another AMI486 machine.
2018-08-26 23:54:14 -04:00
waltje
f6eae8c658 Initial release of the ISA Memory Expansion Card driver. Not done yet, but works. 2018-08-25 14:52:56 -04:00
waltje
3bb15e1fe7 Added several small upstream patches for CPU module.
Added the D2D rendering module from 86Box, and updated it.
Fixed the Slovenian translation.
Added Norwegian (Bokmal) translation.
Several small fixes here and there.
2018-07-28 20:53:54 -04:00
waltje
7919fbdb93 Fixes for FDC and AT keyboard (showing when running AT&T System V/386 R3.2 UNIX.)
Added memory context dumping for debugging.
2018-06-27 15:04:21 -04:00
waltje
162afde8b8 More cleanups.
Added more languages.
Updated SCAT machines (for the Asian demo machines.)
Fixed VC project files.
Started integrating building of language DLL's into mainline.
Added the Award 8088 XT Clone machine.
2018-06-16 18:40:48 -04:00
waltje
d3039192e7 Adding multi-language support.
Cleanups.
2018-06-04 16:49:29 -04:00
waltje
d393e95f8f Fixed bug in XTA driver.
Fixed string-loading issue.
Fixes for handling file dialog, filters, etc.
Changed the return value of dlg_file so we can use its RO flag.
Removed the additional _WP statusbar menu items (no longer needed with new RO handling.)
2018-05-11 21:31:52 -04:00
waltje
bf676a9213 More warnings fixed (in cpu/ and mem.c)
More vidapi cleanups, synced with UNIX version now.
More fine-tuning of UI code here and there.
2018-05-10 03:58:47 -04:00
waltje
4d076d37e0 Re-did the VIDAPI stuff and moved to the common code. 2018-05-09 18:11:20 -04:00
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