1
0
Fork 0
Commit graph

4075 commits

Author SHA1 Message Date
ripsaw8080
ff8d4f287f More improvements for IOCTL generic block device request
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4115
2018-06-12 20:18:42 +00:00
ripsaw8080
31d7e74eac It is more compatible with DOS to not insert carriage returns in the console device.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4114
2018-06-12 20:04:10 +00:00
Peter Veenstra
fdc5a06200 No irq generating when masking the IRQ channel. Fixes later sci games and bug #482.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4113
2018-06-11 14:51:22 +00:00
ripsaw8080
cb8bf9f8f6 Return an error for generic block device request on unmounted floppy drives. Fixes bug #481.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4112
2018-06-02 18:21:21 +00:00
Peter Veenstra
825999f3b8 Ensure stat receives the correct path when base_path misses filesplit. Remove duplicate code.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4111
2018-05-30 17:54:50 +00:00
ripsaw8080
f9ac735c98 Be less specific about the jump instruction when identifying a video BIOS.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4110
2018-05-30 12:52:17 +00:00
Peter Veenstra
5bb10db88b Time keeps on ticking
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4109
2018-05-29 12:58:58 +00:00
Peter Veenstra
4bcbd35104 Fix ExpandDot not caring about the size of the buffer. (vogons topic 59658)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4108
2018-05-29 09:27:16 +00:00
Peter Veenstra
671ba9915e Fix comparison and a warning
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4107
2018-05-29 08:59:49 +00:00
Peter Veenstra
80740117b9 Take length in consideration before moving the echo off upwards.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4106
2018-05-24 18:09:21 +00:00
Peter Veenstra
85789a06da Fix echo off being written twice. Attempt to make the line endings in the generated autoexec.bat all DOS style line endings.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4105
2018-05-22 15:18:45 +00:00
ripsaw8080
ee8103cc23 Lock default label of HDD local drive mounts. Fixes label changing to the host drive label when resetting cache on the Windows platform.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4104
2018-05-22 15:18:00 +00:00
Peter Veenstra
dc5c83eb60 Only add return to buffer if it already contains data, which fixes extra return in generated autoexec.bat.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4103
2018-05-22 15:11:58 +00:00
ripsaw8080
cd9e7b3c07 Improve disk serial number DOS functions.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4102
2018-05-22 15:07:38 +00:00
Peter Veenstra
a8633eff6a Slight corrections to r4091, CX and DX should not be changed for floppies. Changing reported floppy type to one without changeline as we don't support that call.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4101
2018-05-09 18:41:47 +00:00
Peter Veenstra
54c993669a Strip spaces properly. Fixes bug #480
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4100
2018-05-06 19:34:22 +00:00
Peter Veenstra
129613c419 Correct extension, so that the .h file is part of the source package as well
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4099
2018-05-06 18:31:09 +00:00
ripsaw8080
e01a04aee9 Flag handling (mostly undocumented behavior) for normal core: overflow flag for divide instructions, zero and sign flags for integer multiply instructions. Fixes A320 Airbus and Perfect General.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4098
2018-05-03 17:11:36 +00:00
ripsaw8080
630b9befb5 ANSI emulation is activated for the session when an escape sequence is encountered other than those used by internal messages. Fixes LucasArts setup programs (Bug #458) provided that ANSI emulation is not activated.
Compatible scroll fill for ANSI emulation.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4097
2018-05-03 16:49:48 +00:00
ripsaw8080
c7ced14d56 Support rarely used FCB feature: open file with search mask. Fixes Buckaroo Banzai.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4096
2018-05-03 16:08:53 +00:00
Sjoerd van der Berg
a315f74074 Allow 15/16/32 bpp inputs to the opengl output
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4095
2018-04-16 20:24:30 +00:00
Peter Veenstra
84eaccc517 slight refactoring, so that it is easier to correctly increase TICK_SHIFT above 16.
Maybe 24 will be a nice value, judging from the tests.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4094
2018-04-16 12:52:49 +00:00
Peter Veenstra
fd7f929f9e Updated stereo before using it.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4093
2018-04-09 10:47:34 +00:00
Peter Veenstra
bf45406604 Add 0xA0 (probably ;) ) and improve unhandled message reporting a bit.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4092
2018-04-04 16:25:53 +00:00
Peter Veenstra
a4373c0995 Add basic support for INT 13 call 15. Used by korean powerdolls to detect harddrive.
SF bug #477

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4091
2018-04-04 11:14:03 +00:00
Peter Veenstra
48611d6141 Do we even use those timers ? Ticks are initted regardless. Please report problems! (helps with cpu usage on Macs)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4090
2018-04-04 10:05:50 +00:00
Peter Veenstra
81202c7dd3 Limit amount of polls per second a bit on MAC OS X, as it was quite high otherwise.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4089
2018-04-04 09:47:29 +00:00
Peter Veenstra
908b9ec03d Convert variable stuff to vector (breakpoints one day as well)
Keep track of whether the variable did actually change and skip expensive draw calls if nothing changed.
Skip generation of temporary copy by switching to ++i instead of i++ for non basic data.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4088
2018-03-26 17:50:37 +00:00
Peter Veenstra
b681d85d5f fix compilation on machines that have X11 libraries installed, but use an sdl without X11.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4087
2018-03-23 08:54:24 +00:00
Peter Veenstra
2f982daf92 Add some basic arm detection to configure for the raspberry and chromebook users
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4086
2018-03-22 15:05:31 +00:00
Peter Veenstra
99c5b63b3b Add ignores for mame folder
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4085
2018-02-21 19:25:42 +00:00
Peter Veenstra
1862964f77 Correct line ends in emu.h and setting correct svn properties
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4084
2018-02-21 19:18:53 +00:00
Peter Veenstra
0b55d3d3fc Make it compile on VS 2008,as that one does not support the C99 standard library.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4083
2018-02-21 18:58:47 +00:00
Peter Veenstra
5ab2d4cb19 upgrade visual studio file to add MAME sound stuff
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4082
2018-02-21 18:50:52 +00:00
Peter Veenstra
7b3864290b This looks more logical to me
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4081
2018-02-17 20:32:49 +00:00
Peter Veenstra
aa7e86c5e5 use correct datatype with scanf
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4080
2018-02-17 15:25:55 +00:00
Peter Veenstra
ae683cd794 Remove exception specifiers as they are depreciated. Remove some trailing spaces and add some spaces for readability.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4079
2018-02-17 15:16:44 +00:00
Peter Veenstra
618950d13a Enable core inlining by default on configure/make build system
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4078
2018-02-16 08:57:21 +00:00
Sjoerd van der Berg
eb2448316b Fix SBlaster issue with counter not being restarted with an autoinit transfer
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4077
2018-02-13 22:07:41 +00:00
Peter Veenstra
06337c9b13 Declare the init function of the joystick as restartable, so some of the dynamic settings work.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4076
2018-02-08 13:53:13 +00:00
Sjoerd van der Berg
55603e3aa3 Merge the mamesound branch into trunk
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4075
2018-02-07 12:17:02 +00:00
Peter Veenstra
6283b6b5b8 Another non-format warning fixed
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4074
2018-01-31 19:03:49 +00:00
Peter Veenstra
5cb34a071d Correct small error/warning.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4073
2018-01-31 18:21:54 +00:00
Peter Veenstra
f7ae7a1dbe Fix narrowing warnings (errors on clang/freebsd) and an unhandled value in switch. (Part of patch #275 from strageqargo)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4072
2018-01-31 10:21:41 +00:00
Peter Veenstra
aa8bf6041e Declare static functions in header file as static inline, as that reduces warnings quite a bit.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4071
2018-01-30 15:58:28 +00:00
Peter Veenstra
6485a80102 Silence a warning
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4070
2018-01-30 15:57:27 +00:00
Peter Veenstra
06c91d8d0b Beautify CPU_CheckSegments in order to silence a warning (if (A) B; break (which get a misleading warning as break is not part of the if))
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4069
2018-01-30 15:56:33 +00:00
Peter Veenstra
542e068f97 Fix compilation on current clang++
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4068
2017-12-26 19:03:44 +00:00
Peter Veenstra
85b0c547ef Fix output of configure when --disable-opengl is used
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4067
2017-12-13 15:50:55 +00:00
Sjoerd van der Berg
d949fee410 Allow an autoinit transfer to go over into a single cycle transfer
Fixes Paddlers.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4066
2017-12-08 15:31:59 +00:00