Lua Player 0.17dk1

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
Dark Killer
Posts: 32
Joined: Tue Jan 25, 2005 3:10 am

Lua Player 0.17dk1

Post by Dark Killer »

This is an unofficial build of Lua Player v0.17. Only change is that CPU speed is now set at 333mhz for greatly improved performance as demonstrated by these test results:

Code: Select all

Lua Player v0.17   
{ name="testSmallImage", time=7249, result="01d42086a28ec1cf03c551ce75ddd30a" },
	{ name="testFullScreenPixelPlot", time=6779, result="b24f32a46df7088f08587d51e7071bd0" },
	{ name="testTransparencyImage", time=608, result="9b6cad02f04c0cb4942f5b602ba13357" },
	{ name="testTransparencyScreen", time=552, result="595c0b4d67c4f15142daf639d4ad4461" },
	{ name="testClippingImage", time=827, result="71fc06f295443cba12db8bdcd85ad078" },
	{ name="testClippingScreen", time=1739, result="d9a719f406a5f8f50e6a1c66758c081d" },
	{ name="testLineImage", time=1867, result="995675cd3da15e1918255a5aa6b53aae" },
	{ name="testLineScreen", time=597, result="213678f024aa302c7431a4c991fc355e" },
	{ name="testTextImage", time=764, result="7a0baad1a6a22afa622f05d749f7fffa" },
	{ name="testTextScreen", time=537, result="7716950c9b560863494f51b542dbd854" },
	{ name="testBlitSpeedAlphaImage", time=1209, result="5d917a000187d605ba4d07d4ff32bda3" },
	{ name="testBlitSpeedAlphaScreen", time=955, result="b24f32a46df7088f08587d51e7071bd0" },
	{ name="testBlitSpeedCopyImage", time=9986, result="5d917a000187d605ba4d07d4ff32bda3" },
	{ name="testBlitSpeedCopyScreen", time=3398, result="b24f32a46df7088f08587d51e7071bd0" },

Code: Select all

Lua Player v0.17dk1
	{ name="testSmallImage", time=4782, result="01d42086a28ec1cf03c551ce75ddd30a" },
	{ name="testFullScreenPixelPlot", time=4268, result="b24f32a46df7088f08587d51e7071bd0" },
	{ name="testTransparencyImage", time=403, result="9b6cad02f04c0cb4942f5b602ba13357" },
	{ name="testTransparencyScreen", time=347, result="595c0b4d67c4f15142daf639d4ad4461" },
	{ name="testClippingImage", time=536, result="71fc06f295443cba12db8bdcd85ad078" },
	{ name="testClippingScreen", time=1098, result="d9a719f406a5f8f50e6a1c66758c081d" },
	{ name="testLineImage", time=1211, result="995675cd3da15e1918255a5aa6b53aae" },
	{ name="testLineScreen", time=383, result="213678f024aa302c7431a4c991fc355e" },
	{ name="testTextImage", time=491, result="7a0baad1a6a22afa622f05d749f7fffa" },
	{ name="testTextScreen", time=345, result="7716950c9b560863494f51b542dbd854" },
	{ name="testBlitSpeedAlphaImage", time=790, result="5d917a000187d605ba4d07d4ff32bda3" },
	{ name="testBlitSpeedAlphaScreen", time=619, result="b24f32a46df7088f08587d51e7071bd0" },
	{ name="testBlitSpeedCopyImage", time=6928, result="5d917a000187d605ba4d07d4ff32bda3" },
	{ name="testBlitSpeedCopyScreen", time=2089, result="b24f32a46df7088f08587d51e7071bd0" },
you can get it at my site: http://www.ps2hacking.tk/
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

afaik luaplayer .17 isnt even out ;)
further changing clock speed will increase your energy usage of psp, possibly get it warmer too...
greets
lumo
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Dark Killer
Posts: 32
Joined: Tue Jan 25, 2005 3:10 am

Post by Dark Killer »

LuMo wrote:afaik luaplayer .17 isnt even out ;)
further changing clock speed will increase your energy usage of psp, possibly get it warmer too...
greets
lumo
According to the svn changelog 0.17 is the newest, but apparently it's still wip. 0.16 is the latest "official" stable build by Shine.
Last edited by Dark Killer on Sat Jan 28, 2006 3:49 am, edited 1 time in total.
Dark Killer
Posts: 32
Joined: Tue Jan 25, 2005 3:10 am

Post by Dark Killer »

If I was out of line naming it 0.17, I apologize.
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

HI, couldn't you have included a function to change speed rather than force
333MHz all the time?
Dark Killer
Posts: 32
Joined: Tue Jan 25, 2005 3:10 am

Post by Dark Killer »

Art wrote:HI, couldn't you have included a function to change speed rather than force
333MHz all the time?
I'm currently working on another version that will have several new system functions, that being one of them :)
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

cool, it will probably be included in an official version once you do it.

A lot of the time, a program could run at 1MHz just waiting around for input.
Dark Killer
Posts: 32
Joined: Tue Jan 25, 2005 3:10 am

Post by Dark Killer »

New version: Lua Player v0.17dk2

New features in this version include complete UMD support and the ability
to set the CPU clock to one of three presets.

New Functions:
---------------

nil System.Quit()
--exits Lua Player back to the psp browser

nil System.initUMD()
--activates UMD and mounts to disc0:

bool System.isUmdInserted()
--returns true if UMD is inserted

nil System.setCpuSpeedHigh()
--sets CPU clock to 333mhz

nil System.setCpuSpeedMed()
--sets CPU clock to 266mhz

nil System.setCpuSpeedReg()
--sets CPU clock to 222mhz

An example script is included that demonstrates all the new functions.

You can download it from my thread at pspupdates here.
JetSpike
Posts: 8
Joined: Mon Sep 19, 2005 2:38 am

Post by JetSpike »

Is it possible to add a feature to load a png that is greater than 512x512. Or to at least specify loading of a 512x512 region from a larger png?
Post Reply