home *** CD-ROM | disk | FTP | other *** search
/ FreeWare Collection 3 / FreeSoftwareCollection3pd199x-jp.img / pao / ms_dos / cdplay / src / cdp2disp.h < prev    next >
Text File  |  1980-01-02  |  2KB  |  68 lines

  1. /** << MSC V5.1 >> ************************************************************
  2. **
  3. **    CD演奏プログラム2( 表示部分 )用ヘッダ
  4. **
  5. **    ----- HISTORY -----
  6. **    1990.06.29 : CREATE
  7. **
  8. **    Programed by Y.Hirata ( Nifty ID : NAB03321 )
  9. **
  10. ******************************************************************************/
  11.  
  12. void strdisp( char *str,unsigned char mode,unsigned short color ) ;
  13. void titledisp( void ) ;
  14. void cmddisp( int cmdno,unsigned char mode,unsigned short color ) ;
  15. void stddisp( int msgno ) ;
  16. void warbeep( void ) ;
  17. void wardisp( int msgno ) ;
  18. void errbeep( void ) ;
  19. void errdisp( int msgno ) ;
  20. void evoldisp( int vol, char muteflg ) ;
  21.  
  22. #define        BEEP_TIME        15        /*  BEEP時間 x 10 ms                */
  23. #define        BEEP_COUNT        10        /*  19200 / ? Hz                    */
  24. #define        BEEP_TIME2        20        /*  BEEP時間 x 10 ms                */
  25. #define        BEEP_COUNT2        12        /*  19200 / ? Hz                    */
  26.  
  27. enum Values_for_color {
  28.         BLACK,        BLUE,        RED,        PURPLE,            /*  0 -  3    */
  29.         GREEN,        SKYBLUE,    YELLOW,        WHITE            /*  4 -  7    */
  30.     } ;
  31.  
  32. #define        STD                0x00
  33. #define        REV                0x08
  34. #define        HIGH            0x20
  35.  
  36. #define        CURMODE            REV
  37. #define        CURCOLOR        GREEN
  38.  
  39. #define        TITLE            GREEN
  40. #define        COPYRI            WHITE
  41. #define        PGNAME            WHITE
  42. #define        HELP            WHITE
  43.  
  44. #define        MC_STD            GREEN
  45. #define        MC_WAR            YELLOW
  46. #define        MC_ERR            RED
  47.  
  48. #define        MSG_X            1            /*  メッセージを表示する位置(桁)    */
  49. #define        MSG_Y            24            /*                      (行)    */
  50.  
  51. enum Values_for_CmdNo {
  52.         CMD_ESC,    CMD_SHELL,    CMD_RESET,    CMD_SING,        /*  0 -  3    */
  53.         CMD_CONT,    CMD_REPT,    CMD_TIME,    CMD_PAUSE        /*  4 -  7    */
  54.     } ;
  55.  
  56. enum Values_for_MsgNo {
  57.         M_CLS,        M_ERR,        M_NOTREADY,    M_NOTDA,        /*  0 -  3    */
  58.         M_CHANGE,    M_NOTPLAY,    M_REPLAY,    M_PAUSEON,        /*  4 -  7    */
  59.         M_PAUSEOFF,    M_SINGLE,    M_CONTINUE,    M_REPTON,        /*  8 - 11    */
  60.         M_REPTOFF,    M_TIMEON,    M_TIMEOFF,    M_CDSTOP,        /* 12 - 15    */
  61.         M_PGEND,    M_STOPEND,    M_READING,    M_DEBUG,        /* 16 - 19    */
  62.         M_SHELL,    M_SHELLEND,    M_NOWPLAY                    /* 20 - 22    */
  63.     } ;
  64.  
  65. #define        VOL_X            64            /*  電子ボリューム表示位置(桁)        */
  66. #define        VOL_Y            23            /*                      (行)        */
  67.  
  68.