Commit Graph

11054 Commits

Author SHA1 Message Date
OBattler
488e066e8c Reapplied the PCjr PIC fix from build 4785, fixes #3707. 2023-10-04 05:38:07 +02:00
OBattler
209c8fbbda Assorted CD-ROM fixes (now cue sheets starting at a non-zero sector work correctly) and increased the maximum number of CD-ROM drives to 8. 2023-10-04 02:49:22 +02:00
OBattler
7fed7c1510 Made the condition for asserting an IRQ stricter. 2023-10-03 20:03:13 +02:00
OBattler
71d4c4837f Revert to not updating pending IRQ's if the request results in no effective change. 2023-10-03 19:39:28 +02:00
OBattler
b363cbf884 Another PIC fix. 2023-10-03 06:28:22 +02:00
OBattler
1c8ad0b7e8 Another PIC fix. 2023-10-03 03:28:21 +02:00
OBattler
ebd5f950bc A slight PIC rework. 2023-10-01 20:37:30 +02:00
OBattler
76160c4d1d Do a spurious IRQ 7 or IRQ 15 instead, per the specification. 2023-10-01 18:00:58 +02:00
OBattler
8634cffb98 Replaced the fatal for 286+ with an error correction mechanism (clear IRQ 2 and find best PIC 1 interrupt again). 2023-10-01 17:55:31 +02:00
OBattler
ed119ed163 And another. 2023-10-01 17:33:53 +02:00
OBattler
b03df6bdd1 Attempted PIC fix. 2023-10-01 17:26:44 +02:00
Jasmine Iwanek
f1df24d036 Merge pull request #3714 from 86Box/tc1995
Fix compilation.
2023-09-30 16:23:12 -04:00
TC1995
097fa229bd Fix compilation. 2023-09-30 22:21:09 +02:00
Miran Grča
80aa5bb761 Merge pull request #3713 from 86Box/tc1995
Video, Storage and MCA changes/fixes.
2023-09-30 22:17:52 +02:00
TC1995
f104653312 Forgot one more change:
Actually make the Adaptec AHA-154xC/CF/CP and possibly the 1640 one (TBD in real hardware) signature aware.
2023-09-30 22:14:30 +02:00
TC1995
6802c0593b Video, Storage and MCA changes/fixes.
1. Cirrus Logic GD54xx, Paradise/WD VGA now reset the interlace once a text mode is issued if not done automatically.
2. Paradise/WD's 15/16bpp modes using the 800x600 resolution now have the correct ma_latch, should fix most operating systems drivers using this combo.
3. More fixes (hopefully) to the accelerated pitch and rowoffset of the Trident TGUI cards (9440AGi and 96x0XGi), should fix issues with delayed displays mode changes under various operating systems (e.g.: Win3.1x).
4. Preliminary implementation of the Area Fill command of XGA, which is issued while using various painting and/or calc utilities on Win3.1x (IBM XGA updated drivers, e.g.: 2.12).
5. Preliminary (and incomplete) 4bpp XGA mode.
6. The XGA memory test for the 0xa5 using writes (used by various operating systems) no longer conflicts with DOS' XGAKIT's memory detection.
7. Small ROP fixes to both XGA and 8514/A.
8. Re-organized the mapping of the Mach32 chipset, especially when to enable the ATI mode or switching back to IBM mode, should fix LFB conflicts with various operating systems.
9. According to The OS/2 Museum, the Adaptec AHA-154xB series of SCSI cards fail the ASPI4DOS.SYS 3.36 signature check, so now make the changes accordingly.
10. Remove useless and crashy bios-less option of the Trantor T128.
11. The Image Manager 1024 card can also be used on a XT (although only if it has a V20/V30).
12. Re-organized the IBM PS/2 model 60 initialization as well as its right POS machine ID (though an update to sc.exe is still required for the POST memory amount to work normally).
2023-09-30 22:08:08 +02:00
OBattler
b1c7834476 Another small PIC fix. 2023-09-28 07:34:20 +02:00
OBattler
d7bc7b302d Always clear IRR on clear if the specified interrupt is not set to level-triggered on the PIC or ELCR. 2023-09-28 01:15:07 +02:00
OBattler
0d82f1b04b Merge branch 'master' of https://github.com/86Box/86Box 2023-09-28 00:20:24 +02:00
OBattler
8bdecb1f59 Some PIC and ACPI IRQ fixes. 2023-09-28 00:20:15 +02:00
Jasmine Iwanek
9b9dc6cdcc Removed escaped whitespace at end of line. 2023-09-26 05:00:30 -04:00
Jasmine Iwanek
07af166d2f Fix a build error on haiku in ini.c 2023-09-26 04:51:59 -04:00
OBattler
3a66fb2e37 Merge branch 'master' of https://github.com/86Box/86Box 2023-09-24 19:03:23 +02:00
Miran Grča
fafb0dd0f5 Merge pull request #3691 from adh/serial-passthrough
fix flags for serial passthrough on unix
2023-09-24 19:00:29 +02:00
Miran Grča
ceca627edb Merge pull request #3698 from 86Box/tc1995
SCSI changes and fixes:
2023-09-24 18:53:43 +02:00
Miran Grča
cbb5cf8185 Merge pull request #3706 from yishayv/plip_fix
Init LPT before Network to fix PLIP mode.
2023-09-24 18:35:15 +02:00
TC1995
b1099fab1d Fix max types of the cdrom models. 2023-09-24 07:52:43 +02:00
TC1995
f30c71ed3b SCSI changes 2:
Replaced the string comparisons with proper drive types comparisons without strings.
2023-09-24 07:44:25 +02:00
Yishay Vadai
5c9509d51d Init LPT before Network to fix PLIP mode. 2023-09-23 21:01:38 +03:00
Miran Grča
491cdda458 Merge pull request #3702 from lemondrops/machine-table-fixes
Machine table fixes
2023-09-21 20:40:58 +02:00
Alexander Babikov
1753d85c88 Bump minimum RAM limit for the Soyo 4SAW2 and Zida 4DP to 2 MB
This prevents the BIOS hanging with 1 MB of RAM set
2023-09-21 23:18:04 +05:00
Alexander Babikov
a20a98c755 Blocklist the CPUs without an internal FPU on the IBM PS/2 Model 70 type 4 2023-09-21 23:17:52 +05:00
TC1995
45ecdf37de SCSI corrections:
1. Changed the p's back to priv's.
2. Made the Spock/Tribble cards use picint instead of picintlevel.
3. Corrected fallthroughs and a minor change in the SCSI CD-ROM code core.
2023-09-20 23:14:00 +02:00
TC1995
7c6381b2ea SCSI changes and fixes:
1. Added the Tribble 16-bit IBM SCSI adapter.
2. Reworked the vendor unique commands to counter audio issues as well as adding some undocumented commands (thanks to the source code of xmcd!), plus replacing the NEC CD-ROM DRIVE:75 with the :38 one.
2023-09-20 20:29:32 +02:00
Miran Grča
f324116eaf Merge pull request #3695 from lemondrops/misc-fixes
Assorted fixes
2023-09-17 00:41:47 +02:00
Miran Grča
8fb30939a3 Merge pull request #3694 from lemondrops/softfloat-no-fpu
Disable the softfloat checkbox when no FPU is selected
2023-09-17 00:41:30 +02:00
Alexander Babikov
5ce223e469 Add the SOFTFLOAT_ONLY flag to the Quadtel 286 clone
Closes #2274
2023-09-16 23:53:41 +05:00
Alexander Babikov
363e48eaf5 qt: Disable the Discord integration menu item if the Discord library isn't loaded 2023-09-16 23:53:40 +05:00
Alexander Babikov
f7bd0afbac Dev branch: Fix the GUS MAX's CS4231 using the wrong DMA channel 2023-09-16 23:53:40 +05:00
Alexander Babikov
178f1ce599 Disable the softfloat checkbox when no FPU is selected 2023-09-16 23:52:32 +05:00
Aleš Hakl
6eaf274c33 remove debug printf() 2023-09-15 16:55:24 +02:00
Aleš Hakl
129950b5af fix flags for serial passthrough on unix 2023-09-15 16:49:33 +02:00
Jasmine Iwanek
b3dbfcfc9a Merge pull request #3672 from rderooy/rdr/rpm-fixes
Add new 4.0 dependencies to RPM spec file
2023-09-08 19:08:16 -04:00
Miran Grča
aba774d3b7 Merge pull request #3677 from jriwanek-forks/update-checkout
Update actions/checkout to v4
2023-09-05 01:35:30 +02:00
Jasmine Iwanek
bd473f8382 Merge pull request #38 from jriwanek-forks/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-09-04 19:26:31 -04:00
dependabot[bot]
64956506bb Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 18:18:12 +00:00
OBattler
14b31d369f Merge branch 'master' of https://github.com/86Box/86Box 2023-09-04 04:55:16 +02:00
OBattler
95c9c1dc95 Reverted the PIC code to basically the old code with the new way of handing level-triggered IRQ's, fixes IDE hard disk and ATAPI CD-ROM problems. 2023-09-04 04:55:09 +02:00
Robert de Rooy
ff56469b76 Add new 4.0 dependencies to RPM spec file 2023-09-02 10:51:40 +02:00
Davidson Francis
4bde11c290 GDB stub small fixes: out-of-bounds and wrong packet reply in 'qfThreadInfo' (#3666)
* Fix out-of-bounds access on gdbstub_client_respond()

The issue happens when the ENABLE_GDBSTUB_LOG flag is set, more
specifically within the gdbstub_client_respond() function. This is
due to the fact that the string 'GDB Stub: Sending response: ' and
the newline character '\n' total 29 characters. When combined with
the 995 characters of client->response, the total is 1024 bytes.
However, the pclog_ex() buffer size is also 1024 bytes, leaving no
room for the null terminator '\0'. As a result, when attempting to
print the text on the screen, a segmentation fault occurs.

This commit fixes this by decreasing the response text's size by one
byte.

* Remove extra space in 'qfThreadInfo' packet response in gdbstub.c

When GDB sends the 'qfThreadInfo' packet, one of the possible responses
is 'm thread-id', as specified in [1]. However, contrary to what the
documentation implies, there is no space between 'm' and the thread-id.
In the current approach, GDB isn't even able to recognize that there's
any active thread, as the code sends "m 1" instead of "m1".

This commit addresses this by removing the space in the response.

Ref:
[1]: https://sourceware.org/gdb/onlinedocs/gdb/General-Query-Packets.html
2023-08-31 14:11:27 -03:00