Commit Graph

2144 Commits

Author SHA1 Message Date
OBattler
cfc626f111 Change to logging - when logging is disabled, the logging functions are now #define'd to nothing, so the compiler ignores the lines that call them completely, seems to slightly speed up the emulator; note that the logging in vid_table.c has not been changed yet, because this file on my local tree currently contains other WIP changes. 2018-10-19 00:39:32 +02:00
OBattler
d56df03a53 Ported the WinPcap thread's packet sanity checks to the SLiRP thread - SLiRP is now more stable;
Unified all three NIC families' DP8390 chip implementations in net_dp8390.c/h;
Some fixes for the WD8013EBT NIC;
Network status bar icon updating is now done at WinPcap/SLiRP handler level, not at the NIC level anymore.
2018-10-19 00:37:25 +02:00
OBattler
c663147d11 Imported CD-ROM-related changes from VARCem;
Removed cdrom_null.c/h;
Some changes to logging (will be spread to everything else soon).
2018-10-17 05:29:48 +02:00
OBattler
2cd20ea319 Fixed mem_reset_page_blocks() in an even better way, the for block itself now uses pages_sz as the upper limit. 2018-10-17 02:50:23 +02:00
OBattler
3dc9e113f3 Properly fixed the Toshiba T1200 RAM mess - pages are now only allocated for the first 1 MB, and mem_reset_page_blocks() now breaks out of the for block as soon as it hits a page that's equal to or greater than pages_sz. 2018-10-17 02:47:02 +02:00
OBattler
e668b6e87a Merge branch 'master' of https://github.com/OBattler/86Box 2018-10-15 22:58:35 +02:00
OBattler
2621d21b00 Page sanity checks are now done in mem_invalidate_range(), should fix a few NCR 810-related segmentation faults;
Machines with 808x CPU's now have the pages array assigned for a 2 MB memory space, needed for the Toshiba T1200 which can take up to 2 MB of RAM.
2018-10-15 22:58:15 +02:00
OBattler
9c37e5ee47 Update README.md 2018-10-13 22:47:28 +02:00
OBattler
7134ced4b6 Fixed a minor pointer bug in scsi_device.c. 2018-10-13 00:51:07 +02:00
OBattler
09168610a4 The absolute path is now passed to plat_dir_create() instead of the relative path;
The makefile now support passing a number of jobs to flto.
2018-10-12 23:54:23 +02:00
OBattler
b1984207c7 Modified plat_dir_create() to use SHCreateDirectory instead of CreateDirectory - now the emulator should create every level of path that doesn't exist. 2018-10-12 20:10:33 +02:00
OBattler
50fac1484b Added the WM_CTRLALTDEL window message that sends CTRL+ALT+DEL to the VM. 2018-10-12 16:27:47 +02:00
OBattler
b8d3992c07 Fixed some CD-ROM-related bugs;
Added sanity checks to the device close functions of the Hercules family graphics cards;
Cleaned up, fixed the bugs in, and reworked the implementation of the Adaptec/BusLogic BIOS command handler;
Removed some scsi_device.c functions that have now become useless;
Removed some excess stuff from pc_init_modules().
2018-10-11 10:34:12 +02:00
OBattler
defada30d4 Fixed a minor mistake. 2018-10-10 23:12:30 +02:00
OBattler
00105e68f6 Fixed a compile-breaking mistake in device.c. 2018-10-10 22:35:30 +02:00
OBattler
6155802b59 Split generic CD-ROM from SCSI-style CD-ROM;
Redid the way SCSI and ATAPI devices are handled;
Slight timings change in the NCR 5380;
Devices are now closed by device_close_all() in the reverse order of the one in which they were started;
Slight changes to some code in win/;
Added the WM_HARDRESET and WM_SHUTDOWN window messages for configuration manager purposes.
2018-10-10 22:33:24 +02:00
OBattler
173b1f7694 Replaced the Hercules, Hercules Plus, and Hercules InColor emulations with VARCem's, fixes Pictionary in Hercules mode. 2018-10-10 22:21:55 +02:00
OBattler
8eac49b0f9 Removed a stray excess .cpp file. 2018-10-10 21:59:23 +02:00
OBattler
6c7ff6b30a The REQUEST SENSE command now correctly returns as non-data if cdb[4] = 0. 2018-10-09 16:30:19 +02:00
OBattler
3b8d5f6b87 The TriGem 286M now correctly has IDE;
The TriGem 286M no longer has an internal graphics card - the TriGem Korean VGA card is an ISA card;
Changed the configuration of the AMA-932J's internal OTI-067 to default to 256 kB of memory as that's what the card seems to have.
2018-10-09 05:53:09 +02:00
OBattler
b270d8f87f The AMA-932J's internal OTI-067 now has configurable memory. 2018-10-09 05:30:09 +02:00
OBattler
e231f91229 Writes to port 23F of the Logitech Bus mouse with bit 7 clear are now correctly treated as a Port C single bit set/reset operations (and made it so that said bit is no longer treated as a bus mouse activate/deactivate switch, which it is not), fixes MS MOUSE.COM 7.x and later. 2018-10-09 02:06:28 +02:00
OBattler
17a96ac660 More cleanups and fixes in the NCR 5380 code;
Several bugfixes in disk/hdd_image.c - image creation on emulator start (if image not present) no longer creates too small images and creaters VHD footers with the correct CHS values.
2018-10-08 21:49:47 +02:00
OBattler
f2fa22956e The machine configure button is now disabled if the device returned by machine_getdevice() has no config. 2018-10-08 16:34:03 +02:00
OBattler
0c602a8d26 Fixed the fixes of the 64-bit recompiler;
Updated the ROM set link in README.md.
2018-10-08 04:40:12 +02:00
OBattler
018e58b51e Fixed a minor messup in the NCR 5380 code. 2018-10-08 02:32:54 +02:00
OBattler
a310beaed7 The NCR5380 now supports 12-byte CDB's correctly (and no longer returns with the return value being undefined), and ignores excess writes to the CDB. 2018-10-08 02:24:42 +02:00
OBattler
4d2918276b The OAK OTI-077 now correctly reports 256k memory when 256k is set. 2018-10-08 01:22:37 +02:00
OBattler
5f965ef27d Fixes to the OAK OTi graphics cards' emulation, the 037C and the AMA932J's internal 067 now work. 2018-10-08 00:22:40 +02:00
OBattler
45731dbaa0 Fixed some minor things. 2018-10-07 15:05:14 +02:00
OBattler
53e518692b The ISA RTC code now #includes <time.h>. 2018-10-07 14:55:56 +02:00
OBattler
fd6cacc312 Fixed CD-ROM, ZIP, and SCSI disk changeable page arrays to correctly contain only 0's and 0xFF's in addition to page number and page length, and added descriptive #define's for the pages that did not yet have them. 2018-10-07 00:35:37 +02:00
OBattler
d067ce60aa Added some missing breaks in the BT48x RAMDAC code. 2018-10-06 23:11:42 +02:00
OBattler
c2bbe59949 Joystick configuration no longer gets discarded when joystick type is set to 0 (standard 2-button joystick), fixes saving joystick settings for that joystick type. 2018-10-06 20:42:13 +02:00
OBattler
0b6a026215 Fixed a newly-introduced AT NVR bug. 2018-10-06 02:05:06 +02:00
OBattler
912cd8a766 Fixed a logging line in mem.c. 2018-10-06 01:53:59 +02:00
OBattler
4a981119fa Fixes to NVRAM initialization and the IBM AT's NVRAM now initializes with all 0xFF's. 2018-10-06 01:48:21 +02:00
OBattler
02108238bd Fixes to the NCR 5380 emulation, the CD-ROM timings are now correct and the MODE SELECT (6) slowness is gone. 2018-10-06 01:24:38 +02:00
OBattler
f81574b419 Reworked the RAMDAC and clock chip initialization - now they're all device_t's;
Moved the BT48x hardware cursor draw function to the RAMDAC's code where it belongs;
Renamed the BT48x RAMDAC code file to vid_bt48x_ramdac.c (was vid_bt485_ramdac.c);
Fixed BT48x 64x64 hardware cursor bugs (caused by the index variable being uint8_t when it should have been uint16_t) introduced in the previous commit.
2018-10-05 01:54:54 +02:00
OBattler
706e819ca2 And the truly last file. 2018-10-04 03:42:56 +02:00
OBattler
4949e1718c And two more yet again. 2018-10-04 03:41:54 +02:00
OBattler
3e499eb9ba And two more in win/. 2018-10-04 03:40:32 +02:00
OBattler
66c914f2fe And two more. 2018-10-04 03:39:19 +02:00
OBattler
bad33a1e95 I evidently missed one more. 2018-10-04 03:38:25 +02:00
OBattler
7cfed58b4e This time for real. 2018-10-04 03:37:35 +02:00
OBattler
0c2853e6f0 The last three files. 2018-10-04 03:36:33 +02:00
OBattler
415c396163 Removed hopefully all the remaining excess files. 2018-10-04 03:35:16 +02:00
OBattler
7533bdd520 Removed even more excess files. 2018-10-04 03:31:42 +02:00
OBattler
308e6272e2 Removed more excess files. 2018-10-04 03:31:11 +02:00
OBattler
b057c6222a Removed several excess files. 2018-10-04 03:30:31 +02:00