Archive for April, 2006

What a spectacular view!

Leave a Comment

live and let live

Leave a Comment

Bug不断 一个接一个

Leave a Comment

Safari

Leave a Comment

总算把问题解决了

找来找去还是那个XB_BUF的边界问题

XSEG     AT  0000H
PRD:  DS 8 ;PRD has to be defined at WORD boundary.  
XB_BUF0:   DS   512
XB_BUF1:   DS  512
XB_BUF2:     DS  512 ;use by the media function as backup

三点

1,创建文件名时 反复拷贝 常常会重名  导致错误退出

2,fatGetNextClusterChain的程序里就有逻辑不严的问题

ULONG fatGetNextClusterChain(PCLUSTERCHAININFO PChainInfo)
{
   ULONG Len;
   BYTE byStatus;
/*
   if(ccbuf.ChainBufferCount==1) byStatus = fatGetFreeArea();
   if (byStatus == 0) return 0;
*/
   if(ccbuf.ChainBufferCount==1)
   { byStatus = fatGetFreeArea();
    if (byStatus == 0) return 0;
   }

   memcpy(PChainInfo,(PCLUSTERCHAININFO)&ccbuf.ChainBuffer[ccbuf.ChainBufferRp],sizeof(CLUSTERCHAININFO));
   if(ccbuf.ChainBufferRp>CHAINBUFLEN-2)
    ccbuf.ChainBufferRp =0;
   else
    ccbuf.ChainBufferRp++;
   ccbuf.ChainBufferCount–;
   Len = PChainInfo->EndCluster – PChainInfo->StartCluster ;
   return Len;
}
3

Leave a Comment

在公寓区里头逛

今天在公寓区里头逛 被那个黑人警察 纠缠。

What are you looking for?

Comments (1)

Stun daze

I am stunned by the news.

stun

stun
AHD:[st¾n]
D.J.:[st(n]
K.K.:[st(n]
 v.tr.
 stunned; stun.ning; stuns;
To daze or render senseless, by or as if by a blow.
使昏厥、不省人事,被或好象被重击了一般
To overwhelm or daze with a loud noise.
使震聋
To stupefy, as with the emotional impact of an experience; astound.
 使目瞪口呆使昏厥的一击;使吃惊的举动
See: daze
stun
 n.
A blow or shock that stupefies.
 打击,刺激使震惊的打击或刺激

daze

 dazed; daz.ing; daz.es;
To stun, as with a heavy blow or shock; stupefy.
 使发昏使晕眩,如因重击或震惊;使惊愕
To dazzle, as with strong light.
 使目眩使人眩惑,如因强光
daze
 n.
A stunned or bewildered condition.
 恍惚,晕眩处于晕眩或迷惑的状态

Leave a Comment

Older Posts »