-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathZ80Intf.hpp
54 lines (42 loc) · 1.76 KB
/
Z80Intf.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// CodeGear C++Builder
// Copyright (c) 1995, 2016 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Z80Intf.pas' rev: 32.00 (Windows)
#ifndef Z80intfHPP
#define Z80intfHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
//-- user supplied -----------------------------------------------------------
namespace Z80intf
{
//-- forward type declarations -----------------------------------------------
//-- type declarations -------------------------------------------------------
typedef int __fastcall (*TGetByteFunc)(int addr);
typedef void __fastcall (*TSetByteProc)(int addr, int NewByte);
typedef int __fastcall (*TInByteFunc)(int port);
typedef void __fastcall (*TOutByteProc)(int Port, int NewByte);
typedef bool __fastcall (*TGetInterrupt)(void);
typedef void __fastcall (*TStepProc)(const System::Word pc);
//-- var, const, procedure ---------------------------------------------------
extern DELPHI_PACKAGE TGetByteFunc Z80_getByte;
extern DELPHI_PACKAGE TSetByteProc Z80_SetByte;
extern DELPHI_PACKAGE TInByteFunc Z80_InB;
extern DELPHI_PACKAGE TOutByteProc Z80_OutB;
extern DELPHI_PACKAGE TGetInterrupt Z80_GetInterrupt;
extern DELPHI_PACKAGE TStepProc Z80_StepProc;
extern DELPHI_PACKAGE bool BreakEmulation;
extern DELPHI_PACKAGE bool Z80Steping;
} /* namespace Z80intf */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_Z80INTF)
using namespace Z80intf;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // Z80intfHPP