Changeset 321 for EcnlProtoTool/trunk/ntshell/ntshell
- Timestamp:
- Aug 23, 2017, 9:27:43 AM (7 years ago)
- 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
totext/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
totext/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
totext/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
totext/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
totext/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
totext/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
totext/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
totext/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
totext/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
totext/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
totext/x-csrc;charset=UTF-8
r279 r321 2666 2666 #if (USE_ORIGINAL_LUT==1) 2667 2667 /* 2668 * ãã¼ãã«åç 2669 §ã«ããå®ç¾ã 2670 * åºå®æéã§åä½ããããã³ã¼ããµã¤ãºã¯æ¯è¼ç大ããã 2668 * テーブル参照による実現。 2669 * 固定時間で動作するが、コードサイズは比較的大きい。 2671 2670 */ 2672 2671 return STATE_TABLE[state - 1][ch]; 2673 2672 #else 2674 2673 /* 2675 * ããã°ã©ã ã«ããç·å½¢æ¢ç´¢ãã¼ã¸ã§ã³ã 2676 * ãã¼ãã«ã®å¾æ¹ã«ãããã¼ã¿ã«ãªãã»ã©åä½ã¯é 2677 ãã 2678 * ã³ã¼ããµã¤ãºã¯ãã¼ãã«åç 2679 §ãããå°ããã 2674 * プログラムによる線形探索バージョン。 2675 * テーブルの後方にあるデータになるほど動作は遅い。 2676 * コードサイズはテーブル参照よりも小さい。 2680 2677 */ 2681 2678 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
totext/x-chdr;charset=UTF-8
r279 r321 44 44 45 45 /** 46 * @brief ãªãªã¸ãã«ã«å«ã¾ããLUTã使ããã©ããã決å®ããã46 * @brief オリジナルに含まれるLUTを使うかどうかを決定する。 47 47 * @details 48 * ãªãªã¸ãã«ã§ã¯ãã·ã¼ã±ã³ã¹ã®é·ç§»ããã¼ãã«åç 49 §ã§å®è£ 50 ãã¦ãã£ãã 51 * 15ã®ã¹ãã¼ãã§åããã256ãã¿ã¼ã³ã®å 52 ¥åãå 53 ¨ç¶²ç¾ 54 ãããã¼ãã«ã§ããã 55 * ããã¯3840åã®ãã¼ãã«ãã¼ã¿ãæã¤ãã¨ã«ãªãã 48 * オリジナルでは、シーケンスの遷移をテーブル参照で実装してあった。 49 * 15のステートで取りうる256パターンの入力を全網羅するテーブルである。 50 * これは3840個のテーブルデータを持つことになる。 56 51 * 57 * ãã¼ãã«åç 58 §ã¯ã¡ã¢ãªã«å¯¾ãã¦ãªãã¢ã¢ã¯ã»ã¹å¯è½ãªããã»ããµã«ãã㦠59 * åºå®æéã§åä½ããããã¼ãã«åç 60 §ã®ã¡ãªããã¯åºå®æéã§ã®å¦çã§ããã 52 * テーブル参照はメモリに対してリニアアクセス可能なプロセッサにおいて 53 * 固定時間で動作する。テーブル参照のメリットは固定時間での処理である。 61 54 * 62 * ä¸æ¹ãæ°ãã«å®è£ 63 ããæ¹æ³ã¯ãéè¤ãããã¼ã¿ãå¤æ°åå¨ããäºã«çç®ãã 64 * ãã®ã§ãåºéæ¯ã«é©ç¨ããã·ã¼ã±ã³ã¹ãå®ç¾©ãããã¼ãã«ãç¨ããã 65 * ããã¯ãã¼ãã«ãç·å½¢æ¢ç´¢ããããå¾æ¹ã«ãããã¼ã¿ã«ãªãã»ã©åä½ã¯é 66 ãã 67 * ããããã³ã¼ããµã¤ãºã¯ãªãªã¸ãã«ã®å 68 ¨ç¶²ç¾ 69 å½¢å¼ã®ãã¼ãã«ãããå°ããã 55 * 一方、新たに実装した方法は、重複するデータが多数存在する事に着目した 56 * もので、区間毎に適用するシーケンスを定義したテーブルを用いる。 57 * これはテーブルを線形探索するため後方にあるデータになるほど動作は遅い。 58 * しかし、コードサイズはオリジナルの全網羅形式のテーブルよりも小さい。 70 59 * 71 * @retval 0 使ããªãã72 * @retval 1 使ãã60 * @retval 0 使わない。 61 * @retval 1 使う。 73 62 */ 74 63 #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
totext/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
totext/x-chdr;charset=UTF-8
-
EcnlProtoTool/trunk/ntshell/ntshell/usrcmd.c
- Property svn:keywords deleted
-
Property svn:mime-type
changed from
text/x-csrc
totext/x-csrc;charset=UTF-8
r279 r321 149 149 #define LS_ALL 0x01 150 150 #define LS_LONG 0x02 151 /* ls ã³ãã³ã 1è¡è¡¨ç¤º*/151 /* lsコマンド 1行表示 */ 152 152 void print_one_list(FILINFO *fno, BYTE list_option) 153 153 { … … 195 195 196 196 #define LFN_BUF_SIZE (_MAX_LFN + 1) 197 /* lsã³ãã³ã dirå 198 表示 */ 197 /* lsコマンド dir内 表示 */ 199 198 void print_ls(char *path_p, char *pattern_p, BYTE list_option) 200 199 { … … 236 235 237 236 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 する */ 240 238 #if _USE_LFN 241 239 fn = *fno.lfname ? fno.lfname : fno.fname; … … 336 334 return 0; 337 335 338 /* å¼æ°ãã§ãã¯*/336 /* 引数チェック */ 339 337 for (i = 1; i < argc; i++) { 340 338 if (argv[i][0] == '-') … … 382 380 } 383 381 if (fno.fattrib & AM_DIR) { /* src is dir */ 384 /*******************************************************/ /* from dir */ /* æªå®è£ 385 */ 382 /*******************************************************/ /* from dir */ /* 未実装 */ 386 383 } 387 384 else { /* src is file */ -
EcnlProtoTool/trunk/ntshell/ntshell/usrcmd.h
- Property svn:keywords deleted
-
Property svn:mime-type
changed from
text/x-chdr
totext/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
totext/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
totext/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
totext/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
totext/x-chdr;charset=UTF-8
Note:
See TracChangeset
for help on using the changeset viewer.