Cimarron Mittelsteadt
c3f5637e0e
Fix with how DOS_Execute allocates memory to comply with the memory allocation strategy for UMB...now, it will allocate and execute in UMB if there is enough memory for the minimum allocation of the executable
2021-07-21 19:13:20 -07:00
nanshiki
2bdb1a2fdd
DBCS vector table fix.
2021-07-08 15:17:31 +09:00
Allofich
c2b17e40ed
Localize #include "logging.h" from dosbox.h
2021-06-09 11:11:03 +09:00
Wengier
61b807e9ad
support system IME for Windows SDL1 builds
2021-06-07 13:46:46 -04:00
Jonathan Campbell
d71f9e350f
Merge pull request #2578 from Allofich/includes3
...
Include cleanup
2021-06-05 15:34:58 -07:00
Wengier
c906cfabf7
more
2021-06-05 17:56:53 -04:00
Allofich
67ebe980a7
Remove unneeded includes
2021-06-06 04:39:54 +09:00
Wengier
9e8ff116e0
add support for Japanese DOS/V mode
2021-06-04 20:47:45 -04:00
Allofich
5cf1d72bab
Remove redundant casts
2021-05-30 11:44:00 +09:00
Allofich
da6009c540
Remove casts that remove const qualification
2021-05-18 22:28:26 +09:00
Allofich
9294d450ec
SVN r4412
...
Update copyright.
2021-03-06 21:18:08 +09:00
Wengier
4879105b7a
enhanced serial ports
2020-12-17 05:07:43 -05:00
Wengier
b5a582df9d
synchronize time and extended parallel ports
2020-12-12 23:34:36 -05:00
Wengier
8f95e751ec
improve resetting LOADLIN
2020-10-28 23:02:58 -04:00
Allofich
8e502d57ad
SVN r4369
...
Compatible side-effect behavior of DOS in the file close function.
2020-10-03 18:43:29 +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
Wengier
50f4e9aefe
use 64-bit for MinGW64
2020-07-22 21:20:47 -04:00
rderooy
608a657b50
Update copyright year for dosbox and dosbox-x assets and update FSF address
2020-06-25 08:42:32 +02:00
nia
f02b19f07a
Only use fopen64/etc on Linux and Windows
...
Use the standard variants of these functions everywhere else,
since other OSes have generally implemented large file support
on top of the standard functions.
There are other exceptions... Solaris and QNX are the only others
I could find with google that hint that they implement the *64
functions, but Solaris at least has deprecated 32-bit support,
which makes it a bit irrelevant. Unfortunately I can't test on
QNX because my QNX hardware is broken. I could be useful with
fixing dosbox-x on Solaris but I'm not sure how to get endian
definitions out of it (maybe SDL could be used for this, though).
This helps me with building on NetBSD.
2020-06-03 15:31:13 +01:00
Wengier
0ec9d3431f
add flag
2020-05-27 22:07:12 -04:00
Jonathan Campbell
d1f6baf1b0
DOS DTA: Expand Dir ID Cluster field to 32-bit so that FAT32 directory searches can work properly. Windows 98 FAT32 appears to do the same with INT AH=4Eh and 4Fh
2020-05-16 15:46:19 -07:00
Jonathan Campbell
a0c2fd3978
DOS and DOS FAT driver: Add to DOS drive API to allow reporting larger volumes than 2GB so FAT32 free/total disk space APIs can work properly. Change Wengier's INT AX=7303h implementation to use it so FAT32 drives can report the full space properly. COMMAND.COM for Windows 98 now report free disk space properly even if FAT32 partition larger than 2GB.
2020-05-14 23:51:06 -07:00
Allofich
c4a2138347
Const cleanup
2020-05-05 21:45:42 +09:00
Allofich
68f41d3cea
Use class initialization and initialization lists
2020-05-04 18:44:34 +09:00
Allofich
47eef02720
Const cleanup
2020-05-04 18:44:28 +09:00
Jonathan Campbell
21025d92ad
Increase DOS devices limit to 20 [ https://github.com/joncampbell123/dosbox-x/issues/1456 ]
2020-03-28 13:46:31 -07:00
Jonathan Campbell
e31a0a8165
Incorporate Long Filename Support for DOS version 7 [ https://github.com/joncampbell123/dosbox-x/issues/1425 ]
2020-03-06 22:56:22 -08:00
Jonathan Campbell
9dcf519fe7
Linux off_t is 64-bit on 64-bit, while MSVC fseeko is still 32-bit. Just make a new typedef and be done with it
2020-02-22 16:54:50 -08:00
Allofich
038566362e
Fix Cppcheck funcArgNamesDifferent warnings
2019-10-21 22:08:39 +09:00
Allofich
4f143be7b2
Fix uninitialized member variable warnings
2019-10-11 23:00:55 +09:00
Jonathan Campbell
9a88a8a457
DTA class allow reading attribute
2019-09-02 22:35:32 -07:00
Jonathan Campbell
5bad16d9f6
DOS FCB allow pointer change
2019-09-02 22:14:59 -07:00
Jonathan Campbell
864fb6b3b0
DOS: Allow FCB creation to set volume label if volume label attribute is set
2019-09-02 03:20:46 -07:00
Jonathan Campbell
3151e108f7
DOS: Fix the List of Lists to point at the Disk Parameter Block, for PC-98 games that enumerate the list directly
2019-08-27 12:27:01 -07:00
Jonathan Campbell
b66ba3133b
DOS: Replace hard-coded 9 bytes per DPB entry with dos.tables member that declares the bytes per entry, with defaults appropriate for MS-DOS 4.x to 6.x emulation
2019-08-26 15:54:05 -07:00
Allofich
46e6fc20b1
Type-conversion warning fixes
2019-06-29 22:51:44 +09:00
Jonathan Campbell
13646fc615
Merge pull request #1141 from Allofich/warnings3
...
Cleanup
2019-06-15 08:53:57 -07:00
Allofich
8598f90386
Remove undefined function declarations
2019-06-15 20:13:21 +09:00
Allofich
62fed560b4
Fix uninitialized variable warnings
...
Also fix a NULL dereference warning
2019-06-14 22:40:22 +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
Allofich
be94577820
SVN r4120
...
Support some installer disk detection methods: block device count, and
specific MBR/boot sector contents. Fixes (original) SimCity, Amberstar,
and later MicroProse installers.
2019-05-27 00:31:08 +09:00
Allofich
65b73d0875
SVN r4097
...
ANSI emulation is activated for the session when an escape sequence is
encountered other than those used by internal messages. Fixes LucasArts
setup programs provided that ANSI emulation is not activated.
2019-05-26 01:49:52 +09:00
Allofich
bea0bea163
SVN r3983
...
Be more compatible by converting tabs to spaces in the DOS console
device rather than in the video BIOS teletype function.
2019-05-13 20:08:04 +09:00
Allofich
7f680e0adc
SVN r3962 and r3971
...
Set record size to 128 if it is 0 in the FCB when calling any FCB
read/write function
Fixes for acad 10:
- Add missing reference counting when the file is already open when
calling FCB_Open, so that acad, which uses FCBs and normal handles on
the same file, works better.
- Remove FCBs being added to the PSP filetable and rewrite most
functions to support this change. This way acad won't run out of
temporary (fcb) files when low on memory.
2019-05-12 17:57:00 +09:00
Allofich
beb7ece1e5
SVN r3955
...
Correct some offsets in the DTA for FCB-based search results. Fixes DIR
listing in COMMAND.COM from MS-DOS and file info in XTree Gold.
2019-05-11 21:47:15 +09:00
Allofich
765537d4c7
SVN r3938
...
Add call to clear out some more fields, needed for fcb name parsing
2019-05-09 19:04:32 +09:00
Jonathan Campbell
f459a42639
fix freetype vcxproj
2019-04-02 20:48:10 -07:00