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 

OSK 50 Char Limit?

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



Joined: 09 Nov 2005
Posts: 647

PostPosted: Sun Jan 24, 2010 7:07 pm    Post subject: OSK 50 Char Limit? Reply with quote

Hi Guys,
I built a 144 LED scrolling message display:
http://www.youtube.com/watch?v=qFKy60IF3Tg

It's message data is compiled by a PSP program that converts a message
string input through the OSK to a monochrome bitmap in the correct format
to be written to the EEPROM in my LED circuit.
The monochrome bitmap is 8 pixels high, and has the potential to be
tens of thousands of pixels wide.

I have a blog thing happening here:
http://www.freewebs.com/defxev/scroll.htm

The trouble I have with the OSK is the input string has a 50 character limit.
Is there an easy way to lift this?

Otherwise I can hard code a long message, but in the end I'll have to
knock up another of my own character input routines.
Art.
_________________
If not actually, then potentially.
Back to top
View user's profile Send private message
Devun_06



Joined: 17 Jun 2006
Posts: 15

PostPosted: Mon Jan 25, 2010 11:07 am    Post subject: Reply with quote

http://www.qj.net/psp/homebrew-development/danzeff-osk-source-released.html
This is the source code to the OSK, find the formal parameter or implementation for the string input, and jack it up some.

If not, I don't see any other way, except accepting the input and adding the string to another character array, storing it, and then appending more, and more OSK input until you're satisfied with the length. Next, nulling the last bit, then passing it off to the other program meant to make the monochrome.
Back to top
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Mon Jan 25, 2010 8:08 pm    Post subject: Reply with quote

Well thanks for the tip,
I didn't think of that.
I ended up bypassing it for longer messages.
The program first looks for a text file to use,
and opens the OSK if the text file isn't present.
_________________
If not actually, then potentially.
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