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

Subversion Repositories thor

[/] [thor/] [trunk/] [software/] [emuThor/] [source/] [clsPIC.h] - Blame information for rev 32

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

Line No. Rev Author Line
1 30 robfinch
#pragma once
2 32 robfinch
#include "stdafx.h"
3 30 robfinch
 
4 32 robfinch
extern clsSystem system1;
5 30 robfinch
 
6
class clsPIC : public clsDevice
7
{
8 32 robfinch
public:
9 30 robfinch
        bool enables[16];
10
        bool irq30Hz;
11
        bool irq1024Hz;
12
        bool irqKeyboard;
13 32 robfinch
        bool irqUart;
14
        bool irq;
15
        bool nmi;
16 30 robfinch
        unsigned int vecno;
17
        clsPIC(void);
18
        void Reset();
19
        bool IsSelected(unsigned int ad) {
20
                return ((ad & 0xFFFFFFC0)==0xFFDC0FC0);
21
        };
22 32 robfinch
        unsigned int Read(unsigned int ad);
23
        void Write(unsigned int ad, unsigned int dat, unsigned int mask);
24
        void Step(void);
25 30 robfinch
};
26
 

powered by: WebSVN 2.1.0

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