1
0
Fork 0
Commit graph

609 commits

Author SHA1 Message Date
Sebastian Strohhäcker
1c410c147e use calling application's code segment rather than psp value for some old-style (dos 1.0) terminate functions (ripsaw, fixes fortune teller)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3476
2009-10-04 14:28:07 +00:00
Ralf Grillenberger
8115555a4a - add 16C550A FIFO support to the serial port
- timing improvements for directserial
- the platform specific part of directserial is now combined for less redundancy


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3472
2009-09-25 23:40:48 +00:00
Sebastian Strohhäcker
decb3823d2 int13 unconditionally enables the interrupt flag on return (ripsaw, fixes some pirates booter version);
change the set/clear flag for callback return functions a bit (hal)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3458
2009-08-23 17:24:54 +00:00
Sebastian Strohhäcker
669ec92a59 add finer-grained dma wrapping capabilities
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3450
2009-07-24 09:56:14 +00:00
Sebastian Strohhäcker
a55cf50692 some fixes to the fcb parse functionality, thanks to ripsaw for finding those
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3442
2009-07-09 20:06:57 +00:00
Sebastian Strohhäcker
934dff7731 symmetrically beautify the memory start to work around some more buggy installers/games
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3441
2009-07-08 20:05:41 +00:00
Peter Veenstra
bc5a4d7172 fix shift.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3439
2009-07-03 19:36:57 +00:00
Sebastian Strohhäcker
294da23d83 raise dos mcb start to fix buggy installers (ripsaw; fixes 7th guest installer)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3438
2009-07-02 18:56:11 +00:00
Sebastian Strohhäcker
6624a00d18 add cga lightpen functionality (hal)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3437
2009-06-29 18:43:33 +00:00
Sebastian Strohhäcker
704221c89d add lowlevel tandy dac implementation
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3431
2009-06-23 17:46:05 +00:00
Sebastian Strohhäcker
58ce4315f8 move callback default segment to bios standard;
use fixed default offset for irq0 as well (ripsaw, fixes tinker tales)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3423
2009-06-11 16:05:17 +00:00
Sebastian Strohhäcker
4ad533c78f use different sb detection for tandy dac initialization
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3418
2009-06-07 10:18:14 +00:00
Peter Veenstra
fbfe0dbf3d Some mapper fixes related to interfacing with mapper overlay. Fixes missing keyups etc. and these :)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3415
2009-06-01 10:26:14 +00:00
Peter Veenstra
16d14b78e1 Some year and version numbers
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3410
2009-05-27 09:15:42 +00:00
Peter Veenstra
c4d033cc79 Fix accidential mix up
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3378
2009-04-30 12:36:55 +00:00
Sjoerd van der Berg
f6def87e34 Include an extra scale factor in the mixer volume to be set by a device
Set the adlib device scale at 2.0


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3377
2009-04-28 21:48:24 +00:00
Sjoerd van der Berg
88caf1dc71 Add compiler testing for always_inline attribute
Add compiler testing for fastcall attribute
Add the FASTCALL define to visual c
Remove some overkill inline routines
Make sure that all the inline routines in headers are static


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3355
2009-04-25 16:25:03 +00:00
Peter Veenstra
415a6641c0 Fix non-debug mode
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3347
2009-04-17 11:33:51 +00:00
Peter Veenstra
d8266a6a41 revise switchToLongcmd a bit. allow execution of mount/imgmount from menus and such.(beta3)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3326
2009-03-23 10:55:36 +00:00
Sebastian Strohhäcker
ce5ef7a254 fix 16bit mixer handling on bigendian machines (sb16 hdma, cdda for cd images), also see sf patches #1284246 and #1989569
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3324
2009-03-19 20:45:42 +00:00
Sjoerd van der Berg
a590bad2d9 Add 32bit signed type for mixing
Change the mixer template to use a class type


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3322
2009-03-16 18:33:59 +00:00
Sebastian Strohhäcker
b8fa29c72a remove obsolete define about vga memory size
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3319
2009-03-15 11:28:35 +00:00
Peter Veenstra
9b8d6f45eb Linux fastdir support. Fix problems without fastdir support (closes: 2671401)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3318
2009-03-14 18:02:34 +00:00
Peter Veenstra
48edfe5409 Add Get_arglength, make trim(string a bit more flexible with whitespace so that configfiles from windows can be used on linux without converting
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3316
2009-03-11 20:18:37 +00:00
Sebastian Strohhäcker
2fd9c8f349 use fast filesearch routines for directory cache
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3315
2009-03-04 21:08:22 +00:00
Sebastian Strohhäcker
904307ce5b add custom fast filesearch routines
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3314
2009-03-04 19:34:42 +00:00
Sebastian Strohhäcker
e08513aece fix file shortener ID of the drive cache (under rare conditions, bug recently introduced);
use better/faster method to copy the drive cache contents for findfirst, directly related to
the shortname bug found+analyzed by Alexander Katz (sf patch #2194354)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3310
2009-02-28 11:34:10 +00:00
Sebastian Strohhäcker
ad13c63c32 avoid using stat calls if possible (reusing cached data if needed)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3308
2009-02-24 17:56:55 +00:00
Sebastian Strohhäcker
9725773407 keep drive cache lists sorted on insert to avoid full sort calls
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3307
2009-02-20 14:19:47 +00:00
Peter Veenstra
5d7701ef67 Add cycles=number support. Based on patch of h-a-l-9000, but slightly better. Beautify the configfile a bit.(Beta2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3304
2009-02-15 20:01:08 +00:00
Peter Veenstra
c11d55a223 Reorder headers a bit. Add control.h and bios_disk.h
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3280
2009-02-01 14:11:45 +00:00
Peter Veenstra
5a228425fd patch to latch bytepanning at display start. Fixes some graphic distortion with commanche. (Danke h-a-l-9000)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3275
2009-01-26 20:23:44 +00:00
Peter Veenstra
8033d5b7e0 Close and reopen batch for each executed line. Makes it possible to rewrite it and to call it itself infinitely.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3264
2009-01-19 19:55:03 +00:00
Peter Veenstra
f47d48ba07 Start stuff with an REFT instead of IRET. Fixes CyberRace.(Beta 2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3260
2009-01-14 22:16:00 +00:00
Peter Veenstra
fa4aadc31d add debug thing to default header
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3228
2008-10-05 14:50:31 +00:00
Sebastian Strohhäcker
5f12dea767 reset dma request line on soundblaster reset (thanks to hal), fixes 3d bomber
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3219
2008-09-13 20:04:28 +00:00
Sebastian Strohhäcker
a94ef4eddc move first shell's psp/environment into low dos memory, uses complete MCBs for them (gold aztecs doesn't like it otherwise)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3216
2008-09-06 14:47:15 +00:00
Sebastian Strohhäcker
e0efbfbd4c fix offset of sda to be correctly placed relative to the sysvars table (codeview checks)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3213
2008-08-29 19:27:04 +00:00
Peter Veenstra
e08ea925b7 pedantic warnings.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3209
2008-08-24 16:43:06 +00:00
Peter Veenstra
8fe4a7e67f Refactoring. Rewrite IF to not simply delete all =. Makes stuff like if errorlevel === 0 if not errorlevel 1 set A=1 correctly possible. Linefeed stuff(beta1)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3201
2008-08-11 12:54:57 +00:00
Sebastian Strohhäcker
b374d8c93f some s3/xga fixes (hal)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3193
2008-08-08 21:57:00 +00:00
Sebastian Strohhäcker
c78a9f6c03 fix/work around some gcc Wall warnings
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3192
2008-08-06 18:34:21 +00:00
Peter Veenstra
e7d66020ea Add non-parsing WriteOut.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3184
2008-07-26 19:06:26 +00:00
Peter Veenstra
95760d70df Add destructor for multival.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3170
2008-06-13 08:55:04 +00:00
Peter Veenstra
44aca76921 make cycles reset to correct default value.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3166
2008-05-30 12:42:38 +00:00
Peter Veenstra
d869473970 Fix panning for supaplex, wish demo and majic show demo. (Beta1 thank h-a-l-9000)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3165
2008-05-28 20:43:13 +00:00
Peter Veenstra
8293b1fab6 Correct dosbox internal startup time.
Give correct errorcode for 5c (Beta1)
Do some input checking and give errorcode for 68 (Beta1 fixed)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3164
2008-05-28 09:53:31 +00:00
Sebastian Strohhäcker
24bb7de36c add prefetch queue emulation
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3158
2008-05-21 21:29:32 +00:00
Sebastian Strohhäcker
e3aba20b3c better separation of cpu type specific features; make cpu type selectable
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3155
2008-05-18 13:11:14 +00:00
Peter Veenstra
fb13f8dcbc Add multiremain class.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3149
2008-04-29 08:23:16 +00:00