OpenCores
URL https://opencores.org/ocsvn/thor/thor/trunk

Subversion Repositories thor

[/] [thor/] [trunk/] [software/] [emuThor/] [source/] [emuThor.cpp] - Blame information for rev 30

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 robfinch
// emuThor.cpp : main project file.
2
 
3
#include "stdafx.h"
4
#include "frmRegisters.h"
5
#include "frmMain.h"
6
#include "frmScreen.h"
7
#include "clsCPU.h"
8
#include "clsThor.h"
9
#include "clsSystem.h"
10
#include "clsKeyboard.h"
11
 
12
clsThor cpu1;
13
clsPIC pic1;
14
clsSystem system1;
15
clsKeyboard keybd;
16
volatile unsigned __int8 keybd_scancode;
17
volatile unsigned __int8 keybd_status;
18
volatile unsigned int interval1024;
19
volatile unsigned int interval30;
20
 
21
char refscreen;
22
unsigned int breakpoints[30];
23
unsigned int dataBreakpoints[30];
24
int numBreakpoints;
25
int numDataBreakpoints;
26
int runstop;
27
bool irq1024Hz;
28
bool irq30Hz;
29
bool irqKeyboard;
30
bool trigger30;
31
bool trigger1024;
32
 
33
using namespace emuThor;
34
 
35
[STAThreadAttribute]
36
int main(array<System::String ^> ^args)
37
{
38
        // Enabling Windows XP visual effects before any controls are created
39
        Application::EnableVisualStyles();
40
        Application::SetCompatibleTextRenderingDefault(false);
41
 
42
        // Create the main window and run it
43
        Application::Run(gcnew frmMain());
44
        return 0;
45
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.