1
0
Fork 0
Commit graph

64 commits

Author SHA1 Message Date
Peter Veenstra
8cb2e08f31 Refinements of commit 4291, so that precission can be specified as well and less fixed defines are used
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4292
2019-11-19 16:16:06 +00:00
Peter Veenstra
01fe58047e Try to solve the Bitu formatting warning on all supported platforms (both 32 and 64 bit). Did a few places. Still a lot to go. Changed default display of Bitu to be unsigned instead of signed.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4291
2019-11-18 21:08:57 +00:00
ripsaw8080
64d25c4be4 Acknowledge mouse interrupt before entering user routine; fixes sound stutter during mouse movement in Eye of the Beholder III and Casino Tournament of Champions. Clear button counters in the mouse driver reset function; prevents unintended skipping of intro in MechWarrior and others.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4188
2019-02-04 15:15:58 +00:00
Peter Veenstra
1fbaff47fc Update year and address of FSF
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4183
2019-01-25 14:09:58 +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
ripsaw8080
1fb8141175 Zero INT 68h vector on CGA machine type. Helps default speed of Popcorn game.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4050
2017-09-11 18:03:24 +00:00
ripsaw8080
4aa821d0e6 Implement waiting for retrace in VBE functions. Remove range checks in protected mode functions, consistent with UniVBE and other VBE implementations. Fixes hang and graphics glitches in Jack Orlando.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4048
2017-09-10 11:29:34 +00:00
Peter Veenstra
6cf39c1fc6 Years update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4021
2017-05-30 11:35:08 +00:00
ripsaw8080
d6e983b08d Handle errant IRQs as a real BIOS does. Fixes Tandy DAC in Chuck Yeager's Air Combat. Also remove r3263 workaround, as it's no longer needed.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4009
2017-05-01 15:32:29 +00:00
ripsaw8080
26dd1635b5 Add support for Print Screen key and interrupt. The keypress allows Descent 1 and 2 ingame screenshot feature to be used, the keypress and interrupt allow the Horror Hotel (TSR text adventure) hotkey to work, and the compatible interrupt handler location fixes a game bug in The Forgotten Land.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3961
2016-02-05 13:41:22 +00:00
ripsaw8080
1acc1a459a Improve compatibility of the PCjr keyboard NMI handler by setting DS to the BIOS data segment before calling INT 9. Fixes crashes in Shamus on the PCjr machine type.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3884
2015-01-06 18:02:28 +00:00
Peter Veenstra
0f4c92ca32 Year update.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3878
2015-01-06 14:40:32 +00:00
Peter Veenstra
2fea508f7f Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3812
2013-01-15 09:03:13 +00:00
Peter Veenstra
498e583251 Model irq 0 stack layout in a more compatible way. Fixes M.U.L.E. booter. (ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3781
2012-06-08 14:23:55 +00:00
Peter Veenstra
6dfe1d9dcf Call int 0xe when resetting a disk. Fixes a keydisk workaround algorithm. (thanks ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3751
2011-09-01 12:19:52 +00:00
Sebastian Strohhäcker
df67bd2afb fix manual uninstall functions for callback/io-handler objects; cleanup
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3725
2011-06-19 13:21:11 +00:00
Sebastian Strohhäcker
f1d85a3739 add manual uninstall functions for callback/io-handler objects
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3721
2011-06-17 14:28:00 +00:00
Peter Veenstra
999f33de27 Update year. Remove CVS tags
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3700
2011-04-26 09:34:55 +00:00
Peter Veenstra
f214d70367 Update CALLBACK_Idle to use the callback offset. Fixes memory corruption.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3694
2011-04-16 12:23:57 +00:00
Peter Veenstra
db66fef419 Extend int29 to include page and colour. Thanks for your input ripsaw8080. Change removesetup to remove the right amount of bytes.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3620
2010-07-10 11:36:39 +00:00
Peter Veenstra
cc6785acea Add basic delay to a few dos games to improve their timing. TSR use global psp. (rc3 changes)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3589
2010-05-02 07:16:15 +00:00
Peter Veenstra
a78b2c4f8b Update year
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3548
2010-02-11 13:36:50 +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
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
8fa4a2d43a clear direction flag when entering ps2 irq routine (needed when irq happens if direction flag is set and the
user subroutine assumes DF to be clear), thanks to ripsaw for figuring this out


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3313
2009-03-03 18:30:41 +00:00
Sebastian Strohhäcker
a6d6dce331 have irq6 use a different default handler to work around a bug in a game (thanks to ripsaw, should fix design your own railroad)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3263
2009-01-18 13:57:45 +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
Sebastian Strohhäcker
7859569c6d add mouse driver backdoor entry point (enables mouse in Last half of Darkness, PC-BLOX)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2869
2007-06-03 16:46:33 +00:00
Peter Veenstra
fdd16dea1a Happy New Year\!
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2728
2007-01-08 19:45:42 +00:00
Sebastian Strohhäcker
941cca12b9 fix fast console output code (evo)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2695
2006-09-01 17:34:36 +00:00
Sebastian Strohhäcker
6215071ebc change callback code; get rid of several calls to DOSBOX_RunMachine()
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2677
2006-07-24 19:06:55 +00:00
Sebastian Strohhäcker
97470261fb tweak size of auto-cycle interval (ih8regs);
switch to auto-cycle guessing if appropriate


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2660
2006-06-25 18:49:32 +00:00
Sebastian Strohhäcker
1d89346c16 move callbacks into read-only memory (Pinball/Adventure construction kit booters)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2612
2006-04-22 15:25:45 +00:00
Sjoerd van der Berg
4a0acfb45a New format for mapper handlers to support keeping keys pressed.
Add unlocked speed hotkey
Add some sort of auto cycle guessing


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2490
2006-02-12 23:28:21 +00:00
Peter Veenstra
df67775306 time passes on and on....
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2480
2006-02-09 11:47:57 +00:00
Sjoerd van der Berg
734c9856e1 New callback_setupat call
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2472
2006-02-03 17:07:41 +00:00
Peter Veenstra
d8d805b2ce fix tiny memleak with restarting sections when dealing with callbacks
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2304
2005-09-08 13:09:47 +00:00
Peter Veenstra
b4fb1af8a2 added function to only allocate a callback.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2253
2005-07-30 09:49:29 +00:00
Peter Veenstra
5a3f4fb38d jumpwise optimalisations
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2155
2005-03-25 10:12:05 +00:00
Peter Veenstra
874cb31df2 New callback class to handle callbacks
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2144
2005-03-25 08:40:42 +00:00
Peter Veenstra
2094d8b985 Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2106
2005-02-10 10:21:12 +00:00
Peter Veenstra
c99f8e8710 IO Exceptions (wd)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2094
2004-12-28 16:13:26 +00:00
Peter Veenstra
2c0338404b Added some callback information for the lower numbers
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1933
2004-08-29 11:22:37 +00:00
Peter Veenstra
ca409fd57c Typo in preamble
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1899
2004-08-04 09:12:57 +00:00
Sjoerd van der Berg
8126b4002c Change the way the callback_idle call wastes cpu power
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1878
2004-07-08 07:09:30 +00:00
Peter Veenstra
05a4fc6daa Revectorred int 5c(wd)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1542
2004-01-07 20:23:48 +00:00
Sjoerd van der Berg
57a32fa94e Runrealint uses a table with 0xcd 0x00-0xff instructions now
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1438
2003-11-18 20:46:01 +00:00
Ulf Wohlers
94099cbbf1 Added callback descriptions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1427
2003-11-09 16:44:27 +00:00
Peter Veenstra
4280d1cef5 Disabled zeroing of int f handler.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1275
2003-09-29 21:06:49 +00:00
Sjoerd van der Berg
1c5b995c6d callbacks start from 1
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1157
2003-07-26 10:39:14 +00:00