<meta name='google-adsense-platform-account' content='ca-host-pub-1556223355139109'/> <meta name='google-adsense-platform-domain' content='blogspot.com'/> <!-- data-ad-client=ca-pub-6479355989670726 --> <!-- --><style type="text/css">@import url(https://www.blogger.com/static/v1/v-css/navbar/3334278262-classic.css); div.b-mobile {display:none;} </style> </head><body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d30948183\x26blogName\x3dPKWONG+is+not+PK+WONG\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://pkwong4321.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://pkwong4321.blogspot.com/\x26vt\x3d-4438911400025071329', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

(NDSDEV) BMS Player


RIDICIOUS!!!
dynamic allocating memory is broken!
wasted my so many hours so know, so frastrating
now I have to use back the good old array until it's fixed...
which implies I have to rewrite some of my code later...

anyway, progress
key effects are added, keys not configable yet
L LEFT UP RIGHT Y X B A
8 buttons...

http://pkwong4321.googlepages.com/bms0.21.nds

posted by PKWONG @ Wednesday, August 30, 2006
5:34 PM

0 comments


(NDSDEV) BMSPlayer


Hurray! finally abandoned libfb!
frame buffering really hurts the CPU...
i got like 2x sprites updates per second (not fps, cause i didn't count frames)
and it was NOT constant! the length between the barlines varies...and finally outsync

now it's at least 3 times faster!(60 fps on emulator, i think it's limited to 60)
and from what i saw on my DS, i think it's >10 times~
it really worth the hard work! now i understand more about how the shit sprites works.

hehe~
get it here
http://pkwong4321.googlepages.com/bms0.2.nds

posted by PKWONG @ Sunday, August 27, 2006
3:53 AM

0 comments


(NDSDEV) BMSPlayer


nothing much advanced due to:
1. holiday mood after 芝's birthday week :P
2. the program would NEVER be able to play mp3 while playing
I'll try to use RAW(wav with no headers) instead, so it won't take up much CPU time..
3. the display is too slow, it greatly affects the fps... fps is not constant... really afraid that outsync will happen...
I think I must not use framebuffer anymore...what can I do...?
4. I've been fallen sick since last sat... not sick enough to see a doctor but more than enough to make me can't work at night...

seeing that there is a DDR emulator on DS...
this bms player should not be an impossible, right?

posted by PKWONG @ Tuesday, August 22, 2006
3:20 PM

0 comments


(NDSDEV) BMS player - progress


用左成日ge 時間, 終於識display d圖同埋d sprites...
尋晚整埋d notes 識drop
但上面screen 快過下面screen..........
好明顯係display o個時ge 問題...
開左libfb 睇...真係用左兩種方法...!都唔知點解
跟住今日改左libfb d code, sync 返兩個screen ge speed


其實呢張係static o個時cap 的...o個時d notes未識陏~ :p

宜家計落仲差:
1. play mp3 - quite impossible for now... no library...
2. read bms files - i understand the format now!
3. map keys - quite easy
4. 判斷 - still can't think of the algorithm...
5. finalize - e.g. config keys...choose songs... etc

preview:
http://pkwong4321.googlepages.com/bms0.1.nds

posted by PKWONG @ Thursday, August 17, 2006
2:04 PM

0 comments


續 - CUHK


我認錯了

我當日真係做左個好錯ge 決定
點解我會choose ce??
因為興趣? 有, 但唔太濃
因為未讀過所以讀? 係, 但跳左d fundamentals加上d maths, phy 掉低左咁耐...無理...
因為中學時代的夢想? 係, 因為佢, 我報o個時都係scan 左一次d course list 就apply 了
因為"d 人話"讀完可做cs+ee 工? 係, 都幾吸引...但唔係都生存到ge...
因為....

係時候有報應了
前日set time table 時發覺勁多勁多time clash
因為今年要take 返幾個人地year 1 d 野...
佢地好肯定冇理過我地non-ju d 人ge 感受囉
pass 唔pass 到都唔能夠肯定
仲要叫我掉d course 去final year 讀
我真係覺得有8成以上機會要extend! 一年? 兩年? 真係唔知...

呢件事點都要解決
1. 唔讀
2. 轉去cs
我choose 左 2 嫁啦...
但仍然好多麻煩野... 都唔想講了

posted by PKWONG @ Sunday, August 13, 2006
10:36 AM

0 comments


CompEnG @ CUHK


好大壓力!
當你覺得一d 比你強ge 人都話黎緊ge 生活好harsh, 要係咁通頂
而你計落條數你自己ge 生活比將會佢地更harsh ge 時候
係幾咁灰...

已經有想quit ge 念頭...
未讀已經淆底...
入cu 係咪一個錯ge 決定呢...?


其實我又點會quit 丫, 俾左咁多錢... :p

posted by PKWONG @ Thursday, August 10, 2006
3:06 PM

0 comments


(NDSDEV) Another day, another app


Simple and stupid http file downloader
it's just half complete, mainly because the speed boost of using TCP than UDP file transfer using dswifi lib is not so great...
both are slow, so why not use tftp instead? no configuration required.
well, i'm going to put what i've done here in case you are interested.

usage: just run it in your nds

notes: it only downloads a.nds.dsq from 192.168.1.2 port 80
(yeah, i hardcoded them, and i'll not change it, it's just a waste of time)
if you really want it, ask me for the source.

http://pkwong4321.googlepages.com/httpGet.nds

posted by PKWONG @
3:00 PM

0 comments


(NDSDEV) TFTPD


每次compile 完一個program就要抆張mini sd 出黎
plug 落card reader, 再插返落去部ndsl 實在太麻煩啦!

網上面搵到有兩個program 解決呢個問題,
一個係tftpds, 一個係wifc
tftpds 就only support gbamp(flashcart)
wifc support supercard....但冇wep!!!! 我屋企set 左wep...
於是我就自己寫過個啦
囉左tftpds 個server 段code + wifc fat library
combine 埋我早兩日整ge wifi template
就整左呢個tftpd
http://pkwong4321.googlepages.com/tftpd.nds

usage:
put tftpd.nds to your memory card and execute
download tftp client from
http://www.winagents.com/downloads/tftp.exe
run:
tftp -i ip-addess PUT filename
(e.g.)
tftp -i 192.168.1.11 PUT a.nds.sav

known issues:
1. speed is very slow, due to the limited block size in the file transfer.
i think it's the socket library's problem!! cannot solve
2. cannot boot the transferred file right away...dunno why!

posted by PKWONG @ Wednesday, August 09, 2006
2:40 AM

0 comments


Lock picking made easy


http://www.youtube.com/watch?v=7Uv45y6vkcQ
wonder how to make this kind of keys...

posted by PKWONG @ Tuesday, August 08, 2006
11:35 PM

0 comments


(NDSDev) DSWifi - 又愛又恨


搞左半日, 總算combine 到devkitpro 個template 同dswifi 個example 啦...
compile 到又唔識link... 改改下makefile 又好似得左
但掉落部ndsl 度run, 佢hold 死左o係init 個loop 度...
都唔知咩事... 佢example 都係咁多野ja ma...
苦惱左幾個鐘, 先知我yesterday delete 左佢ARM7 o個邊ge code!!
而個init 就正正係o係度等ARM7 o個邊init 好... 梗係loop 死啦
一add 返d code 就run 到了, 加埋check ip ge 野就停一停先


simple IP checker
http://pkwong4321.googlepages.com/TaB.nds

posted by PKWONG @ Monday, August 07, 2006
3:19 PM

2 comments


超執刀 カドゥケウス


令人著迷的一隻手術game!
由開始時現實的切腫瘤,拔玻璃等小手術
到後來打怪獸...個個operation 都好令人投入
中後段的手術完全俾到壓力
又要睇實d parasites(GUILT), 又要睇住assistant d 指示
真係要好集中先玩到
每過一關都有d 鬆一口氣的感覺~
爆左之後有d challenge mode...
打返晒first sin - final sin 的GUILT...
條血好似噴咁...打針補ge rate 都唔夠佢扣得快....痴根...

懶型的主角
Final Boss...

posted by PKWONG @ Wednesday, August 02, 2006
1:07 AM

0 comments


Google
 
Web pkwong4321.blogspot.com