-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSelfTestAndAudit.h
More file actions
47 lines (38 loc) · 1.98 KB
/
SelfTestAndAudit.h
File metadata and controls
47 lines (38 loc) · 1.98 KB
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
/**************************************************************************
* This file is part of the Bally/Stern OS for Arduino Project.
I, Dick Hamill, the author of this program disclaim all copyright
in order to make this program freely available in perpetuity to
anyone who would like to use it. Dick Hamill, 6/1/2020
BallySternOS is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BallySternOS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See <https://www.gnu.org/licenses/>.
*/
#ifndef SELF_TEST_H
#define MACHINE_STATE_TEST_LIGHTS -1
#define MACHINE_STATE_TEST_DISPLAYS -2
#define MACHINE_STATE_TEST_SOLENOIDS -3
#define MACHINE_STATE_TEST_SWITCHES -4
#define MACHINE_STATE_TEST_SOUNDS -5
#define MACHINE_STATE_TEST_SCORE_LEVEL_1 -6
#define MACHINE_STATE_TEST_SCORE_LEVEL_2 -7
#define MACHINE_STATE_TEST_SCORE_LEVEL_3 -8
#define MACHINE_STATE_TEST_HISCR -9
#define MACHINE_STATE_TEST_CREDITS -10
#define MACHINE_STATE_TEST_TOTAL_PLAYS -11
#define MACHINE_STATE_TEST_TOTAL_REPLAYS -12
#define MACHINE_STATE_TEST_HISCR_BEAT -13
#define MACHINE_STATE_TEST_CHUTE_2_COINS -14
#define MACHINE_STATE_TEST_CHUTE_1_COINS -15
#define MACHINE_STATE_TEST_CHUTE_3_COINS -16
#define MACHINE_STATE_TEST_DONE -50
unsigned long GetLastSelfTestChangedTime();
void SetLastSelfTestChangedTime(unsigned long setSelfTestChange);
int RunBaseSelfTest(int curState, boolean curStateChanged, unsigned long CurrentTime, byte resetSwitch, byte slamSwitch=0xFF);
unsigned long GetAwardScore(byte level);
#endif