Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alexbevi
GitHub Repository: alexbevi/BizHawk
Path: blob/master/libmeteor/include/ameteor/bios.hpp
2 views
1
// Meteor - A Nintendo Gameboy Advance emulator
2
// Copyright (C) 2009-2011 Philippe Daouadi
3
//
4
// This program is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published by
6
// the Free Software Foundation, either version 3 of the License, or
7
// (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU General Public License for more details.
13
//
14
// You should have received a copy of the GNU General Public License
15
// along with this program. If not, see <http://www.gnu.org/licenses/>.
16
17
#ifndef __BIOS_H__
18
#define __BIOS_H__
19
20
#include "ameteor.hpp"
21
22
namespace AMeteor
23
{
24
namespace Bios
25
{
26
// Entry point
27
void Bios000h ();
28
// Software IRQ
29
void Bios008h ();
30
void Bios168h ();
31
// Return from IntrWait (after the IRQ)
32
void Bios338h ();
33
// IRQ
34
void Bios018h ();
35
void Bios130h ();
36
37
void SoftReset (); // 00
38
void RegisterRamReset (); // 01
39
void Halt (); // 02
40
void IntrWait (); // 04
41
void VBlankIntrWait (); // 05
42
void Div (); // 06
43
void DivArm (); // 07
44
void Sqrt (); // 08
45
void ArcTan (); // 09
46
void ArcTan2 (); // 0A
47
void CpuSet (); // 0B
48
void CpuFastSet (); // 0C
49
void BgAffineSet (); // 0E
50
void ObjAffineSet (); // 0F
51
void LZ77UnCompWram (); // 11
52
void LZ77UnCompVram (); // 12
53
void HuffUnComp (); // 13
54
void RLUnCompWram (); // 14
55
void RLUnCompVram (); // 15
56
}
57
}
58
59
#endif
60
61