1
0
Fork 0
Commit graph

1082 commits

Author SHA1 Message Date
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
6be6e65e93 No big in segment structure anymore
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1154
2003-07-26 10:34:49 +00:00
Sjoerd van der Berg
0cce18012d Runqueu is now a bool, wether or not to stard cpu core.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1153
2003-07-26 10:34:18 +00:00
Sjoerd van der Berg
bafbf29f94 New handling of pmode related functions
Preperations for taskswitching/v86 mode


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1152
2003-07-26 10:33:37 +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
Peter Veenstra
d61bdb0094 Added LONGTYPE => long long for different platforms
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1145
2003-07-24 12:39:59 +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
4d4b0d6df2 Add paging.h
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1128
2003-07-14 08:54:32 +00:00
Sjoerd van der Berg
3d2bf4e625 paging.cpp and paging.h
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1127
2003-07-14 08:53:50 +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
Sjoerd van der Berg
f807ea947f Support for paged memory and handlers on changes to those pages.
On demand allocation of memory
Setup a range for linear frame buffer
Handle ROM/VGA memory sections.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1120
2003-07-14 08:35:28 +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
Sjoerd van der Berg
9f5a0c6859 use phys_write for setting up callback in rom area.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1116
2003-07-14 08:25:18 +00:00
Sjoerd van der Berg
3820b14384 Use phys_write for access to rom memory.
Remove usage of HostPt while reading the fonts.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1115
2003-07-14 08:24:42 +00:00
Sjoerd van der Berg
e850ceff5c Some changes for correct memory region setup in gfx registers.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1114
2003-07-14 08:23:32 +00:00
Sjoerd van der Berg
84b3d2d4c2 Changes for new allocation system
Changes for new page mapping system


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1113
2003-07-14 08:20:33 +00:00