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

Subversion Repositories thor

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

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

Line No. Rev Author Line
1 30 robfinch
#pragma once
2
#include "stdafx.h"
3
#include "clsKeyboard.h"
4
 
5
extern char refscreen;
6
extern unsigned int dataBreakpoints[30];
7
extern int numDataBreakpoints;
8
extern int runstop;
9
extern clsKeyboard keybd;
10
extern volatile unsigned __int8 keybd_status;
11
extern volatile unsigned __int8 keybd_scancode;
12
 
13
class clsSystem
14
{
15
public:
16
        unsigned __int64 memory[16777216];      // 128 MB
17
        unsigned __int64 rom[32768];
18
        unsigned long VideoMem[4096];
19
        bool VideoMemDirty[4096];
20
        unsigned int leds;
21
        int m_z;
22
        int m_w;
23
        char write_error;
24
        unsigned int radr1;
25
        unsigned int radr2;
26
        bool WriteROM;
27
 
28
        clsSystem();
29
        void Reset();
30
        unsigned __int64 Read(unsigned int ad, int sr=0);
31
        unsigned __int64 ReadByte(unsigned int ad);
32
        int Write(unsigned int ad, unsigned __int64 dat, unsigned int mask, int cr=0);
33
        int random();
34
};

powered by: WebSVN 2.1.0

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