Commit Graph

2121 Commits

Author SHA1 Message Date
OBattler
89ec54ebd2 The WM_SENDSTATUS and WM_SENDSSTATUS window messages now send the emulator's hWnd in LPARAM. 2018-10-24 18:56:17 +02:00
OBattler
51f3a7a335 The Windows code now uses PostMessage to send manager WM's instead of SendMessage. 2018-10-24 16:01:20 +02:00
OBattler
c82d7bc8a7 Changed two memcpy's in floppy/fdd_td0.c back to memmov, fixes loading of compressed TD0 images. 2018-10-24 00:36:07 +02:00
OBattler
16480d27ce Fixed the overscan on the Sigma Color 400. 2018-10-23 23:04:11 +02:00
OBattler
4343f5a8a3 Redid device instantiation, now the ISA memory boards can be configured without having to restart the emulator first. 2018-10-23 21:14:41 +02:00
OBattler
09dbd59985 Fixed a compile-breaking bug. 2018-10-23 19:45:05 +02:00
OBattler
53e64c22ba Added the WM_SENDSTATUS (0x8895) and WM_SENDSSTATUS (0x8896) window message for manager purposes. 2018-10-23 19:41:17 +02:00
OBattler
14095aab59 Fixed another bug in the Sigma Color 400 - now it no longer ignores sigma->palette. 2018-10-23 01:33:48 +02:00
OBattler
eaac9e66fc More WD80x3 NIC fixes. 2018-10-23 01:06:00 +02:00
OBattler
a729b46a02 Fixed the colors on the Sigma Color 400 (was a bug with the adaptation to 86Box) and made it no longer vertically double the screen when the height is more than 250 lines. 2018-10-23 00:08:46 +02:00
OBattler
54aca15a8b Added the Sigma Color 400, ported from PCem patch by John Elliott;
Spread the logging changes to machine files and added a missing log toggle to Makefile.local.
2018-10-22 04:22:00 +02:00
OBattler
c3debcecd8 Changes to packed typedef struct declarations in scsi_cdrom.c and scsi_x54x.h. 2018-10-21 22:14:51 +02:00
OBattler
f088896a74 A few fixes, CD-ROM ejecting/reloading should no longer cause heap problems because they now allocate prev_image_path with the correct length, and the status bar should now work after a hard reset with no config change. 2018-10-21 22:09:18 +02:00
OBattler
c182b9f269 Removed one excess log line from the DP8390. 2018-10-21 21:16:57 +02:00
OBattler
416bd769c4 Ported PCI clean-ups from VARCem. 2018-10-21 20:27:57 +02:00
OBattler
480666673e Fixed a warning in win_sdl.c. 2018-10-21 20:14:12 +02:00
OBattler
aaf10aba68 Small CD-ROM-related fix. 2018-10-21 20:13:09 +02:00
OBattler
86616cd5fb Slight fixes to CL-GD 54xx and generic (S)VGA memory read/write code - fixes E-Ten 24x24 driver (and probably more) on CL-GD and even the Tridents (though the second half of the screen is glitched on Tridents, which is an interlace bug and needs to be looked into). 2018-10-21 20:07:00 +02:00
OBattler
b2ce5b32e8 Fixed some WD80x3 NIC bugs and redid how the DP8390 is told how much memory to allocate and what internal memory space address to map it to. 2018-10-20 17:13:01 +02:00
OBattler
8802c5d3df Some CD-ROM image and IDE fixes. 2018-10-20 04:59:10 +02:00
OBattler
f683837e02 Fixed the WD8013EBT NIC - now it works properly with the interface chip enabled;
Fixed the port aliasing on the WD8003E NIC;
Fixed two bugs in pci.c reported by waltje.
2018-10-20 03:43:11 +02:00
OBattler
58ea2b549e The BT-48x RAMDAC now AND's the cursor data index with 0xFF if the cursor is 32x32. 2018-10-19 20:37:00 +02:00
OBattler
a8d8897f85 Fixed BT48x RAMDAC cursor reading. 2018-10-19 20:11:14 +02:00
OBattler
748c8c8b3c Disabled network activity indicating again since the hangs are still there, and fixed a bug in the BusLogic BIOS request code. 2018-10-19 19:35:39 +02:00
OBattler
15db405697 Fixed Iomega ZIP drive initialization mess;
Fixed (hopefully) network status bar activity indication.
2018-10-19 19:10:12 +02:00
OBattler
bee77a0b6f Disabled network activity indication on the status bar until it's figured out how to do it across threads or it is decided to move it back to the NIC level. 2018-10-19 17:56:09 +02:00
OBattler
1f273d1469 Removed the WIP Video7 files from the makefile, should fix compiling. 2018-10-19 00:51:26 +02:00
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