ulxutil.h
2 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* F i l e N a m e : U L X U T I L . H
*
****************************************************************************
* (C) CopyRight ALPS Electric Co., Ltd. 1996
****************************************************************************
* Version
*
* ver Date
* ---- --------
* 1.00 '95-12-20 Initial revision .
****************************************************************************
*/
/*===========================================*/
/* ULXUTIL.CΎ͎ގ̎ */
/*===========================================*/
#include <ultra64.h>
void ulxPrint0(u16 x, u16 y, u16 color, u8* form);
void ulxPrint1(u16 x, u16 y, u16 color, u8* form, u32 data1);
#define ulxPrint2(x, y, c, f, d1, d2) ulxPrint3(x, y, c, f, d1, d2, d2)
void ulxPrint3(u16 x, u16 y, u16 color, u8* form, u32 data1, u32 data2, u32 data3);
void Disp_Ready( u16, u16, u16 );
void Disp_Fin( void );
void ClrDisp( void ) ;
void Disp1DigHex( u8, u16, u16, u16 ) ;
void ListDisp( u16, u16, u16, u8 **, u16, u16, u16, u8 **, u16 ) ;
u8 GetStrLength( u8 * );
u8 I2H( u8 ) ;
u8 IncDig( u8 ) ;
u8 DecDig( u8 ) ;
void MakeRand(u8 *, u32 ) ;
u32 Rand32( void ) ;
u16 InitControllers( void );
u16 InCtrlData( void ) ;
void GetChr( void ) ;
void Wait_Timer( u16 ) ;
u8 InDig8( u8, u16, u16, u16, u16 ) ;
u8 InDig8A(u8, u16, u16, u16 ) ;
u8 InDigFlg( u8, u16, u16, u16 ) ;
u16 InDig16( u16, u16, u16, u16 ) ;
u32 InDig32( u32, u16, u16, u16 ) ;
u8 GetNumFlg( u8, u8 *, u16, u16, u16 ) ;
u8 GetNum8( u8, u8 *, u16, u16, u16 ) ;
u8 GetNum8A( u8, u8 *, u16, u16, u16 ) ;
u16 GetNum16( u16, u8 *, u16, u16, u16 ) ;
u32 GetNum32( u32, u8 *, u16, u16, u16 ) ;
u16 SelStr1( u16, u16, u16, u8 **, u16, u16 ) ;
u16 SelStr2( u16, u16, u16, u8 **, u16, u16, u16, u8 **, u16, u16 ) ;
void ClrBuf( void ) ;
void SwapBuf( void ) ;
void DispBufP( u8 * ) ;
void DispAdr( u8 *, u8 *, u16, u16, u16 ) ;
u32 CompBufChk( u32 ) ;
void CompBufDisp( void ) ;
void EditBuf( u8 *, u8 * ) ;