Commit Graph

204 Commits

Author SHA1 Message Date
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
OBattler
1e7668f1db Applied the recent mainline PCem commits (and fixed the Pentium machines);
Ported the Roland MT-32 emulation (using MUNT) from bit's MT32 emulation branch of PCem;
Sanitized the OpenAL give buffer code in openal.c a bit;
NVR path is now specifiable in the Settings dialog;
Added Logitech 3-button serial mouse per protocol description by waltje;
The RTL8029AS and the BT-958D now actually use the PCI IRQ routing;
Fixed BT-958D PCI device initialization on the bus;
PCI IRQ routing now respects the edge/level setting set on ports 4D0/4D1.
2017-06-19 06:46:08 +02:00
OBattler
8061db66fe A lot of cleanaps, got rid of all warnings with -Wall;
The makefile now uses -Wall.
2017-06-16 06:44:11 +02:00
OBattler
62dea57270 Added the ability to set sound to use STEREO16 format instead of STEREO_FLOAT32 (defaults to STEREO_FLOAT32);
Moved network-related files to their own subdirectory.
2017-06-14 07:21:01 +02:00
OBattler
de9d14ede0 The NVR read and save functions now do more sanity checks and properly initialize the file pointer to NULL on start, fixes the crash on machines without a NVR file. 2017-06-08 01:52:23 +02:00
OBattler
fa174b79b2 Fixed a compile-breaking error;
Added the ability to set each floppy drive to turbo speed which will make it opperate at an effective 8000 kbps @ 300 rpm, for those who want faster but less accurate floppy timings.
2017-06-04 02:14:27 +02:00
OBattler
224368b791 Added a second S3 ViRGE/DX card, this one with VBE 2.0 BIOS;
Added the ability to use a standalone MPU-401 if the selected sound card is not SB16 or AWE32.
2017-06-03 20:32:58 +02:00
OBattler
84f53bc3d0 Added the monochrome monitor constrast change option, patch from basic2004. 2017-06-01 17:52:39 +02:00
OBattler
e6adf90e29 Fixed several CD-ROM-related status bar icon bugs;
CD-ROM set to host drive no longer gets reset to empty;
The CD audio thread initializer now ignores the mute status of the drives;
CD-ROM IOCTL audio handler is now more thread-safe;
Fixed CD-ROM image audio;
Added more sanity checks to memory read/write code in 808x.c;
Initial settings are now sane again.
2017-06-01 01:47:54 +02:00
waltje
287323aa3a Changes to allow XP to work again. See comment in Makefile.MinGW regarding -DANSI_CFG. 2017-05-31 01:23:20 -04:00
waltje
7ac99180e4 Moved ICONS/ to WIN/ICONS/, updated RC files. Renamed IDS_STRINGnnn to IDS_nnnn, renamed unnamed string IDs to IDS_nnnn, updated resource.h file. Win_settings.c used an unused 2047 string ID, now set to IDS_LANG_ENUS. 2017-05-29 22:01:51 -04:00
OBattler
fc2a293536 CD-ROM images are now working correctly again;
Fixed all the reported bugs regarding the Settings dialog;
MIDI out device is now no longer reset to 0 after hard reset;
Removed all vestiges of the old disk activity flash;
The configuration file is no longer saved when it shouldn't be;
Redone the status bar icon updating so it is only done in win.c;
Made sure all variables in ibm.h are extern;
A lot of other bugfixes;
Added Mouse Systems Mouse emulation (patch from TheCollector1995);
Added IBM PS/1 Model 2133 (486) emulation (patch from TheCollector1995);
Tweaked the CPU dynamic recompiler cycle periods - 486SX 33 and 486DX 33 now work;
Increased compatibility with configuration files from before the previous commit.
2017-05-29 01:18:32 +02:00
OBattler
5ca57c5b63 Fixed loading of slave IDE channels for hard disks and CD-ROM's to the configuration files. 2017-05-27 04:33:29 +02:00
OBattler
a36720f174 Large changes to configuration files again (the old ones might break, be careful);
Applied the mainline PCem slight CPU emulation speedup commit;
Added emulation of removable SCSI hard disks;
CD-ROM image handler now uses C FILE's (with the 64-bit size calls) instead of C++ iostreams, ISO images bigger than 2 GB should work properly again;
Split RLL/ESDI and XT IDE disks to their own bus types;
Turned status bar pane meaning and hard disks and CD-ROM BUS numbers to #define's;
Other miscellaneous cleanups.
2017-05-27 03:53:32 +02:00
waltje
77430348fc Another network cleaning (MAC address madness, BIOS stuff), WIN platform cleanup, Makefile[.local] cleanup. 2017-05-24 00:32:08 -04:00
TC1995
a4cd4b2866 Increased HD heads limit to 255, larger SCSI hdds now work. 2017-05-22 13:52:45 +02:00
OBattler
c669a05662 Fixed Host MIDI Out Device ID saving;
Did the UI-related preparations for adding removable hard disks.
2017-05-18 21:51:11 +02:00
waltje
09ca09775c Cleanup of the configuration code, and source tree layout. 2017-05-18 01:58:51 -04:00
OBattler
0d95385e50 More fixes regarding window coordinate saving. 2017-05-18 00:58:35 +02:00
OBattler
3392a0cb34 Window coordinates are now read from the correct configuration file variable. 2017-05-18 00:39:59 +02:00
OBattler
1a9a55c35e Split off the Network configuration from Other peripherals in the Settings dialog and made PCap device configurable;
Overhauled the configuration files so that the global variables are now subdivided into sections;
Fixed CD-ROM MODE SENSE page 0x2A which was being incorrectly reported as not implemented, fixes among other things Rayman 1 and Spellcross: The Last Battle (both now see the CD-ROM and play CD Audio fine).
2017-05-17 21:56:31 +02:00
waltje
bce795b632 Fixes to Network layer code. 2017-05-12 17:33:42 -04:00
waltje
2f9bda8a18 Updated network code, major cleanup. SLiRP and Pcap both tested. UI configuration will need extra work by Kotori. 2017-05-12 05:05:27 -04:00
waltje
deb30e41a0 Some old variables deleted, no longer used. Also, updated pcap_if.rc. 2017-05-11 03:28:33 -04:00
waltje
645ade52b1 Merge branch 'master' of https://github.com/OBattler/86Box 2017-05-09 22:08:39 -04:00
waltje
456aaec627 General cleanups. 2017-05-09 22:08:13 -04:00
OBattler
ff8186741a Added emulation IDE PIO-only hard disks (affects hard disk bus type in the configuration files - make sure to correct it in Settings after loading a configuration file from previous 86Box builds);
The IDENTIFY PACKET DEVICE command of ATAPI PIO-only drives now behaves like that of mainline PCem ATAPI CD-ROM's;
Added two functions in win.c for waltje for updating the status bar text;
The configuration loader now does sanity checks on most loaded values.
2017-05-10 02:46:01 +02:00
OBattler
55a294ad37 Fixed serial (and serial mouse) operation on boards with Super I/O chips;
A few video bug fixes per patches from the mainline PCem forum;
Added CUE/BIN image support per patches from the mainline PCem forum.
2017-05-08 04:54:17 +02:00
OBattler
f6612fb33b Fixed bugs that were preventing NVR and Flash files from behind saved;
A lot of clean ups from waltje;
Start of a directory structure for the code, thanks to waltje.
2017-05-06 17:48:33 +02:00
OBattler
c403855a94 The emulator is now almost completely Unicode - this means all paths and file names used can now use non-Latin characters;
Fixed several NVR- and ROM-related bugs in the process of doing the above.
2017-05-06 04:02:03 +02:00
OBattler
cee82642ef Made the emulator even more Unicode then before - configuration files are now Unicode, and floppy images, CD/DVD .ISO images, and hard disk images can now be in paths with non-Latin characters;
Fixed a few minor UI bugs;
Brought IDE IDENTIFY command behavior back in line with Mainline PCEM, in hopes to reduce bugs.
2017-05-05 22:36:10 +02:00