1
0
Fork 0

Changed core startup to make the prefix table

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@237
This commit is contained in:
Sjoerd van der Berg 2002-08-28 09:04:00 +00:00
parent 49c27cdc19
commit e4e0137e66

View file

@ -16,6 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "dosbox.h"
#include "mem.h"
#include "cpu.h"
@ -93,9 +94,10 @@ static Bitu CPU_Real_16_Slow_Decode_Special(Bitu count) {
void CPU_Real_16_Slow_Start(void) {
lookupEATable=&GetEA_16_n;
segprefix_base=0;
segprefix_on=false;
cpudecoder=&CPU_Real_16_Slow_Decode;
EAPrefixTable[0]=&GetEA_16_n;
EAPrefixTable[1]=&GetEA_16_s;
EAPrefixTable[2]=&GetEA_32_n;
EAPrefixTable[3]=&GetEA_32_s;
PrefixReset;
};