Monthly ArchiveFebruary 2007
Developpment khertan on 28 Feb 2007
Using jpg with PP
Reading and displaying jpeg is really easy with PP, when we know there is a free library named pnojpeglib to do it.
You can found it at : http://www.bin-people.de/pnoJpegLib/index.html
You just need to convert the c header to pascal to use it ...
Just an example of the header i use to help you to use this great library under pp.
const
pnojpeglibCreator=$616A4C69; //'ajLi';
pnojpeglibType=$6C696272; //'libr';
//--------------------------------
function pnoJpegOpen(refNum:UInt16):Err;
inline($4E4F,$A801);
function pnoJpegClose(refNum:UInt16):Err;
inline($4E4F,$A802);
function pnoJpeg2LoadFromVFS(refNum:UInt16; data:Pointer;volRefNum:UInt16;var filePath:String):Err;
inline($4E4F,$A800+16);
function pnoJpeg2Free(refNum:UInt16;var data:Pointer):Err;
inline($4E4F,$A800+24);
function pnoJpeg2Create(refNum:UInt16;var data:Pointer):Err;
inline($4E4F,$A800+14);
function pnoJpeg2Read(refNum:UInt16; data:Pointer;var bmpPtr:BitmapPtr):Err;
inline($4E4F,$A800+23);//23
function pnoJpeg2Bmp2DoubleDensity(refNum:UInt16;inBmp:BitmapPtr;var outBmp:BitmapPtrV3):Err;
inline($4E4F,$A800+28);
You can found it at : http://www.bin-people.de/pnoJpegLib/index.html
You just need to convert the c header to pascal to use it ...
Just an example of the header i use to help you to use this great library under pp.
const
pnojpeglibCreator=$616A4C69; //'ajLi';
pnojpeglibType=$6C696272; //'libr';
//--------------------------------
function pnoJpegOpen(refNum:UInt16):Err;
inline($4E4F,$A801);
function pnoJpegClose(refNum:UInt16):Err;
inline($4E4F,$A802);
function pnoJpeg2LoadFromVFS(refNum:UInt16; data:Pointer;volRefNum:UInt16;var filePath:String):Err;
inline($4E4F,$A800+16);
function pnoJpeg2Free(refNum:UInt16;var data:Pointer):Err;
inline($4E4F,$A800+24);
function pnoJpeg2Create(refNum:UInt16;var data:Pointer):Err;
inline($4E4F,$A800+14);
function pnoJpeg2Read(refNum:UInt16; data:Pointer;var bmpPtr:BitmapPtr):Err;
inline($4E4F,$A800+23);//23
function pnoJpeg2Bmp2DoubleDensity(refNum:UInt16;inBmp:BitmapPtr;var outBmp:BitmapPtrV3):Err;
inline($4E4F,$A800+28);
Softwares khertan on 27 Feb 2007
kLauncher will reborn … again
Hi,
Today after trying to optimiz kLauncher during 3 hours ... I've see that the most speed is lost by doing swapping translation between 68k code and PNO ... There are some glitch too in the architecture of the program.
So i've decided to rewrite kLauncher exclusively in ARM with the help of the great NaPP compiler. Of course it ll take some time to rewrite it. But it ll be extremely benifits ! I ve implemented some things at this time and i m looking around skinnable apearance.
Just take a look at this two screenshots :
Today after trying to optimiz kLauncher during 3 hours ... I've see that the most speed is lost by doing swapping translation between 68k code and PNO ... There are some glitch too in the architecture of the program.
So i've decided to rewrite kLauncher exclusively in ARM with the help of the great NaPP compiler. Of course it ll take some time to rewrite it. But it ll be extremely benifits ! I ve implemented some things at this time and i m looking around skinnable apearance.
Just take a look at this two screenshots :

Developpment khertan on 07 Feb 2007
WP Forum Fix
Hi
Today i've see a bug in wp-forum ... it's not really a bug but the author of Wp-forum use a php5 function in php4 code... so many web host distinct php4 and php5 with the extension and doesn't mix it.
So to correct it you can add this little code snippet to the wp-forum function :
if (!is_callable("stripos")) {<br />
function stripos($str, $needle, $offset = 0) {<br />
return strpos(strtolower($str), strtolower($needle), $offset);<br />
}<br />
}
function stripos($str, $needle, $offset = 0) {<br />
return strpos(strtolower($str), strtolower($needle), $offset);<br />
}<br />
}
Softwares khertan on 01 Feb 2007
Just a small ad for kLauncher
Here is the ad, what do you think of it ?
Uncategorized khertan on 01 Feb 2007
No more guest users on khertan.net’s forum
Due to too many spam on the forum, the forum is now limited to registered members only.
You can of course register freely.
You can of course register freely.