原创 Cost down的方式

   由於Rigel的成本問題,其flash有512K,而SDRam只有2M. 要將code壓縮在這樣的空間包括兩個工作:  二進制<512 K SDRam必須小於2M,越小越好     採用工具,將SDRam刷爲特殊的值,將當前的bi

原创 PCR/PTS/DTS 之我見

    現在的工作的原因,有機會深入瞭解PCR/PTS/DTS的關係和理論。       PCR/PTS/DTS是MEPG2中爲了完成A/V播放同步而採用的設置。這個同步有多個意思: AV播放和解碼的同步,也就是說傳輸信道的同步。MEPG

原创 串口調試工具開發

工作需要,用c#寫了一個串口調試的工具。很小比較簡單。功能就是給允許用戶查看當前kernel中的某些SDram,Flash地址的值,以及部分寄存器值。其size如下:   Register:  4 byte memory:  4 *n b

原创 檢查函數用的棧空間

  cost down繼續中,爲了減少棧的空間(34k->20K),瀏覽代碼中用了很大的棧空間的函數。挑出這些函數,並進行研究之。     MIP16有個特點,在進入函數後,用save指令將一些寄存器壓棧,同時爲local變量留出足夠的棧

原创 Porting FreePV to PSP (one)

  By occasion, i get a job to modify and porting freePV to PSP. FreePV is a open-source project, which licence obey to 

原创 如何開始一份新的工作

Remember:   1 . Don't make a sudden impact. It's better to ease your way into the position and set goals to reach for—s

原创 MIPS指令的疑問

For the job reason, i need to statistic the stack frame of application binary.  Any way, i studied the MIPS16E assembly

原创 宏定義中的坑爹陷阱

float fx,fy; [self translate:&fx,&fy]; bgraStart = GET_BGRA_START_BY(fx, fy); b=pixelBuf[bgraStart++] g=pixelBuf[bgraS