Commit Graph

134 Commits

Author SHA1 Message Date
waltje
8890281b58 Minor cleanups. Logfile now has a header. We no longer log the entire config file, use -C (--dumpcfg) to enable that. 2017-10-21 20:29:18 -04:00
waltje
0659f5fe6a Whoops, and moved the config variables to pc.c. 2017-10-19 21:26:09 -04:00
OBattler
b755b27304 Reworked network and SCSI thread initialization and termination;
Hard disk controller name and other related strings are now char * instead of fixed-size arrays.
2017-10-19 23:55:51 +02:00
waltje
1d60a99ea3 Another major change round. VNC moved to top level. More cleanups of global data, all VM processing now handled in pc.c (out of the platforms, yay!), and some video cleanups. This build MAY have issues with window sizes, resizing, and fullscreen will not work until the next build- sorry. 2017-10-19 04:28:59 -04:00
waltje
7f24ba9fe9 Another cleanup run. 2017-10-17 02:01:03 -04:00
waltje
3453a66f16 Video (API) cleanup and minor stuff. Oh, and the VNC files :P 2017-10-14 13:38:05 -04:00
waltje
2b82661cf4 More cleanups, and integgrated support for VNC (and RDP) remote renderers. 2017-10-14 00:49:23 -04:00
waltje
ae3d0d8b22 More cleanups, and a bugfix in config.c (harddisk id and lun were not saved.) 2017-10-13 18:26:41 -04:00
OBattler
c95c2d5534 Fixed saving of configuration files. 2017-10-13 17:16:39 +02:00
waltje
e9bd160ad1 More general cleanups and bugfixes. 2017-10-13 02:45:04 -04:00
waltje
724e5c44df More cleanups to separate main code from platform support and UI support, plus a few bugfixes. 2017-10-12 14:26:28 -04:00
waltje
47c027bc46 Merge branch 'master' of https://github.com/OBattler/86Box
# Conflicts:
#	src/config.c
2017-10-11 05:46:29 -04:00
waltje
c7cb446684 Another round of cleanups - the main code no longer refers to, let alone uses, anything in the platform folder - completely separated! 2017-10-11 05:43:09 -04:00
OBattler
89ec4e0fa7 Made config_set_wstring() also update the ANSI version of the string, should fix the FluidSynth soundfont file setting. 2017-10-11 08:03:33 +02:00
waltje
bd89e66b7b Separated main code from UI and PLATform support code, plus other generally small fixes here and there. 2017-10-10 03:16:59 -04:00
waltje
c902d553f1 More cleanups, integrating win.c and multilanguage support, initial UI API cleanup. 2017-10-08 19:15:31 -04:00
OBattler
048105f889 Fixed bugs when saving hard disks to the configuration file. 2017-10-08 21:49:59 +02:00
waltje
2b37b7fbfb Major changes to NVR, system initialization (pc.c), and what goes on in the Windows startup (win.c.) Not fully done yet, but good enough for a first commit. 2017-10-07 00:49:53 -04:00
waltje
633adc6b02 Another big change, this time to the NVR. It has been re-done, integrated with the RTC code, and is now ready to be used by other, non-AT-compatible systems, including an ISA card for PC/XT. 2017-10-03 16:28:26 -04:00
waltje
63c532d940 Even more cleanups. Also renamed hdd/ to disk/ as that makes more sense. Machines with an Internal HDC (usually IDE) can now also select an alternative one instead. 2017-10-02 02:21:38 -04:00
waltje
f6620a45d0 Moved the gameport and joysticks into subfolder. 2017-10-01 17:35:36 -04:00
waltje
a01eb7ef34 Removed USE_NETWORK selectivity. 2017-10-01 16:56:28 -04:00
waltje
2dbf5409c0 Changes to allow for auto- or selectable Internal HD controller, and some other minor changes. 2017-10-01 16:29:27 -04:00
waltje
9d9f5fdd58 Separation of HDD (disks) and HDC (disk controllers) with major cleanup. IDE remains same until Kotori finishes that part. 2017-09-30 16:58:41 -04:00
waltje
43b055b5ee Another massive cleanup run. Ibm.h no longer includes system header files. ROM loading simplified, and moved from mem.c to rom.c. Fixes in Makefile. Corrected mamy wrong includes. Removed old junk from days long gone. First phase of new SCAT chipset driver - no longer gives errors in BIOS, but NOT DONE YET. 2017-09-25 04:33:16 -04:00
waltje
637ce66da2 First phase of cleaning up the use of pathnames internally. We now have the --vmpath (short: -P) commandline option to override the 'work dir' relative to which the program will try to find certain files and folders. 2017-09-23 21:12:37 -04:00
OBattler
3332e338c3 Increased hardcoded 256 MB memory limit in config.c from 256 MB to 1024 MB. 2017-09-16 02:54:36 +02:00
waltje
73ef17be9e Another major cleanup - folders for cdrom and floppy, renamed disc to floppy, renamed SuperIO stuff, others as needed. 2017-09-04 01:55:59 -04:00
OBattler
4c3532f31e Applied all mainline PCem commits;
Removed SCSI thread waiting (except after executing the READ SUBCHANNEL command, to alleviate the effects of READ SUBCHANNEL spam done by CD players).
2017-09-02 23:39:26 +02:00
OBattler
c0d1e5b4b2 Fixed another bug in config.c. 2017-09-02 21:39:23 +02:00
OBattler
eb5c6f25be Fixed a bug in config.c that was causing the wrong machine variable to get deleted. 2017-09-02 21:33:26 +02:00
OBattler
3e10570bbd Machine code restructure, models are now machines instead and the init functions are in the machine files rather than in machine.c (former model.c), also moved the machine stuff into the machine/ subdirectory. 2017-09-02 20:39:57 +02:00
c1091d83d3 Lowercase all CAPS to prevent case sensitive errors in non-Windows platforms 2017-08-27 04:33:47 +01:00
OBattler
ee4af98e1f Moved the SCSI BIOS command handler to its own file (scsi_bios_command.c/h);
Removed all the SCSI BIOS ID/LUN swapping nonsense as it's no longer needed;
The makefile now knows the .h dependencies for everything in SOUND/;
Moved hdd*.* and scsi*.* to the HDD and SCSI subdirectories, respectively;
Fixed some leftover path name miscapitalizations in the makefile;
BT-542B is now BT-545C and BT-946C is now BT-958D again;
Implemented the last missing commands for the BT-958D;
MUNT and network are now optional at compile time but enabled by default;
When compiling the development branch, you now have to choose what of (Pro Audio Spectrum 16, Cirrus Logic, NVidia Riva) you want your binary to include.
2017-08-27 00:58:44 +02:00
waltje
17b64b064e MassCommit(tm) to fix the MCA ESDI driver, clean up all RLL-ESDI stuff, rename HDD-related files, and another version of the AHA-1640, which now works. Not done yet, but getting close! 2017-08-25 02:34:25 -04:00
waltje
2ffedb680b MonsterCommit(tm) with typo-fixes, void-ness fixes, correct CaPs for directories, etc. No real code changes. 2017-08-24 01:17:18 -04:00
basic2004
840d33a0c1 Fixing CD-ROM functions and statusbar
fixed ejecting CD-ROM function: modified unchecking function's order before 'cdrom_null_open(id, 0);';
fixed reloading CD-ROM function: added 'prev_image_path' for reloading previous CD-ROM image.
2017-08-20 03:35:42 +09:00
OBattler
306ae2fd32 Added ability to disable floppy image BPB checking per drive, enabled by default. 2017-07-27 17:14:52 +02:00
OBattler
c211c53d32 Fixed the compile-breaking mistake. 2017-07-27 15:38:07 +02:00
OBattler
c8b04398b6 The configuration parser now detects the old p55r2p4 typo and silently corrects it to p55t2p4, ensuring that previous configurations do not break. 2017-07-27 15:35:49 +02:00
OBattler
8a01fc7ef2 Properly fixed the configuration variable and section delete functions;
Commented out the JEGA code.
2017-07-26 00:34:43 +02:00
OBattler
15d90054f1 Configuration entry and section deletion are now by actually deleting the item from the linked list, properly fixes the floppy/hard disk corruption bug. 2017-07-25 20:32:48 +02:00
OBattler
ff23ccb2a2 Reorganized several resource strings;
Added Microsoft serial wheel mouse emulation;
AWE32 improvements from JosepMa's PCem branch;
Applied REP invalid instruction ignore patch from Greatpsycho;
Slightly reordered the list of emulated mice.
2017-07-24 12:04:39 +02:00
OBattler
bf8942b55e Configuration variable and section delete functions now only set the first character of the name to ASCII 0x00 rather than zeroing the entire array, fixes hard disk corruption bug on floppy mount. 2017-07-23 09:36:50 +02:00
OBattler
3e195b74d0 Fixed all instances of the usage of wcstombs to use a sizeof() of whatever the destination is instead of the source size. 2017-07-20 11:32:41 +02:00
basic2004
7f978f5a30 Seperated grayscale conversion type
BT601, BT709, and average.
2017-07-19 15:08:40 +09:00
basic2004
ccea4a189a Added VGA grayscale and choose screen type
VGA render can transform to grayscale and applying color.
Green, amber and white.
2017-07-17 23:04:50 +09:00
OBattler
a7eb3c1608 The nvr directory is now automatically created if it does not exist. 2017-07-16 17:28:30 +02:00
OBattler
cc63eafce0 Different approach to CM-32L emulation, fixes it and MT-32. 2017-07-15 20:07:38 +02:00
OBattler
0feb1c33bf Fixed some compile-breaking errors. 2017-07-15 18:45:30 +02:00