...".erl" is something like ".dll"/".so". "Pixel" knows much more about it (refer ps2dev site). I won't be available for some time (got ill)...
Printable View
...".erl" is something like ".dll"/".so". "Pixel" knows much more about it (refer ps2dev site). I won't be available for some time (got ill)...
Hi,
@EEUG, where the text SMS Version 1.4 (rev.8) is draw, cause i didn't find it.
Thanks ;)
Bix
...it's present only in my "official" version (refer README for explanations) :). I have my "private" GUI_Stub.c where it all happens (including blue balls)...
Ho, i saw "Mister" have his "private" code. :cool: (Joke;) )
Bye
Bix
I'm working on building a VGA cable to ps2 and it's near perfect now ( http://www.psx-scene.com/forums/showthread.php?t=24593 ) .
Just wondered if it would be possible to start SMS in VGA mode (same as ps2 linux) or 480p mode (Progressive Scan), just like NTSC or PAL is done. Both VGA or 480p ar compatible with the cable. Is this level of control available for homebrew authors?
From http://www.oopo.net/consoledev/files...ublebuffer.txt :
This kind of text is too mutch technical for me, even to make a "Hello world, from VGA!", but maybe easy for others?Code:typedef struct {
int width, height, fbp, zbp, tbp, mode, interlace, fbw; u64 display;
} GS_MODE;
GS_MODE gs_mode[4] = {
{ 640, 448, 70, 140, 210, 0x02, 0x01, 10, 0x001DF9FF01832278 }, // NTSC
{ 640, 512, 80, 160, 240, 0x03, 0x01, 10, 0x0023F9FF0184828C }, // PAL
{ 720, 480, 90, 180, 270, 0x50, 0x00, 12, 0x001DF59F008230E8 }, // HDTV 480p
{ 640, 480, 80, 160, 240, 0x1A, 0x00, 10, 0x001DF4FF00822114 }, // VGA 640x480
};
I would be happy to test any test elf/sms version with my cable, as just a few people have one of this cables.
What is the diference between the PS2SDK you provide here and the windows installer on the PS2Dev site?
the PS2Dev site version gave me some error about not finding some include files when i type make in SMS folder.
i was downloading this version of PS2Dev, and it gets to exactly 30 megs downloaded then dies... trying again now.
Edit: i think the site hosting it went down for a minute... second attempt worked fine. got SMS, and compiled it... now to work through the tutorials and get to know some of this stuff better.
I noticed i can use the ls command with this version... very handy, cause i always type it instead of 'dir'... derr...
@paulodeleo: I have official Sony's VGA cable and Sync-on-Green monitor, so I think it's possible to run SMS in VGA mode (all code is there, it just wasn't tested at all). The problem is that I'm too lazy to fiddle with monitors etc. Maybe I'll try it one day...
OK EEUG, nice to see that you have the right station to test this kind of thing!
Hi have posted the same request at uLaunchelf forum. Maybe if the launcher enables VGA mode, then all elfs that are loaded later would be already at that mode...
@paulodeleo: no, it must be set in SMS :). It just needs to be tested. i.e. I must must take the monitor from one PC, bring it to the other room, connect it to the PS2 (finding the place to put that monitor and free power supply socket (all are busy at the moment), then all that cabling stuff (Sony provides just short (~20cm) one). It will happen one day, just be patient ;);
@JuddMan: I don't know the difference at the moment. By using the version I've shared we can be sure that we use same environment, so we narrow the search area for possible bugs/errors. But for v1.5 a new one must be used in the future (so, I'll probably share it in the same way (though I have plans to take ps2sdk stuff used by SMS and make SMS independent of ps2sdk (this will reduce .elf size also))...
i've found a small bug in the saving of the config file where the active partition may not be active any longer. if you open a partition, then navigate back to the global HDD partitions list, then saving the config file will cause the 'active partition' to be the last one used. this means that you can never start off in the global HDD partition list without either deleting the config file, or renaming/deleting the remembered partition so it doesn't exist anymore, because there will always be an 'active partition' regardless of where you are in the browser...
i've been looking at the code... pretty new at this... and noticed the line
strncpy ( g_Config.m_Partition, s_MenuCtx.m_pBrowserCtx -> m_pActivePartition, 255 );
i believe this is where the 'active partition' is saved to the config file... it seems when the browser exits the active partition the value of m_pActivePartition is not reset... i've tried various ways to reset it, mainly putting things like
s_BrowserCtx.m_pActivePartition = "\0";
in locations where i think that the browser is exiting or not in an active partition... but really, i'm just guessing stuff and not getting anywhere with it...
any hints? like... what function is called to display the global partition list...?
edit: from a fresh config, if you have never opened a partition, you can edit the settings and save them just fine and no partition will be opened on starting SMS... but if you ever open a partition THEN save the config, you always have to start in a partition.