forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

(Alternate) PSP Allegro port

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
TehSausage



Joined: 29 Sep 2008
Posts: 3
Location: Australia

PostPosted: Mon Sep 29, 2008 8:02 pm    Post subject: (Alternate) PSP Allegro port Reply with quote

Update 2: I've created a website for it at http://tehsausage.com/allegro-psp/ - Any progress updates should be available there.

I started this one day before diedel posted his topic, but I'm not giving up now.

The graphics driver is pretty stable (except 8 bit color) but no keyboard, mouse, joystick or timer driver has been written yet.
My goal is to support as many allegro based games as possible without modification.

A lot of examples (even ex3d =) all run fine after some minor changes (like using 32 bit color instead of 8, removing dependence on timers and keyboards)

My estimated progress on each of the drivers can be found at http://tehsausage.com/allegro-psp/status
(the percentages of some are pretty inaccurate, some methods are more important than others)

I'd love to post some screenshots, but no program seems to be able to take one. :P
(but here's a really bad picture I took with my camera of the first bitmap blitted successfully through allegro)


Update: A mostly functional IR keyboard driver has been completed, and I've managed to create a simple demo from one of the examples (resolution increased).
exstars.zip (217KB) - Extract to /PSP/GAME150
NOTE: The demo can only be played with an IR keyboard, no joypad support


Last edited by TehSausage on Tue Sep 30, 2008 4:27 pm; edited 4 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Mon Sep 29, 2008 8:24 pm    Post subject: Reply with quote

It's prototype in in psppower.h

Ensure you link -lpsppower too.
Back to top
View user's profile Send private message
TehSausage



Joined: 29 Sep 2008
Posts: 3
Location: Australia

PostPosted: Mon Sep 29, 2008 8:32 pm    Post subject: Reply with quote

Insert_witty_name wrote:
It's prototype in in psppower.h

Ensure you link -lpsppower too.


I figured that, the pspirkeyb includes psppower.h, but even when I link with libpsppower scePowerTick() is still undefined. :(
For now I've just implemented it as an empty function, it will definately become an issue though.

Edit: It seems to have solved itself now :x
Edit2: The problem seems to be the order in which the librarys are on the command line, odd.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
diedel



Joined: 22 Sep 2008
Posts: 16

PostPosted: Tue Sep 30, 2008 12:32 am    Post subject: Reply with quote

Hi TehSausage,
welcome to the Allegro world :)

I have the same goal: to build the most Allegro applications with no changes or minimal.

About the screenshots I use the psplinkusb "scrshot" command to get it, say:
$pspsh> scrshot <myimagefile>

Quote:
Edit2: The problem seems to be the order in which the librarys are on the command line, odd.


Yes, I think the order it's important. For instance, if libA uses functions from libB the parameter order is -lA ... -lB.

Greetings!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group