blob: 2328d7a1881d5f45168538d15e38b8068ccb95b7 (
plain) (
blame)
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
|
#ifndef GLOBAL_INC__H__
#define GLOBAL_INC__H__
/* *************************************
* Includes
* *************************************/
#include <psx.h>
#include <stdio.h>
#include <psxsio.h>
#include <stdlib.h>
#include <string.h>
#include <types.h>
#include <fixmath.h>
#include <limits.h>
#include "Serial.h"
/* *************************************
* Defines
* *************************************/
#ifndef SERIAL_INTERFACE
#define Serial_printf printf
#endif // SERIAL_INTERFACE
#define REFRESH_FREQUENCY 50 //50 Hz PAL / 60 Hz NTSC
#define DEBUG_PRINT_VAR(var) Serial_printf(#var " = %d\n", var);
#endif // GLOBAL_INC__H__
|