|
Post by metaview on Mar 3, 2008 8:45:52 GMT 1
Don't make modal forms bigger than 156 pixels, it's ugly...
|
|
|
Post by icefire on Mar 3, 2008 21:53:30 GMT 1
I actually agree. I was just testing that layout.. .but i have a new idea (more LJP-ish)
|
|
|
Post by metaview on Mar 3, 2008 22:09:43 GMT 1
And don't forget the free memory display, it's a very important info for many (older) devices...
|
|
|
Post by icefire on Mar 3, 2008 22:46:23 GMT 1
metaview, can you tell me what is wrong in this code? When i click on the folder, it gives the debug messages, then nothing is desplayed, and when i exit it says emul68k.c uninplemented instruction. xuzz.net/ljx.c.excerptEDIT: thanks to tinnus, fixed!
|
|
|
Post by icefire on Mar 3, 2008 22:53:56 GMT 1
And don't forget the free memory display, it's a very important info for many (older) devices... LJX will be have UDMHness built in. I don't see a reason to put in a memory display...
|
|
|
Post by vilmos on Mar 3, 2008 23:26:16 GMT 1
You can still run out of memory even with UDMH. Also it won't have any help for NVFS palms, which is most of them now, and certainly all the new ones.
|
|
|
Post by icefire on Mar 3, 2008 23:32:45 GMT 1
It could have a smart system saying what systems could be played. Vilmos, tinnus, or metaview (or anybody else...), can you tell me what is wrong in this code? When i click on the folder, it gives the debug messages, then nothing is desplayed, and when i exit it says emul68kmain.c uninplemented instruction. xuzz.net/ljx.c.excerpt
|
|
|
Post by tgwaste on Mar 4, 2008 0:15:14 GMT 1
Screenshot of the form rescource. categories ALMOST work (and are stable!) you dont know any C and you managed to do this!!?? Are you using some kind of builder program? I know C fairly well and programming PalmOS crap is still very confusing to me. maybe youre a JeaniOuS!
|
|
|
Post by icefire on Mar 4, 2008 0:16:47 GMT 1
I am using PODS from Access (who bought palmsource). Acutally that was a lie: I read the wikibook on c, but didn't get it (much). But now it is all coming together (sort of) here it is in the crashy state: xuzz.net/ljx.prcBugs: categories crash and don't work (only in NES...why?) prefs do nothing games aren't launched Debug messages pop up alot!
|
|
|
Post by Tinnus on Mar 4, 2008 0:34:04 GMT 1
At least you can make the popup messages pop up! BTW, don't go editing your posts and topic names like you just did with this one at the start, makes things a LOT confusing. You just made half the posts in the front page useless Forums are not chatrooms, they're meant to be information repositories. So you just leave the questions and answers there in case someone ever tries to do the same thing again Then if you want to change the topic, just create a new one
|
|
|
Post by tgwaste on Mar 4, 2008 0:47:54 GMT 1
I am using PODS from Access (who bought palmsource). Acutally that was a lie: I read the wikibook on c, but didn't get it (much). But now it is all coming together (sort of) here it is in the crashy state: xuzz.net/ljx.prcBugs: categories crash and don't work. prefs do nothing games aren't launched Debug messages pop up alot! doesnt run.. says no associated program or something..
|
|
|
Post by samphex on Mar 4, 2008 3:00:49 GMT 1
Screenshot of the form rescource. categories ALMOST work (and are stable!) I think that looks pretty good for a start. One thingto keep in mind though when using that kind of menu. You have to display the console you are using currently. for example if it were on snes it would show the regular except the snes box on top is open. i can photoshop it if u are confused(provide me a place to upload it and I'll do it.)
|
|
|
Post by icefire on Mar 4, 2008 4:49:12 GMT 1
At least you can make the popup messages pop up! BTW, don't go editing your posts and topic names like you just did with this one at the start, makes things a LOT confusing. You just made half the posts in the front page useless Forums are not chatrooms, they're meant to be information repositories. So you just leave the questions and answers there in case someone ever tries to do the same thing again Then if you want to change the topic, just create a new one Fixed! (I remade my posts :-)) Actually it already does that...that is the form rescource, not a screenshot.
|
|
|
Post by metaview on Mar 4, 2008 8:38:20 GMT 1
catDir=dir;//dir is the directory of the system you are in StrCat(catDir, catSelected); StrCat(catDir,"/");
Are you sure you want do this? Learn about pointers in C. How is dir declared? Is there memory associated with it? You set the pointer catDir to the pointer dir, then you alter the content of catDir, means yuo alter the content of dir too. Try to understand how pointers work...
|
|
|
Post by vilmos on Mar 4, 2008 15:38:21 GMT 1
Hey good for you, you got it working. Keep fiddling and you will understand C more and more.
|
|
|
Post by icefire on Mar 4, 2008 16:31:44 GMT 1
catDir=dir;//dir is the directory of the system you are in StrCat(catDir, catSelected); StrCat(catDir,"/"); Are you sure you want do this? Learn about pointers in C. How is dir declared? Is there memory associated with it? You set the pointer catDir to the pointer dir, then you alter the content of catDir, means yuo alter the content of dir too. Try to understand how pointers work... How do you get the VALUE of the pointer to catDir? And it also happens with ext (it gets set to the value of catDir (or dir, i don't know)), evn though i don't toutch it.... on those same lines of code.
|
|
|
Post by vilmos on Mar 4, 2008 18:05:26 GMT 1
*ptrname will give you the value of the ptrname ptrname will give you the address
|
|
|
Post by Tinnus on Mar 4, 2008 22:12:07 GMT 1
That is a pointer to a string so *ptrname will just give you the first char. You want something like
newptr = MemPtrNew(MAX_PATH_SIZE); StrCopy(newptr, oldptr); StrCat(newptr, selCategory); StrCat(newptr, "/");
Make sure to free newptr after it's used as well!
|
|
|
Post by icefire on Mar 4, 2008 22:31:30 GMT 1
ahh, now i see it. Thanks Tinnus, Vilmos, and MetaView! (lol)
Will fix when i get on my dev comp...
|
|
|
Post by icefire on Mar 4, 2008 22:42:05 GMT 1
I am using PODS from Access (who bought palmsource). Acutally that was a lie: I read the wikibook on c, but didn't get it (much). But now it is all coming together (sort of) here it is in the crashy state: xuzz.net/ljx.prcBugs: categories crash and don't work. prefs do nothing games aren't launched Debug messages pop up alot! doesnt run.. says no associated program or something.. What? It works for me... or are you hotsyncing? try card reader EDIT: Thanks so much Tinnus, it now WORKS with NO crashes (i hope...). Is this different from what you did in LJP? My code seems to be fine, and not uber-complicated... or is it and i just don't know...
|
|
|
Post by tgwaste on Mar 5, 2008 21:57:03 GMT 1
doesnt run.. says no associated program or something.. What? It works for me... or are you hotsyncing? try card reader EDIT: Thanks so much Tinnus, it now WORKS with NO crashes (i hope...). Is this different from what you did in LJP? My code seems to be fine, and not uber-complicated... or is it and i just don't know... im simply moving the .prc to the card and trying to execute. is there a specific place you are running it from? palm/programs ?
|
|
|
Post by samphex on Mar 5, 2008 23:33:13 GMT 1
I am using PODS from Access (who bought palmsource). Acutally that was a lie: I read the wikibook on c, but didn't get it (much). But now it is all coming together (sort of) here it is in the crashy state: xuzz.net/ljx.prcBugs: categories crash and don't work (only in NES...why?) prefs do nothing games aren't launched Debug messages pop up alot! is the site down? id like to see how far you have progressed.
|
|
|
Post by icefire on Mar 5, 2008 23:35:51 GMT 1
the file was "LJX.prc" not "ljx.prc" :-) I renamed the file on the server. Be warned: it still doesn't change the ini file, so it is kind of useless
|
|
|
Post by Tinnus on Mar 6, 2008 0:29:25 GMT 1
EDIT: Thanks so much Tinnus, it now WORKS with NO crashes (i hope...). Is this different from what you did in LJP? My code seems to be fine, and not uber-complicated... or is it and i just don't know... The problem with the old implementation wasn't actually connected to that, but rather to all the problems/pointer madness the launcher already had. You can look at the App_Func.c file in the LJP 68k launcher code and see what I mean.
|
|
|
Post by icefire on Mar 6, 2008 0:33:39 GMT 1
Wow. that is madness.
|
|
|
Post by _Em on Mar 6, 2008 0:37:12 GMT 1
Shouldn't it be in working memory?
|
|
|
Post by icefire on Mar 6, 2008 0:58:01 GMT 1
Huh?
|
|
|
Post by Tinnus on Mar 6, 2008 2:56:53 GMT 1
...madness? ...MADNESS? This... is... L-J-P!!!
|
|
|
Post by icefire on Mar 6, 2008 3:14:13 GMT 1
LOL
Then i can't wait for LJX. (or LJ, or LJ?, or LJR, or ???)
|
|
|
Post by samphex on Mar 7, 2008 1:46:34 GMT 1
LOL Then i can't wait for LJX. (or LJ, or LJ?, or LJR, or ???) LJeXtreme Thats the answer to your question. I'm sure of it.
|
|