1
0
Fork 0
Commit graph

151 commits

Author SHA1 Message Date
Sjoerd van der Berg
3085db7883 Setting stack segment now sets a stack mask
Check for cpu decoder changes when CS changes.
Changed handling of HLT a bit


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1158
2003-07-26 10:41:34 +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
Sjoerd van der Berg
8ca9fc4faa Some cleanups
Callbacks now return from the decoder
Stacks are now read using a mask.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1156
2003-07-26 10:39:01 +00:00
Sjoerd van der Berg
3070b19d73 Little bit of cleaning up
Callbacks now return from the cpu core.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1155
2003-07-26 10:36:56 +00:00
Sjoerd van der Berg
41d13152f4 Fix for timing/crashings problem caused by large count when used with scas/cmps
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1150
2003-07-25 11:15:08 +00:00
Sjoerd van der Berg
b0780d0cb4 Use inlined memory access functions.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1131
2003-07-14 11:21:08 +00:00
Sjoerd van der Berg
fd3d665956 add paging.cpp
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1129
2003-07-14 08:55:04 +00:00
Sjoerd van der Berg
93c6c0c803 Main paging handler.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1119
2003-07-14 08:32:39 +00:00
Sjoerd van der Berg
a1993a714c Call paging functions.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1118
2003-07-14 08:32:22 +00:00
Sjoerd van der Berg
35188cb6c8 use phys_write for rom area.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1117
2003-07-14 08:26:07 +00:00
Ulf Wohlers
c441125606 LEAVECORE is called only if breakpoint is detected (heavy debug), added SaveIP.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1106
2003-07-09 16:11:30 +00:00
Ulf Wohlers
c840ac87c8 LEAVECORE is called only if breakpoint is detected (heavy debug)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1105
2003-07-09 16:06:47 +00:00
Sjoerd van der Berg
17d3f15643 Make push/pop calls non-inline
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1102
2003-07-08 18:27:14 +00:00
Sjoerd van der Berg
0b12c58d77 Check for interrupt flag and waiting irq's on moments where flags are changed.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1095
2003-07-08 16:46:28 +00:00
Sjoerd van der Berg
fb98d5571e New lazy flag headers
on detection of IRQ leave the core.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1087
2003-07-06 13:36:10 +00:00
Sjoerd van der Berg
708d8cb3c3 CPU Cores keep their own flag handling
New lazyflags header file


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1086
2003-07-06 13:10:28 +00:00
Ulf Wohlers
3b0f6bfda8 Added CALLBACK_SetupAt
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1080
2003-07-05 14:05:05 +00:00
Sjoerd van der Berg
a32e1ba658 Fix SETXF instructions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1078
2003-06-19 17:47:56 +00:00
Sjoerd van der Berg
b222a9576a Warning clean up
Removing some old unused routines
Addind some newlines after some files.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1077
2003-06-19 17:12:50 +00:00
Sjoerd van der Berg
d23a0871e3 REP SCASD
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1071
2003-06-17 06:10:09 +00:00
Sjoerd van der Berg
4d45092d87 Added HLT Instruction handling routines.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1055
2003-06-14 07:27:27 +00:00
Sjoerd van der Berg
019442ad4e Added HLT Instruction
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1054
2003-06-14 07:26:53 +00:00
Sjoerd van der Berg
5794ebcb0e Added HLT instruction
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1053
2003-06-14 07:24:17 +00:00
Ulf Wohlers
94ea572dc1 Added real mode iretd
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1052
2003-06-12 13:01:12 +00:00
Sjoerd van der Berg
bb45fd24d7 Fix for 32-bit mov [offset],segment doing 32-bit store, should be 16.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1051
2003-06-12 12:03:59 +00:00
Sjoerd van der Berg
6f9016c8eb Added 32-bit BSF and BSR
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1046
2003-06-10 08:50:28 +00:00
Sjoerd van der Berg
400da21a32 Added WAIT and 16-bit BSF,BSR
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1044
2003-06-09 23:28:24 +00:00
Sjoerd van der Berg
40a4d72267 Some more 0x0f prefixed instructions related to protected mode.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1040
2003-06-03 18:06:53 +00:00
Sjoerd van der Berg
a8132aee39 Cleaned up a load of comments.
Support for pmode related instructions to switch to other core.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1038
2003-06-02 21:22:34 +00:00
Sjoerd van der Berg
f92993a121 add IN EAX,DX
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1037
2003-06-02 21:22:01 +00:00
Sjoerd van der Berg
0682de08be Fix flags for AAM and AAD
Don't check for nonsense rotates, since they do change the flags.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1036
2003-06-02 21:20:17 +00:00
Sjoerd van der Berg
74c8142695 parity table isn't static anymore
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1035
2003-06-02 21:19:08 +00:00
Sjoerd van der Berg
1169165d7f Allow switching of cpu cores through certain instructions.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1034
2003-06-02 21:18:38 +00:00
Sjoerd van der Berg
2667e412a2 FPU can be enabled/disasbled through C_FPU define.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1019
2003-05-27 12:07:46 +00:00
Sjoerd van der Berg
6295928842 Added support to call the FPU opcode handlers
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1018
2003-05-27 12:00:38 +00:00
Sjoerd van der Berg
a5075ffa25 Added OUTSD
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1017
2003-05-27 12:00:14 +00:00
Sjoerd van der Berg
9165867fa7 added fpu.h include
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1016
2003-05-27 11:59:21 +00:00
Sjoerd van der Berg
999c5b36ec Added helper for fpu instructions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1014
2003-05-27 11:58:32 +00:00
Sjoerd van der Berg
2824c18908 Someone in a warning cleansing frenzy changed some critical values.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1009
2003-05-12 10:34:32 +00:00
Sjoerd van der Berg
8b644202c2 Add warning when FPU opcodes are used
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@997
2003-05-07 11:00:34 +00:00
Peter Veenstra
c9b747adc4 new logging system
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@987
2003-05-04 19:12:09 +00:00
Sjoerd van der Berg
82c7fc4021 Added VERR and VERW
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@977
2003-05-01 18:08:57 +00:00
Sjoerd van der Berg
06ab2d99bb Added VERR and VERW
Added BSWAP


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@976
2003-05-01 18:06:20 +00:00
Sjoerd van der Berg
b1da749576 makefiles for core_full directory
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@974
2003-05-01 13:00:57 +00:00
Sjoerd van der Berg
787a0c941a Fixed double shift's
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@973
2003-05-01 12:59:53 +00:00
Sjoerd van der Berg
a92e39e7f1 New variable for start of opcode.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@970
2003-04-27 11:45:09 +00:00
Sjoerd van der Berg
47228f94b6 Allow interrupting of non flag changing string operations.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@969
2003-04-27 11:44:47 +00:00
Sjoerd van der Berg
1f6f136720 Save start of an opcode.
Decrease cycles after the opcode.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@968
2003-04-27 11:43:34 +00:00
Sjoerd van der Berg
1f5dac8c97 Added 32-bit ENTER and fixed 16-bit one
Added 32-bit XLAT


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@962
2003-04-25 08:42:42 +00:00
Sjoerd van der Berg
bbe3ba5120 Fix for interrupt flag in pmode interrupts
Small hack to stop messages from being showed.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@960
2003-04-23 19:24:05 +00:00