22 Commits

Author SHA1 Message Date
Sylvain Munaut
cef4197171 pci_bus: Fix endianness of split-to-bytes accesses
The write side is properly split in little-endian, but for some
reason the read side is reconstructing the word/double-words in
big-endian format.

This never showed up before because ATM _all_ access are byte
access anyway because the handler isn't declared as word/dword
capable.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2025-05-05 18:30:31 +01:00
Jonathan Campbell
318b3335e6 cleanup 2025-01-20 16:08:12 -08:00
Jonathan Campbell
239237bd62 cleanup 2025-01-20 01:47:31 -08:00
Allofich
06b21b3475 Remove excess end-of-file empty lines 2021-08-22 15:47:10 +09:00
Allofich
9294d450ec SVN r4412
Update copyright.
2021-03-06 21:18:08 +09:00
Emmanuel Gil Peyrot
c0a106535e Replace Bit32u with uint32_t 2020-09-28 17:14:35 +02:00
Emmanuel Gil Peyrot
a431d81213 Replace Bit16u with uint16_t 2020-09-28 17:14:35 +02:00
Emmanuel Gil Peyrot
35f38f3ebe Replace Bit8u with uint8_t 2020-09-28 17:14:35 +02:00
rderooy
608a657b50 Update copyright year for dosbox and dosbox-x assets and update FSF address 2020-06-25 08:42:32 +02:00
Allofich
46e6fc20b1 Type-conversion warning fixes 2019-06-29 22:51:44 +09:00
Allofich
d84a812743 SVN r4183 (second half)
Update year
2019-06-03 23:01:41 +09:00
Allofich
05619dd023 SVN r4183 (first half)
Update address of FSF
2019-06-03 22:54:46 +09:00
Jonathan Campbell
c5de370eb1 sign conversion fixup 2018-05-30 00:12:03 -07:00
Jonathan Campbell
d9cc9b56e6 unused param cleanup, fixup, compiler warning fixup 2018-05-22 12:02:37 -07:00
Jonathan Campbell
ffbad0b2b3 svn mainline r3878:
Year update.
2015-01-25 21:13:25 -08:00
Jonathan Campbell
db34700d41 remove conditional #if PCI enable, PCI is now always enabled 2014-07-17 15:32:13 -07:00
Jonathan Campbell
06ab6e67f6 massive rewrite, cleanup of PCI bus emulation. replaced shitty
nonsensical configuration read/write functions with more straightforward
config read/write functions with defaults to call upon for dword/word
splitup. added configuration space "write mask" that PCI devices can
modify to indicate what bits and bytes can be written to by the OS.
2014-07-17 15:13:51 -07:00
Jonathan Campbell
01ef298776 more cleanup 2014-07-17 13:45:27 -07:00
Jonathan Campbell
09978a8dd4 remove subfunction support, nothing in DOSBox uses it right now. 2014-07-17 13:23:30 -07:00
Jonathan Campbell
6b54a636ee PCI cleanup: add multiple-bus emulation, use array for BUS+DEVICE
mapping, make unregister explicit to PCI device object, functions to
register S3 and SST (voodoo) PCI devices now store the pointer so that
on unregister it can remove it easily.
2014-07-17 13:16:07 -07:00
Jonathan Campbell
c636dca36a replace large massive "centralized" configuration space with per-PCI
device configuration space (stored in the PCI object itself). Probably
saves a lot of memory too.
2014-07-17 11:59:14 -07:00
Jonathan Campbell
21614b8c3f toss out my copy, integrate tawoongs's daum branch code into mine,
remove what won't compile, begin work.
2013-10-14 05:07:26 -07:00