-
Notifications
You must be signed in to change notification settings - Fork 0
/
arm.h
59 lines (44 loc) · 1.96 KB
/
arm.h
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
55
56
57
58
59
/*
3DOplay v1.8.2 is 3do emulator based on FreeDOcore
3doplay.do.am
Developer: Viktor Ivanov
Any uses of the 3DOplay sources or any other material published by Viktor Ivanov have to be accompanied with full credits.
All rights reserved.
*/
/*
www.freedo.org
The first and only working 3DO multiplayer emulator.
The FreeDO licensed under modified GNU LGPL, with following notes:
* The owners and original authors of the FreeDO have full right to develop closed source derivative work.
* Any non-commercial uses of the FreeDO sources or any knowledge obtained by studying or reverse engineering
of the sources, or any other material published by FreeDO have to be accompanied with full credits.
* Any commercial uses of FreeDO sources or any knowledge obtained by studying or reverse engineering of the sources,
or any other material published by FreeDO is strictly forbidden without owners approval.
The above notes are taking precedence over GNU LGPL in conflicting situations.
Project authors:
Alexander Troosh
Maxim Grishin
Allen Wright
John Sammons
Felix Lazarev
*/
#ifndef ARM_3DO_HEADER
#define ARM_3DO_HEADER
int __fastcall _arm_Execute();
void _arm_Reset();
void _arm_Destroy();
unsigned char * _arm_Init();
//for mas
void __fastcall _mem_write8(unsigned int addr, unsigned char val);
void __fastcall _mem_write16(unsigned int addr, unsigned short val);
void __fastcall _mem_write32(unsigned int addr, unsigned int val);
unsigned char __fastcall _mem_read8(unsigned int addr);
unsigned short __fastcall _mem_read16(unsigned int addr);
unsigned int __fastcall _mem_read32(unsigned int addr);
void __fastcall WriteIO(unsigned int addr, unsigned int val);
unsigned int __fastcall ReadIO(unsigned int addr);
void __fastcall SelectROM(int n);
unsigned int _arm_SaveSize();
void _arm_Save(void *buff);
void _arm_Load(void *buff);
#endif