Imported Upstream version 2.9.0
[debian/cc1111] / src / z80 / support.h
1 /** @file z80/support.h
2     Support functions for the z80 port.
3 */
4 #ifndef Z80_SUPPORT_INCLUDE
5 #define Z80_SUPPORT_INCLUDE
6
7 typedef unsigned short WORD;
8 typedef unsigned char BYTE;
9
10 typedef struct
11   {
12     WORD w[2];
13     BYTE b[4];
14   }
15 Z80_FLOAT;
16
17 /** Convert a native float into 'z80' format */
18 int convertFloat (Z80_FLOAT * f, double native);
19
20 #endif