17927 Commits

Author SHA1 Message Date
Robert de Rooy
694cc766a4 Cleanup Bash scripts.
This makes them pass shellcheck. Except for a few unused
export warnings.

I also wonder if the majority of these files should be
in the root of the project, or should be moved to "build-scripts"
(or should still even exist).

a few minor changes

one more minor changes
2023-04-15 15:53:08 +02:00
Jonathan Campbell
f11408c5a4 Fix info block size and make sure SDA and a specific member of the SDA struct are placed at exactly the offset expected by Microsoft software 2023-04-14 13:03:42 -07:00
Jonathan Campbell
9cafe875d3
Merge pull request #4163 from maron2000/keyfix
Add ABNT C2 support and Mac F16-19 key support (SDL1)
2023-04-14 12:01:21 -07:00
Jonathan Campbell
b4551bd256 SERIAL shell command: Preserve baud multiplier, unless of course the user wants to change it explicitly 2023-04-14 12:00:21 -07:00
Jonathan Campbell
9f8b84b238 Add serial multiplier: parameter as requested to allow higher than 115200 baud rates 2023-04-13 17:52:26 -07:00
Jonathan Campbell
6b4227c212 CPUID should never fault, even for unknown values of EAX, unless CPUID is not supported by the CPU type at all [https://github.com/joncampbell123/dosbox-x/issues/4175] 2023-04-13 16:43:33 -07:00
Jonathan Campbell
e8664f9e27 Remove variable, match local time at all times for now 2023-04-13 16:19:02 -07:00
Jonathan Campbell
039e9a4788 RTC/CMOS: Fix code to properly support both PIE (Periodic Interrupt) and UIE (Update-ended Interrupt) evens 2023-04-13 16:15:26 -07:00
Jonathan Campbell
83785c99bc RTC: Fix "safe read bit", fix time test that was reversed and causing major delays for time/date access 2023-04-13 14:58:48 -07:00
Jonathan Campbell
378d194972 INT 1Ah: Reduce InitRTC() to change only BCD encoding, 24h, and DSE bits. Do not change any other bits. Do not change the RTC periodic interrupt rate. This fixes "The Tales of Peter Rabbit" which sets the RTC clock periodic interrupt rate to 256Hz 2023-04-13 14:46:48 -07:00
Jonathan Campbell
698f2e1faa CMOS: Register C needs to set the proper bits to indicate the purpose of the interrupt 2023-04-13 13:48:57 -07:00
Jonathan Campbell
e721fe5917 Revert "FAT: Try to optimize the code that extends the allocation chain"
This reverts commit 845f56e1a6dcb0d0a9bef117a36a0c961fbfb928.
2023-04-13 13:29:01 -07:00
Jonathan Campbell
0fc8d6e430 Serial and AUX PS/2 mouse emulation needs to not send relative motion if mouse is not captured, to be consistent with BIOS PS/2 mouse emulation 2023-04-12 17:38:09 -07:00
Jonathan Campbell
845f56e1a6 FAT: Try to optimize the code that extends the allocation chain 2023-04-12 17:22:45 -07:00
Jonathan Campbell
78798b3adb Retab. Fix FAT driver directory removal code to only check if any files are not deleted instead of counting each one, which may provide a minor performance boost with regard to deleteing folders 2023-04-12 01:08:01 -07:00
Jonathan Campbell
0bf16b48b4 FAT driver: Why are the functions to look up a directory entry, and to look up and modify a directory entry, needlessly reading the entire directory up to that specific entry? Just look up the particular entry, it provides much higher performance for general filesystem access 2023-04-12 00:25:09 -07:00
Jonathan Campbell
4490d2e3d9 Prepare FAT driver for cluster chain memory to improve performance 2023-04-11 22:43:15 -07:00
Jonathan Campbell
596241506e Clean up allocation chain following code 2023-04-11 22:01:26 -07:00
Jonathan Campbell
2218b06537 CMOS: Allow setting time, fix year vs century handling 2023-04-10 22:42:02 -07:00
Jonathan Campbell
ab3c94cb03 INT 1Ah: Get and set date and time using CMOS 2023-04-10 22:41:09 -07:00
Jonathan Campbell
bde8d8462f INT 21h: Date and time functions should call the BIOS to get and set time 2023-04-10 22:39:08 -07:00
Jonathan Campbell
f7eb99b164 DOS shell TIME command: Actually use INT 21h to set time, please 2023-04-10 22:37:07 -07:00
Jonathan Campbell
29cffb8f48 Increase PIC event queue size to 8192. Windows XP occasionally overruns the event queue when only 512 entries 2023-04-10 19:46:11 -07:00
Jonathan Campbell
e0573a9896 Cleanup FAT driver 2023-04-10 15:07:02 -07:00
Jonathan Campbell
cc2090fbc7 IBM PC keyboard: Send alternate scan codes for Print Screen and Pause depending on Shift, Ctrl, and Alt modifier keys as real keyboards do. This makes it possible to type Alt+SysRq to break into SoftICE, for example 2023-04-10 14:34:59 -07:00
maron2000
2b1166bb71 Add support for Keypad Comma,F16-19 etc (Mac SDL1) 2023-04-10 21:16:30 +09:00
maron2000
8bac781324 Add support for Keypad comma/ABNT C2 (Win SDL1) 2023-04-10 20:22:28 +09:00
Jonathan Campbell
c6160a1b65 Bochs has downgraded the IMR write, reserved bit set error to BX_ERROR which means it no longer aborts the DOSBox-X emulator and fixes issue [https://github.com/joncampbell123/dosbox-x/issues/4116] 2023-04-09 23:06:40 -07:00
Jonathan Campbell
b1bd17b26f Update FREECG98.BMP bitmap from hdk1983 which corrects some character cells [https://github.com/joncampbell123/dosbox-x/issues/4123] 2023-04-09 22:51:09 -07:00
Jonathan Campbell
0baaf0e3c5 Add INT 33h General Driver Information function, fix text cursor to draw mask case even if the last call was to set a graphics cursor, which fixes Microsoft Word 5.5 2023-04-09 20:13:05 -07:00
Jonathan Campbell
cd7fcc38ee S3 XGA: 32-bit bus pixel transfers need to operate only in 32-bit units, even if the guest is sending it 16 bits at a time. This is important in order for the data "alignment" to work properly as well. Update comments based on S3 Trio datasheet, including to replace the specific case the SVN dev thought was "undocumented". This fixes incorrect radio buttons and 16x16 icons in Windows NT/2000 2023-04-09 15:28:14 -07:00
Jonathan Campbell
4651c47f94 Ah, so Windows NT 3.1 and 3.5 expect the keyboard controller to send self test and BAT bytes after reset delay. This fixes startup pause in Windows NT 3.1 and failure to talk to keyboard in Windows NT 3.5 2023-04-09 13:42:43 -07:00
Jonathan Campbell
39183672fc
Merge pull request #4153 from maron2000/master
Fix build error due to adding vga_ati.cpp (VS builds)
2023-04-07 16:55:33 -07:00
Jonathan Campbell
b6b28a9c00 Fix bug in Hercules 9-char pixel fill when the background is NOT black 2023-04-07 08:36:12 -07:00
maron2000
b8de863094
Update dosbox-x.vcxproj
Need to compile vga_ati.cpp
2023-04-07 19:55:30 +09:00
Jonathan Campbell
982ca98006 Hercules InColor CGA attribute blink handling and InColor cursor color 2023-04-06 23:07:29 -07:00
Jonathan Campbell
7cc6679c7d Hercules InColor support for CGA attributes in text mode 2023-04-06 22:59:33 -07:00
Jonathan Campbell
9663c41d7e Refactor Herc common template function for color rendition 2023-04-06 22:54:24 -07:00
Jonathan Campbell
da0fca0555 Whoops, handle 80/88h case properly 2023-04-06 22:42:36 -07:00
Jonathan Campbell
1beca25479 Hercules HGC+ and InColor: Follow bit 1 of CRTC register 14h to allow the guest to select 80-column vs 90-column mode 2023-04-06 22:31:01 -07:00
Jonathan Campbell
66e7928527 MDA/Hercules: Allow and take into consideration the "char9" setting and widen the rendered frame. MDA/Hercules text mode renders text as 9x14 text cells, not 8x14 as currently rendered, but we want the user to be able to get the 8-char render back if desired 2023-04-06 22:19:37 -07:00
Jonathan Campbell
9d002499c2 Never doublescan vertically for VGA output and Doublescan enabled 2023-04-06 20:05:36 -07:00
Jonathan Campbell
70958d8f83
Merge pull request #4149 from maron2000/master
Update BUILD.md (Visual Studio XP support)
2023-04-06 17:14:48 -07:00
Jonathan Campbell
2d05793a3c Move ATI emulation into a file for itself 2023-04-06 16:43:15 -07:00
Jonathan Campbell
2e7d4540b6 Correct DAC remapping responsible for wrong colors in Flight Simulator 2023-04-06 15:56:25 -07:00
Jonathan Campbell
bc99b648ff Finish InColor emulation, confirm it does not break plain HGC DOS games. Microsoft Flight Simulator 3.0 is happy, though the colors are all wrong 2023-04-06 15:13:57 -07:00
Jonathan Campbell
e8f89682d3 retab 2023-04-06 11:46:25 -07:00
Jonathan Campbell
b7e8710646 Remove .orig files 2023-04-06 11:45:20 -07:00
maron2000
57e86e5248
Build windows installers on release only 2023-04-06 21:53:07 +09:00
maron2000
a23852c2e8
Merge branch 'joncampbell123:master' into master 2023-04-06 21:49:12 +09:00