home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FreeWare Collection 3
/
FreeSoftwareCollection3pd199x-jp.img
/
pao
/
ms_dos
/
cdplay
/
src
/
cdp2disp.h
< prev
next >
Wrap
Text File
|
1980-01-02
|
2KB
|
68 lines
/** << MSC V5.1 >> ************************************************************
**
** CD演奏プログラム2( 表示部分 )用ヘッダ
**
** ----- HISTORY -----
** 1990.06.29 : CREATE
**
** Programed by Y.Hirata ( Nifty ID : NAB03321 )
**
******************************************************************************/
void strdisp( char *str,unsigned char mode,unsigned short color ) ;
void titledisp( void ) ;
void cmddisp( int cmdno,unsigned char mode,unsigned short color ) ;
void stddisp( int msgno ) ;
void warbeep( void ) ;
void wardisp( int msgno ) ;
void errbeep( void ) ;
void errdisp( int msgno ) ;
void evoldisp( int vol, char muteflg ) ;
#define BEEP_TIME 15 /* BEEP時間 x 10 ms */
#define BEEP_COUNT 10 /* 19200 / ? Hz */
#define BEEP_TIME2 20 /* BEEP時間 x 10 ms */
#define BEEP_COUNT2 12 /* 19200 / ? Hz */
enum Values_for_color {
BLACK, BLUE, RED, PURPLE, /* 0 - 3 */
GREEN, SKYBLUE, YELLOW, WHITE /* 4 - 7 */
} ;
#define STD 0x00
#define REV 0x08
#define HIGH 0x20
#define CURMODE REV
#define CURCOLOR GREEN
#define TITLE GREEN
#define COPYRI WHITE
#define PGNAME WHITE
#define HELP WHITE
#define MC_STD GREEN
#define MC_WAR YELLOW
#define MC_ERR RED
#define MSG_X 1 /* メッセージを表示する位置(桁) */
#define MSG_Y 24 /* (行) */
enum Values_for_CmdNo {
CMD_ESC, CMD_SHELL, CMD_RESET, CMD_SING, /* 0 - 3 */
CMD_CONT, CMD_REPT, CMD_TIME, CMD_PAUSE /* 4 - 7 */
} ;
enum Values_for_MsgNo {
M_CLS, M_ERR, M_NOTREADY, M_NOTDA, /* 0 - 3 */
M_CHANGE, M_NOTPLAY, M_REPLAY, M_PAUSEON, /* 4 - 7 */
M_PAUSEOFF, M_SINGLE, M_CONTINUE, M_REPTON, /* 8 - 11 */
M_REPTOFF, M_TIMEON, M_TIMEOFF, M_CDSTOP, /* 12 - 15 */
M_PGEND, M_STOPEND, M_READING, M_DEBUG, /* 16 - 19 */
M_SHELL, M_SHELLEND, M_NOWPLAY /* 20 - 22 */
} ;
#define VOL_X 64 /* 電子ボリューム表示位置(桁) */
#define VOL_Y 23 /* (行) */