Ignore:
Timestamp:
Aug 23, 2017, 9:27:43 AM (7 years ago)
Author:
coas-nagasima
Message:

文字コードを設定

Location:
EcnlProtoTool/trunk/ntshell/ntshell
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/ntshell/ntshell/core/ntconf.h

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-chdr to text/x-chdr;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/core/ntint.h

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-chdr to text/x-chdr;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/core/ntlibc.c

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-csrc to text/x-csrc;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/core/ntlibc.h

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-chdr to text/x-chdr;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/core/ntshell.c

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-csrc to text/x-csrc;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/core/ntshell.h

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-chdr to text/x-chdr;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/core/text_editor.c

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-csrc to text/x-csrc;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/core/text_editor.h

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-chdr to text/x-chdr;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/core/text_history.c

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-csrc to text/x-csrc;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/core/text_history.h

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-chdr to text/x-chdr;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/core/vtrecv.c

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-csrc to text/x-csrc;charset=UTF-8
    r279 r321  
    26662666#if (USE_ORIGINAL_LUT==1)
    26672667        /*
    2668          * テーブル参ç
    2669 §ã«ã‚ˆã‚‹å®Ÿç¾ã€‚
    2670          * 固定時間で動作するが、コードサイズは比較的大きい。
     2668         * テーブル参照による実現。
     2669         * 固定時間で動作するが、コードサイズは比較的大きい。
    26712670         */
    26722671        return STATE_TABLE[state - 1][ch];
    26732672#else
    26742673        /*
    2675          * プログラムによる線形探索バージョン。
    2676          * テーブルの後方にあるデータになるほど動作はé
    2677 ã„。
    2678          * コードサイズはテーブル参ç
    2679 §ã‚ˆã‚Šã‚‚小さい。
     2674         * プログラムによる線形探索バージョン。
     2675         * テーブルの後方にあるデータになるほど動作は遅い。
     2676         * コードサイズはテーブル参照よりも小さい。
    26802677         */
    26812678        const int N = sizeof(table) / sizeof(table[0]);
  • EcnlProtoTool/trunk/ntshell/ntshell/core/vtrecv.h

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-chdr to text/x-chdr;charset=UTF-8
    r279 r321  
    4444
    4545/**
    46  * @brief オリジナルに含まれるLUTを使うかどうかを決定する。
     46 * @brief オリジナルに含まれるLUTを使うかどうかを決定する。
    4747 * @details
    48  * オリジナルでは、シーケンスの遷移をテーブル参ç
    49 §ã§å®Ÿè£
    50 ã—てあった。
    51  * 15のステートで取りうる256パターンのå
    52 ¥åŠ›ã‚’å
    53 ¨ç¶²ç¾
    54 ã™ã‚‹ãƒ†ãƒ¼ãƒ–ルである。
    55  * これは3840個のテーブルデータを持つことになる。
     48 * オリジナルでは、シーケンスの遷移をテーブル参照で実装してあった。
     49 * 15のステートで取りうる256パターンの入力を全網羅するテーブルである。
     50 * これは3840個のテーブルデータを持つことになる。
    5651 *
    57  * テーブル参ç
    58 §ã¯ãƒ¡ãƒ¢ãƒªã«å¯¾ã—てリニアアクセス可能なプロセッサにおいて
    59  * 固定時間で動作する。テーブル参ç
    60 §ã®ãƒ¡ãƒªãƒƒãƒˆã¯å›ºå®šæ™‚間での処理である。
     52 * テーブル参照はメモリに対してリニアアクセス可能なプロセッサにおいて
     53 * 固定時間で動作する。テーブル参照のメリットは固定時間での処理である。
    6154 *
    62  * 一方、新たに実è£
    63 ã—た方法は、重複するデータが多数存在する事に着目した
    64  * もので、区間毎に適用するシーケンスを定義したテーブルを用いる。
    65  * これはテーブルを線形探索するため後方にあるデータになるほど動作はé
    66 ã„。
    67  * しかし、コードサイズはオリジナルのå
    68 ¨ç¶²ç¾
    69 å½¢å¼ã®ãƒ†ãƒ¼ãƒ–ルよりも小さい。
     55 * 一方、新たに実装した方法は、重複するデータが多数存在する事に着目した
     56 * もので、区間毎に適用するシーケンスを定義したテーブルを用いる。
     57 * これはテーブルを線形探索するため後方にあるデータになるほど動作は遅い。
     58 * しかし、コードサイズはオリジナルの全網羅形式のテーブルよりも小さい。
    7059 *
    71  * @retval 0 使わない。
    72  * @retval 1 使う。
     60 * @retval 0 使わない。
     61 * @retval 1 使う。
    7362 */
    7463#define USE_ORIGINAL_LUT (0)
  • EcnlProtoTool/trunk/ntshell/ntshell/core/vtsend.c

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-csrc to text/x-csrc;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/core/vtsend.h

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-chdr to text/x-chdr;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/usrcmd.c

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-csrc to text/x-csrc;charset=UTF-8
    r279 r321  
    149149#define LS_ALL  0x01
    150150#define LS_LONG 0x02
    151 /* lsコマンド 1行表示 */
     151/* lsコマンド 1行表示 */
    152152void print_one_list(FILINFO *fno, BYTE list_option)
    153153{
     
    195195
    196196#define LFN_BUF_SIZE (_MAX_LFN + 1)
    197 /* lsコマンド dirå†
    198  è¡¨ç¤º */
     197/* lsコマンド dir内 表示 */
    199198void print_ls(char *path_p, char *pattern_p, BYTE list_option)
    200199{
     
    236235
    237236        while ((res == FR_OK) && (fno.fname[0] != 0)) {
    238                 if (pattern_p != NULL && (fno.fattrib & AM_DIR) && ((fno.fname[0] == '.') ? (pattern_p[0] == '.') : 1)) {/* DIR とパターンマッチしている場合は DIR å†
    239 éƒ¨ã‚’ ls する */
     237                if (pattern_p != NULL && (fno.fattrib & AM_DIR) && ((fno.fname[0] == '.') ? (pattern_p[0] == '.') : 1)) {/* DIR とパターンマッチしている場合は DIR 内部を ls する */
    240238#if _USE_LFN
    241239                        fn = *fno.lfname ? fno.lfname : fno.fname;
     
    336334                return 0;
    337335
    338         /* 引数チェック */
     336        /* 引数チェック */
    339337        for (i = 1; i < argc; i++) {
    340338                if (argv[i][0] == '-')
     
    382380        }
    383381        if (fno.fattrib & AM_DIR) {     /* src is dir */
    384                 /*******************************************************/       /* from dir */ /* 未実è£
    385  */
     382                /*******************************************************/       /* from dir */ /* 未実装 */
    386383        }
    387384        else {                                          /* src is file */
  • EcnlProtoTool/trunk/ntshell/ntshell/usrcmd.h

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-chdr to text/x-chdr;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/util/ntopt.c

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-csrc to text/x-csrc;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/util/ntopt.h

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-chdr to text/x-chdr;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/util/ntstdio.c

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-csrc to text/x-csrc;charset=UTF-8
  • EcnlProtoTool/trunk/ntshell/ntshell/util/ntstdio.h

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-chdr to text/x-chdr;charset=UTF-8
Note: See TracChangeset for help on using the changeset viewer.