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

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