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

Subversion Repositories thor

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

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
 
8
clsSystem system1;
9
volatile unsigned __int8 keybd_scancode;
10
volatile unsigned __int8 keybd_status;
11 35 robfinch
volatile unsigned int interval1024 = 977;
12
volatile unsigned int interval30 = 33333;
13 30 robfinch
 
14
char refscreen;
15
unsigned int breakpoints[30];
16
unsigned int dataBreakpoints[30];
17
int numBreakpoints;
18
int numDataBreakpoints;
19
bool irq1024Hz;
20
bool irq30Hz;
21
bool irqKeyboard;
22 32 robfinch
bool irqUart;
23 30 robfinch
bool trigger30;
24
bool trigger1024;
25
 
26
using namespace emuThor;
27
 
28
[STAThreadAttribute]
29
int main(array<System::String ^> ^args)
30
{
31
        // Enabling Windows XP visual effects before any controls are created
32
        Application::EnableVisualStyles();
33
        Application::SetCompatibleTextRenderingDefault(false);
34
 
35
        // Create the main window and run it
36
        Application::Run(gcnew frmMain());
37
        return 0;
38
}

powered by: WebSVN 2.1.0

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