Major changes to NVR, system initialization (pc.c), and what goes on in the Windows startup (win.c.) Not fully done yet, but good enough for a first commit.

This commit is contained in:
waltje
2017-10-07 00:46:54 -04:00
parent 95fe21b651
commit 2b37b7fbfb
108 changed files with 5628 additions and 5912 deletions

View File

@@ -18,7 +18,7 @@
* 2 clocks - fetch opcode 1 2 clocks - execute
* 2 clocks - fetch opcode 2 etc
*
* Version: @(#)808x.c 1.0.2 2017/09/24
* Version: @(#)808x.c 1.0.3 2017/10/04
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
@@ -28,18 +28,18 @@
#include <stdio.h>
#include <stdint.h>
#include <string.h>
//#include <unistd.h>
#include <wchar.h>
#include "../ibm.h"
#include "cpu.h"
#include "x86.h"
#include "../keyboard.h"
#include "../keyboard.h" /* its WRONG to have this in here!! --FvK */
#include "../mem.h"
#include "../rom.h"
#include "../nmi.h"
#include "../pic.h"
#include "../timer.h"
#include "../scsi/scsi.h"
#include "../device.h" /* for scsi.h */
#include "../scsi/scsi.h" /* its WRONG to have this in here!! --FvK */
int xt_cpu_multi;
int nmi = 0;

View File

@@ -4,6 +4,10 @@
#ifndef _X86_OPS_H
#define _X86_OPS_H
#define UNUSED(x) (void)(x)
typedef int (*OpFn)(uint32_t fetchdat);
void x86_setopcodes(OpFn *opcodes, OpFn *opcodes_0f, OpFn *dynarec_opcodes, OpFn *dynarec_opcodes_0f);