1
0
Fork 0
Commit graph

1048 commits

Author SHA1 Message Date
Sjoerd van der Berg
f97b4bb800 BSR and BSF correctly set zero flag now and 0 source for scan
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1176
2003-07-31 16:05:16 +00:00
Sjoerd van der Berg
76ec14475b Bit testing opcodes didn't load first operand
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1175
2003-07-31 15:33:08 +00:00
Ulf Wohlers
dabe910b10 fixed a bug when calling int 21/31 (set to pm code segment)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1174
2003-07-29 09:24:37 +00:00
Sjoerd van der Berg
f6cd3dd51e On exception reset eip to start of opcode.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1173
2003-07-28 08:25:02 +00:00
Sjoerd van der Berg
551fb535f1 Add lazy_flags.h to the makefile
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1172
2003-07-28 08:23:14 +00:00
Sjoerd van der Berg
1ae2780ece Interrupt now handled without using EXCEPTION.
Exception now resets IP to the faulting instruction.
LAHF uses the lower 8-bit of the flags word.
SS changing instruction do another cycle to be interrupt free.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1171
2003-07-28 08:22:15 +00:00
Sjoerd van der Berg
2a4fa63ace 8-bit flag saves need to save Overflow flag and now use cpu function for saving flags.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1170
2003-07-27 22:55:28 +00:00
Sjoerd van der Berg
1780f70232 Core_full cpu decoder starts up when protected mode is enabled.
Small change for certain flag bits always being on/off


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1169
2003-07-27 22:53:37 +00:00
Ulf Wohlers
a1fe43c151 Debugger is activated via callback now
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1168
2003-07-27 20:20:40 +00:00
Sjoerd van der Berg
09ed20abec Removed double segment prefix base add for SIB lookups
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1167
2003-07-27 19:47:47 +00:00
Peter Veenstra
359e55ed8c Added support for regular files with int 21 ax =4406 (get input status)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1166
2003-07-27 12:12:05 +00:00
Peter Veenstra
dc824945f5 Fixed messages when running non-debug mode (under linux)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1165
2003-07-26 18:39:20 +00:00
Ulf Wohlers
4fe5eb776f changes to support cpu core switching
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1164
2003-07-26 16:32:29 +00:00
Peter Veenstra
7e11075f08 added F2XM1,FYL2X,FSCALE
changed flags in FCOM


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1163
2003-07-26 12:02:26 +00:00
Peter Veenstra
5f169bf3cf added missing break in eatree. Xcom is finally perfect
added F2XM1,FYL2X,FSCALE


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1162
2003-07-26 12:01:41 +00:00
Sjoerd van der Berg
d017f22b89 Initial checking for redirection, will need more changes in dos to allow this too work.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1161
2003-07-26 10:47:47 +00:00
Sjoerd van der Berg
feb42742ac Moved some timer tick handling to PIC
Changed pic_runqueue a bit for new pic scheduling handling.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1160
2003-07-26 10:45:11 +00:00
Sjoerd van der Berg
7190b03145 Some changes in detecting pmode and 32-bit code segements
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1159
2003-07-26 10:43:03 +00:00
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
4a07f3e97b new callback and tick handling in main loop.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1151
2003-07-26 10:25:38 +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
Ulf Wohlers
7a0bfeb194 Fixed a resize memory bug
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1149
2003-07-24 19:14:47 +00:00
Ulf Wohlers
2daf8b32c7 Added MEM_AllocatedPages. Get amount of allocated pages of handle
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1148
2003-07-24 19:13:58 +00:00
Peter Veenstra
54ef7a5825 Warning cleanup
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1147
2003-07-24 12:42:17 +00:00
Peter Veenstra
cdf4503fe0 Changed long constants to LONGTYPE for compiler issues
include cross.h


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1146
2003-07-24 12:41:33 +00:00
Ulf Wohlers
f2f9b04b5c DOS_Execute: Moved creation of psp after closing exe, to avoid dead file handle of exe in copied psp.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1144
2003-07-24 10:31:41 +00:00
Sjoerd van der Berg
4092577e26 Check correct types for -t option of mount
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1143
2003-07-23 11:50:15 +00:00
Sjoerd van der Berg
7ee73a90b7 Hack for 0xcd memory no longer needed
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1142
2003-07-23 11:45:08 +00:00
Ulf Wohlers
048006f2ac removed xms usage, added more log messages
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1141
2003-07-22 14:01:24 +00:00
Peter Veenstra
027ce473e7 fixed the treh demo and some other.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1140
2003-07-21 16:56:40 +00:00
Ulf Wohlers
5d93540ca0 Added int 21 6c - Extended open
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1139
2003-07-21 09:38:35 +00:00
Peter Veenstra
e2f947a1c1 Changed the TOP system.
Added support for 80 bits loading and saving
Added support BCD saving
Added FPREM
Adden FXAM
Fixed bug when comparing zero to an nonzero number.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1138
2003-07-19 05:54:10 +00:00
Sjoerd van der Berg
4e62907e37 include ctype.h for toupper
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1137
2003-07-15 09:05:19 +00:00
Peter Veenstra
fc02a41aad Added support for pressing esc in shell so it escapes the current line and allows you to type a new command
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1136
2003-07-14 17:44:00 +00:00
Sjoerd van der Berg
836fa34786 Check for xms being enabled not ems
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1135
2003-07-14 12:44:23 +00:00
Sjoerd van der Berg
7c02953cfc New direct mapping support
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1134
2003-07-14 12:43:51 +00:00
Ulf Wohlers
344afaf577 check for bool "dpmi" in dpmi_init to enable/disable dpmi
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1133
2003-07-14 11:37:27 +00:00
Ulf Wohlers
640e059254 Removed HostPt in ReadSector
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1132
2003-07-14 11:35:06 +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
66d2196e7c Incorrect calculation of size for alloc and realloc
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1130
2003-07-14 11:06:37 +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
a44c5064d1 init's for modem/serial/paging.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1126
2003-07-14 08:46:01 +00:00
Sjoerd van der Berg
f6062818d3 Remove old memory size defines
Enable C_MODEM by default


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1125
2003-07-14 08:42:37 +00:00
Sjoerd van der Berg
96bece4cca Remove usage of HostPt while going through environment strings.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1124
2003-07-14 08:41:52 +00:00
Sjoerd van der Berg
63933fcad4 New LOG_PAGING target
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1123
2003-07-14 08:40:20 +00:00
Sjoerd van der Berg
4d26f08a37 Support for setting linear frame buffer base.
New way of setting up vga read/write handler or frame buffer.
No longer use HostPt memory for certain video modes.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1122
2003-07-14 08:39:40 +00:00
Sjoerd van der Berg
74676d9bb7 Memory size now reported in 4kb blocks
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1121
2003-07-14 08:36:12 +00:00