Jonathan Campbell
383ed6e4cf
Merge pull request #5683 from smunaut/pci-bus-fixes
...
PCI bus improvements : Allow device to see full size access
2025-05-05 15:02:41 -07:00
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
1c07709727
Add integration device commands to read CPU cycle count and info
2025-05-04 22:28:22 -07:00
Jonathan Campbell
837b06503c
It is a register, not a command, be consistent
2025-05-04 17:30:09 -07:00
Jonathan Campbell
dd8afd4f7b
reg to get window size
2025-05-04 17:28:45 -07:00
Jonathan Campbell
4950614305
more constants
2025-05-04 17:04:44 -07:00
Jonathan Campbell
6831c527f5
CMD is for command port constants, name it REG, be consistent
2025-05-04 16:46:49 -07:00
Jonathan Campbell
43d112b54f
more constants
2025-05-04 16:38:28 -07:00
Jonathan Campbell
1a6e7c3fbe
Mouse capture status on read
2025-05-04 16:17:02 -07:00
Jonathan Campbell
d073397388
platform/machine type regs
2025-05-04 16:01:10 -07:00
Jonathan Campbell
905cb208a3
more constants, dosbox version
2025-05-04 15:57:35 -07:00
Jonathan Campbell
c5d2fe2c02
constants
2025-05-04 15:45:49 -07:00
Jonathan Campbell
c7dd8c8002
more
2025-05-04 14:48:31 -07:00
Jonathan Campbell
e0cfaad203
removed functions
2025-05-04 14:35:36 -07:00
Jonathan Campbell
fc7d762b0a
Change magic numbers to readable constants
2025-05-04 14:21:06 -07:00
Jonathan Campbell
66550194cd
common header.
2025-05-04 14:14:29 -07:00
Jonathan Campbell
e5c782875a
Prepare for release
2025-05-03 09:43:37 -07:00
maron2000
a45168c7e5
Add prototype to header and some comments
2025-04-26 09:01:14 +09:00
Jochen Schfer
e6c3eacd5b
OS/2: Made SDL2 version running
2025-04-14 09:43:41 +02:00
Jochen Schfer
57fc5831d3
Some OS/2 specific changes. Patches are not complete yet
2025-03-29 10:35:37 +01:00
Jonathan Campbell
cf7ed0d9dd
Allow dos mem limit to direct DOS kernel allocation, the same as memsizekb, so you can have 640KB of RAM but cram DOS into the first 4KB for example
2025-03-13 23:28:04 -07:00
David 'Erosion' Oberlin
6156ccb990
added modeswitch toggle
...
A toggle for letting DOSBox-X determine what resolution, through SDL2, to set the monitor hasbeen implemented.
2025-03-14 00:59:28 +00:00
maron2000
a7d740fd7a
A more universal fix for glitch of DBCS character at the end of a line
2025-03-07 23:40:12 +09:00
1abcd
5a6dc9876f
Remove two duplicate mappings of Chinese characters
2025-03-05 23:59:44 +08:00
Jonathan Campbell
ba48a170bf
Fix timer handling to make IRQ 0 an edge trigger interrupt. Add code to PIC emulation to process said interrupts as edge trigger, do not signal the IRQ unless PIC_DeActivateIRQ() is called, then PIC_ActivateIRQ(). For some reason, this also seems to fix the audio in Tyrian 2000, though the audio still sounds a tiny bit crackly
2025-03-02 11:49:46 -08:00
maron2000
b4fe202038
Fix glitch of DBCS character when first byte and second byte are separated at the end of line
2025-02-28 23:44:03 +09:00
1abcd
d226ffcab6
Add files via upload
2025-02-26 17:38:48 +08:00
Jonathan Campbell
b718ad45a8
DMA: Help other emulation code by offering a way to determine what triggered DMA_MASKED and DMA_UNMASKED events. It is not always the DOS guest that does it, internal functions of the DMA controller can cause it too
2025-02-12 05:52:48 -08:00
Jonathan Campbell
62e1c4fa38
DMA: Add callback event for when the guest reads DMA channel status. Sound Blaster: If the guest reads DMA status, render up to current time so that the guest can see very accurate DMA counter movement. This still does not fix the occasional pop/crackle in Windows 95 if the sound driver is interrupted, but it seems to help Tyrian 2000 and remove the need for using Goldplay mode though audio still sounds a little bit crackly.
2025-02-10 07:59:36 -08:00
Jonathan Campbell
c9a8d687f4
Savestate: Now cleanup load code
2025-02-06 17:28:08 -08:00
Jonathan Campbell
7e62fd4228
Move out C++ ZIP stdbuf
2025-02-06 16:23:51 -08:00
Jonathan Campbell
ef9413ee93
Savestate: Remove unused code
2025-02-06 12:42:23 -08:00
Jonathan Campbell
60f501d553
Prepare for release
2025-02-01 07:07:24 -08:00
Jonathan Campbell
db28adfec1
Prepare for release
2025-02-01 07:02:22 -08:00
Jonathan Campbell
0e3c0c9dcd
Update build date
2025-01-31 23:11:54 -08:00
Jonathan Campbell
75aa320879
SDL2: Use the newer sound API and make some requests to improve audio rendition
2025-01-30 20:27:07 -08:00
Jonathan Campbell
c487bdd002
cleanup
2025-01-23 17:20:00 -08:00
Jonathan Campbell
b3e2d6e2be
For PC-98 mode, add a patched version of CWSDPMI.EXE made for PC-98 systems
2025-01-22 12:19:04 -08:00
Jonathan Campbell
4e21a21b39
Paging cleanup
2025-01-22 12:04:20 -08:00
Jonathan Campbell
2296d2f4fc
Paging cleanup
2025-01-22 11:39:38 -08:00
Jonathan Campbell
4c0f6171c0
Paging define TLB entry data type and bit masks as bit positions for future cleanup. Some of the paging fields do not need to be Bitu, they only need 32 bits
2025-01-22 00:16:12 -08:00
Jonathan Campbell
7707d7b8a9
bitop.h include guard
2025-01-22 00:15:18 -08:00
Jonathan Campbell
c92cf550bc
Fix ISA PnP macros, the type parameter is supposed to accept the output of another macro that inserts 3 byte constant values. This should fix issues caused by past cleanup that broke Windows 9x/ME installs
2025-01-21 17:05:24 -08:00
Jonathan Campbell
7b424c1dc2
forgot a header file
2025-01-20 21:17:51 -08:00
Jonathan Campbell
53fbe1b17f
Begin adding PC-98 BIOS data area constants, now that Hackipedia.org finally has a complete English translation of Undocumented 9801, 9821 Volume 2
2025-01-20 20:39:03 -08:00
Jonathan Campbell
efa9bd4fff
Fill out bios.h
2025-01-20 18:47:50 -08:00
Jonathan Campbell
1bb52e5672
retab bios.h
2025-01-20 18:17:50 -08:00
Jonathan Campbell
223342c2a8
Cleanup VGA other code
2025-01-20 17:31:39 -08:00
Jonathan Campbell
b26b851698
VGA DetermineMode: Move out S3-specific mode determination into its own callback, leave only standard EGA/VGA there
2025-01-20 17:01:23 -08:00
Jonathan Campbell
bb63119c7f
Move DetermineMode DCGA check into its own function
2025-01-20 16:53:58 -08:00