X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/5366852335044c1e68a5c32548d3051cc943552f..5013b94fb43ed4e86efb5d1d72350537cd1a3f8f:/fatfs/doc/ja/forward.html diff --git a/fatfs/doc/ja/forward.html b/fatfs/doc/ja/forward.html index ffb2e60..34f4f48 100644 --- a/fatfs/doc/ja/forward.html +++ b/fatfs/doc/ja/forward.html @@ -1,7 +1,7 @@
- + @@ -13,39 +13,38 @@t@C©çf[^ðÇÝoµAMXg[ɼÚ]µÜ·B
+ãã¡ã¤ã«ãããã¼ã¿ãèªã¿åºããéä¿¡ã¹ããªã¼ã ã«ç´æ¥è»¢éãã¾ãã
FRESULT f_forward ( - FIL* fp, /* [IN] t@CEIuWFNg\¢Ì */ - UINT (*func)(const BYTE*,UINT), /* [IN] f[^]Ö */ - UINT btf, /* [IN] ]·éoCg */ - UINT* bf /* [OUT] ]³ê½oCg */ + FIL* fp, /* [IN] ãã¡ã¤ã« ãªãã¸ã§ã¯ãæ§é ä½ */ + UINT (*func)(const BYTE*,UINT), /* [IN] ãã¼ã¿è»¢éé¢æ° */ + UINT btf, /* [IN] 転éãããã¤ãæ° */ + UINT* bf /* [OUT] 転éããããã¤ãæ° */ );
FR_OK, FR_DISK_ERR, FR_INT_ERR, -FR_NOT_READY, FR_DENIED, FR_INVALID_OBJECT, FR_TIMEOUT @@ -54,40 +53,40 @@ FRESULT f_forward (
t@CÌf[^ðobt@ÉÇÝo³¸ÉMXg[ɼÚ]µÜ·BAvP[V¤Åf[^Eobt@ðKvƵȢÌÅAÌÀçê½Â«ÅLøÅ·B[h/CgE|C^Í]³ê½oCg¾¯iÝÜ·Bwè³ê½oCgÌ]Ét@CÌI[ÉBµ½êâMXg[ªrW[ÉÈÁ½êA*bfÍbtfæèଳÈèÜ·B
+ãã¡ã¤ã«ã®ãã¼ã¿ããããã¡ã«èªã¿åºããã«éä¿¡ã¹ããªã¼ã ã«ç´æ¥è»¢éãã¾ããã¢ããªã±ã¼ã·ã§ã³å´ã§ãã¼ã¿ ãããã¡ãå¿ è¦ã¨ããªãã®ã§ãã¡ã¢ãªã®éãããç°å¢ã§æå¹ã§ãããªã¼ã/ã©ã¤ã ãã¤ã³ã¿ã¯è»¢éããããã¤ãæ°ã ãé²ã¿ã¾ããæå®ããããã¤ãæ°ã®è»¢éä¸ã«ãã¡ã¤ã«ã®çµç«¯ã«éããå ´åãéä¿¡ã¹ããªã¼ã ããã¸ã¼ã«ãªã£ãå ´åã*bfã¯btfãããå°ãããªãã¾ãã
_USE_FORWARD == 1ÅAÂ_FS_TINY == 1ÌÆ«ÉgpÂ\Å·B
+_USE_FORWARD == 1ã®ã¨ãã«ä½¿ç¨å¯è½ã§ãã
/*-----------------------------------------------------------------------*/ -/* f_forwardÖ©çÄÎêéf[^MÖÌá */ +/* f_forwardé¢æ°ããå¼ã°ãããã¼ã¿éä¿¡é¢æ°ã®ä¾ */ /*-----------------------------------------------------------------------*/ -UINT out_stream ( /* ßèl: ]³ê½oCgܽÍXg[ÌóÔ */ - const BYTE *p, /* ]·éf[^ðw·|C^ */ - UINT btf /* >0: ]ðs¤(oCg). 0: Xg[ÌóÔð²×é */ +UINT out_stream ( /* æ»ãå¤: 転éããããã¤ãæ°ã¾ãã¯ã¹ããªã¼ã ã®ç¶æ */ + const BYTE *p, /* 転éãããã¼ã¿ãæããã¤ã³ã¿ */ + UINT btf /* >0: 転éãè¡ã(ãã¤ãæ°). 0: ã¹ããªã¼ã ã®ç¶æ ã調ã¹ã */ ) { UINT cnt = 0; - if (btf == 0) { /* ZXv */ - /* Xg[ÌóÔðÔ· (0: rW[, 1: fB) */ - /* êUAfBðÔµ½çA±]vÅÈÆà1oCgÍ */ - /* ]³ê颮 f_forwardÖÍ FR_INT_ERR ÆÈéB */ + if (btf == 0) { /* ã»ã³ã¹è¦æ± */ + /* ã¹ããªã¼ã ã®ç¶æ ãè¿ã (0: ãã¸ã¼, 1: ã¬ãã£) */ + /* ä¸æ¦ãã¬ãã£ãè¿ããããç¶ã転éè¦æ±ã§å°ãªãã¨ã1ãã¤ã㯠*/ + /* 転éãããªã㨠f_forwardé¢æ°ã¯ FR_INT_ERR ã¨ãªãã */ if (FIFO_READY) cnt = 1; } - else { /* ]v */ - do { /* SÄÌoCgð]·é©AXg[ªrW[ÉÈéÜÅJèÔ· */ + else { /* 転éè¦æ± */ + do { /* å ¨ã¦ã®ãã¤ãã転éããããã¹ããªã¼ã ããã¸ã¼ã«ãªãã¾ã§ç¹°ãè¿ã */ FIFO_PORT = *p++; cnt++; } while (cnt < btf && FIFO_READY); @@ -98,31 +97,31 @@ UINT out_stream ( /* /*-----------------------------------------------------------------------*/ -/* f_forwardÖÌgpá */ +/* f_forwardé¢æ°ã®ä½¿ç¨ä¾ */ /*-----------------------------------------------------------------------*/ FRESULT play_file ( - char *fn /* Ķ·éI[fBIEt@C¼ðw·|C^ */ + char *fn /* åçãããªã¼ãã£ãª ãã¡ã¤ã«åãæããã¤ã³ã¿ */ ) { FRESULT rc; FIL fil; UINT dmy; - /* t@CðÇÝoµ[hÅJ */ + /* ãã¡ã¤ã«ãèªã¿åºãã¢ã¼ãã§éã */ rc = f_open(&fil, fn, FA_READ); if (rc) return rc; - /* SÄÌf[^ª]³êé©G[ª¶·éÜű¯é */ - while (rc == FR_OK && fil.fptr < fil.fsize) { + /* å ¨ã¦ã®ãã¼ã¿ã転éããããã¨ã©ã¼ãçºçããã¾ã§ç¶ãã */ + while (rc == FR_OK && !f_eof(&fil)) { - /* Ù©Ì... */ + /* ã»ãã®å¦ç... */ - /* èúIܽÍvɶÄf[^ðXg[Éo·é */ + /* å®æçã¾ãã¯è¦æ±ã«å¿ãã¦ãã¼ã¿ãã¹ããªã¼ã ã«éåºãã */ rc = f_forward(&fil, out_stream, 1000, &dmy); } - /* t@Cð¶Äßé */ + /* ãã¡ã¤ã«ãéãã¦æ»ã */ f_close(&fil); return rc; } @@ -131,10 +130,10 @@ FRESULT play_file ( - +