Jasmine Iwanek
d00f80d3ce
General changes from the obattler_202406 branch
...
Co-Authored-By: Miran Grča <oubattler@gmail.com >
2025-02-09 02:20:36 -05:00
Jasmine Iwanek
5f273265ae
Assorted warning fixes
2025-02-02 03:24:50 -05:00
Jasmine Iwanek
4e6f29a7d5
malloc to calloc
2025-02-01 15:38:36 -05:00
Jasmine Iwanek
81b8038bc5
Clean up .available & .poll
2025-02-01 03:38:52 -05:00
Dmitry Borisov
8dc0beaeec
pc87307: Fix GPIO base address configuration
...
Don't clobber the GPIO I/O Base value.
According to the PC87307 datasheet, port 0x60 bits [2:7] are read-only
for the Parallel Port (4) device and cannot be altered by software.
For others devices, the 0x60 port may be written with any value.
The SGI firmware emits the following PC87307 initialization sequence
after each reset:
/* Select the GPIO device (7) */
SIO IDX: 2E <-- 07
SIO DAT: 2F <-- 07
/* I/O Base MSB = 0x0F */
SIO IDX: 2E <-- 60
SIO DAT: 2F <-- 0F
/* I/O Base LSB = 0xC0 */
SIO IDX: 2E <-- 61
SIO DAT: 2F <-- C0
/* Enable address decoding (I/O Base = 0xFC0) */
SIO IDX: 2E <-- 30
SIO DAT: 2F <-- 01
The GPIO I/O Base is erroneously assigned to 0x7C0. Fix by removing the 0x07 mask.
2025-01-05 12:22:14 +06:00
Jasmine Iwanek
f4b63caf0b
One line per file in CmakeLists.txt
2024-09-04 18:34:06 -04:00
OBattler
5fdd6263a2
FDC37x93x: Always return 0xFF on GPIO reads, allow the code in chipset/intel_piix.c to take over instead, fixes CPU speed readout on the HP Vectra VL 5 Series 4.
2024-08-30 19:47:22 +02:00
OBattler
fc714e7270
Backported the VLSI 82c113 Super I/O chip from my branch because of two machines we already had that require it.
2024-07-22 00:07:39 +02:00
OBattler
c377a36288
SM(S)C FDC37c932 Super I/O chip fixes, fixes #4601 .
2024-07-19 17:45:44 +02:00
OBattler
509305f2f1
Make the SMC FDC37c935 Super I/O chip on the HP Brio 80xx and Packard Bell PB810 correctly use port 370h instead of the standard 3F0h, fixes #4427 .
2024-05-07 20:09:30 +02:00
OBattler
75919a1cb9
Fixed the SM(S)C) FDC37C93x NVR handling and make any non-PIIX4 machine that uses it, use its full NVR capabilities.
2024-04-18 03:49:47 +02:00
OBattler
7f4e8caefa
IT86x1: Use PRIXPTR instead of the #ifdef's.
2024-03-27 22:23:33 +01:00
OBattler
58a0c840c1
Added SiS 550x, 558x, 559x, (5)600, UMC UM8890, UMC UM8663 Super I/O Chips, UMC UM8673F and Winbond W83769F IDE Contollers, and a number of machines, and fixes to the UM888x 486 chipset.
2024-02-22 00:52:20 +01:00
OBattler
78dd603951
Minor change to FDC37C6xx.
2024-02-20 07:26:44 +01:00
OBattler
0483b8ceec
FDC37C669: Fix a wrong condition causing segmentation faults.
2024-01-29 11:07:11 +01:00
BurnedPinguin
fc834decb9
Merge branch '86Box:master' into machine_23
2024-01-27 09:34:42 +01:00
OBattler
9107c2fa25
Added the AOpen AP61 and fixed floppies on the LG IBM 440 FX.
2024-01-24 04:56:31 +01:00
BurnedPinguin
5e59cb17cf
Conflict resolution.
2024-01-18 11:45:21 +01:00
OBattler
1d15d48ee7
Broke out the ALi M5213 IDE from the ALi M1489 code (it turns out the ALi M1489 on-chip IDE is for all intents and purposes identical to the M5213) and made the Acer A1G use it.
2024-01-08 23:58:30 +01:00
OBattler
3a62aa4ea7
First batch of Acer A1G fixes, fixes #3992 .
2024-01-08 22:27:09 +01:00
OBattler
4f392ca8e3
SM(S)C FDC37C669 Super I/O chip rewrite and proper FDC power down behavior, fixes floppy drive errors on the new Daeweoo machine.
2024-01-07 01:42:34 +01:00
OBattler
a76e3890b2
And the one in sio/sio_um8669f.c.
2023-12-16 20:57:58 +01:00
OBattler
c2a89f64b2
Fixed the warnings in sio/sio_it86x1f.c.
2023-12-16 20:56:45 +01:00
OBattler
e5cfed2c24
IT86x1F: Move the declaration of effective_ldn outside the case block.
2023-11-11 17:01:56 +01:00
RichardG867
adaba17743
sio_um8669f: Improve configuration register system and add definitions
2023-11-07 22:28:26 -03:00
RichardG867
c243af519b
sio_um8669f: Implement IDE controller
2023-11-07 22:02:30 -03:00
RichardG867
61ec3213c6
Merge branch 'master' of ssh://github.com/86Box/86Box into version/4.1
2023-11-07 21:28:51 -03:00
OBattler
9e08c8317b
Fixed NVR handling on PC87306 reset, fixes MR BIOS'es.
2023-11-06 04:14:42 +01:00
RichardG867
3d65f69949
Rewrite IT8661F and add IT8671F
2023-10-23 15:50:19 -03:00
OBattler
f3ca2a6dcd
Added the Winbond W83878F variant with HEFERE = 0 (key = 88h) and correctly made the MS-5124 use it.
2023-10-20 21:48:51 +02:00
OBattler
57375db3bd
More fixes.
2023-10-08 18:15:27 +02:00
OBattler
684a842699
Some fixes, Socket 7 3 V, and the on-board Vibra 16S.
2023-10-08 05:21:12 +02:00
OBattler
7fe79f995d
Intel GPIO sanitization, phase 1.
2023-10-08 01:14:26 +02:00
OBattler
4f5c832f7c
PC87306 GPIO handler fixes.
2023-10-07 05:13:38 +02:00
Jasmine Iwanek
859d06b608
More linting in src/sio
2023-08-23 00:18:16 -04:00
OBattler
f7b5a566cb
Added the OPTi 82c602, on-board CL-GD 5430, and also gave the PC87306 Super I/O chip its full NVR capabilities, fixes #2877 .
2023-08-15 06:45:02 +02:00
OBattler
b203b28350
Assorted copyright header fixes.
2023-08-14 21:51:47 +02:00
RichardG867
4837cbc41f
sio: UM8669F cleanup and clarification
2023-08-09 16:54:08 -03:00
BurnedPinguin
493ac63741
Fix the Anigma BAT4IP3e's secondary IDE channel.
2023-07-23 17:26:14 +02:00
BurnedPinguin
f9a6295a3c
Add the PB450 with MicroFirmware Phoenix 4.05 BIOS. The stock 1.0A BIOS... (which is the only stock BIOS we have for the PCI version of this board) is currently exhibiting setup utility issues and other POST issues. It will be added later as part of the BIOS switching feature.
2023-07-23 16:50:12 +02:00
Jasmine Iwanek
54c52fb55c
Fix several instances of uninitialized variables.
2023-07-21 13:46:08 -04:00
Jasmine Iwanek
1116aadb6f
Another round of sonarlint work
2023-07-04 10:53:44 -04:00
OBattler
997a068c95
Fixed an off-by-one error in sio/sio_it8661f.c.
2023-06-19 00:07:30 +02:00
Jasmine Iwanek
ed1b369abd
Yet more sonarlint fixes
2023-05-29 06:21:17 -04:00
OBattler
3b54cb085e
Some minor bugfixes.
2023-04-24 02:47:17 +02:00
Jasmine Iwanek
610401de7a
Yet more clang-formatting
2023-02-28 23:53:57 -05:00
Alexander Babikov
5653ae85d9
Switch more device_t's to named initializers
...
Fixes "missing braces around initializer" warnings
2023-03-01 01:34:05 +05:00
OBattler
f12b16cbdd
Ali M5123 Super I/O fixes - serial ports now work correctly, fixes #3070 .
2023-02-04 04:02:19 +01:00
luennix
4085e4c928
PR for 86Box
2023-01-09 16:31:36 +03:00
Jasmine Iwanek
1860700eab
Fix some small issues
2023-01-07 17:02:23 -05:00