• This is an archive of ASSEMblerGames.com from June 07th, 2019, all content should be here (minus threads with none english titles, we'll add later.) you cannot login here as this is a clone and your personal info doesn't exist in this database.

    Brought to you by ObscureGamers.

    0th bit/Everdrive forums aren't fully working due to wrong id's from importer. (fixing just takes time) 0th bit posts will be added. Only major issue is the importer copied html/classes which show so need to find a way to strip/convert. this was caused from converting html rips back to SQL. This archive doesn't contain emails/private messages/ip's as we could only convert what google could see/crawl.

PS2Netbox / PS2USB network adapter

ps2netbox

Spirited Member


I create two products. One called PS2Netbox ,the other ,PS2USB network adapter.
PS2Netbox is designed for ps2 slim ( but can be used with ps2 fat with network adapter).
It use a simple network protocol for high speed communication. It can load and play game at almost like HDD on ps2 fat with network adapter.

PS2USB network adapter , is designed for PS2 Fat . With this adapter you can connect a variety of high-speed USB 2.0 interface storage devices.

Both of them use a custom OPL .
Players format harddisk with Exfat format , drag and drop game ISO to OPL\DVD or OPL\CD folder. No other settings is needed.

With PS2USB , you do not need fmcb or modic ,plug it to ps2 fat and power up , OPL will start with game list.

With PS2Netbox ,you need fmcb or mod-ic to start OPL.

Any suggestion are welcome !
 

Jolek

Spirited Member


Maybe EXT2 file system also might be a good thing to add.
I don't know how other systems (Linux, etc.) deals with exFAT.
Here is a mod by @s0ck3t with this file system:
<a class="externalLink" href="https://sourceforge.net/projects/e2opl/?source=navbar" rel="nofollow" target="_blank">https://sourceforge.net/projects/e2opl/?source=navbar</a> .

Here is also quote from @spiderman at PSX-Scene:
<div class="bbCodeBlock bbCodeQuote">

<blockquote class="quoteContainer">[quote]<a class="externalLink" href="http://psx-scene.com/forums/f98/ps2netbox-157654/#post1216346" rel="nofollow" target="_blank">Could it be used for other ps2 applications? For example, could it be used with SMS?[/quote]

</div>
 

uyjulian

Rising Member


I'm curious if you can share the source code of your modified OPL variants.
The Raspberry Pi 3 Model B may be a good target for the low-overhead simple network protocol, as it also has a ethernet connection, and costs about 30 GBP.

I'm also curious if it's possible to add a coprocessor to the expansion bay bus and replace/emulate most of the tasks of the IOP, but I'll research more on this topic first.
 

Armorant

Spirited Member


It's a great thing you made, I saw it on Aliexpress (if I am correct). Maybe you should try to use SD cards instead USB—HDD? It's much more smaller and cheaper solution. For Slim mostly.
 

ps2netbox

Spirited Member

<div class="bbCodeBlock bbCodeQuote" data-author="Jolek">

<div class="attribution type">Jolek said:

<a class="AttributionLink" href="goto/post?id=959777#post-959777">↑
</div>
<blockquote class="quoteContainer"><div class="quote">Maybe EXT2 file system also might be a good thing to add.
I don't know how other systems (Linux, etc.) deals with exFAT.
Here is a mod by @s0ck3t with this file system:
<a class="externalLink" href="https://sourceforge.net/projects/e2opl/?source=navbar" rel="nofollow" target="_blank">https://sourceforge.net/projects/e2opl/?source=navbar</a>.

Here is also quote from @spiderman at PSX-Scene:[/quote]

</div> Linux support exfat too .
<a class="externalLink" href="http://psx-scene.com/forums/f98/ps2netbox-157654/#post1216346" rel="nofollow" target="_blank">
<div class="bbCodeBlock bbCodeQuote">

<blockquote class="quoteContainer"><div class="quote">could it be used for other ps2 applications? For example, could it be used with SMS?[/quote]

</div> If we have the source code, things get easy . If do not ,it is very hard .
 

ps2netbox

Spirited Member

<div class="bbCodeBlock bbCodeQuote" data-author="uyjulian">

<div class="attribution type">uyjulian said:

<a class="AttributionLink" href="goto/post?id=959795#post-959795">↑
</div>
<blockquote class="quoteContainer"><div class="quote">I'm curious if you can share the source code of your modified OPL variants.
The Raspberry Pi 3 Model B may be a good target for the low-overhead simple network protocol, as it also has a ethernet connection, and costs about 30 GBP.

I'm also curious if it's possible to add a coprocessor to the expansion bay bus and replace/emulate most of the tasks of the IOP, but I'll research more on this topic first.[/quote]

</div> No I will not share the source code ,I need money for my baby.

Using a generic arm cpu sounds good ,but one cannot get speed like ps2netbox.
 

ps2netbox

Spirited Member

<div class="bbCodeBlock bbCodeQuote" data-author="Armorant">

<div class="attribution type">Armorant said:

<a class="AttributionLink" href="goto/post?id=959823#post-959823">↑
</div>
<blockquote class="quoteContainer"><div class="quote">It's a great thing you made, I saw it on Aliexpress (if I am correct). Maybe you should try to use SD cards instead USB—HDD? It's much more smaller and cheaper solution. For Slim mostly.[/quote]

</div> No , It spend me one year , I do not want to change the hardware.
 

sp193

Site Soldier


From the other thread:
<div class="bbCodeBlock bbCodeQuote" data-author="ps2netbox">

<div class="attribution type">ps2netbox said:

<a class="AttributionLink" href="goto/post?id=959832#post-959832">↑
</div>
<blockquote class="quoteContainer"><div class="quote">The emulated hdd is just for BOOT. Hdd requests are translated to internal flash to access MBR.KELF and a simple PS2 Filesystem ( osdmain.elf). USB must be accessed through custom irx .[/quote]

</div> Ah okay, thanks.

<div class="bbCodeBlock bbCodeQuote" data-author="ps2netbox">

<div class="attribution type">ps2netbox said:

<a class="AttributionLink" href="goto/post?id=959832#post-959832">↑
</div>
<blockquote class="quoteContainer"><div class="quote">One can add ps2netbox/ps2usb support to some software in two method .
If source code is public, just recompile to include custom irx.
If no source code ,need crack/patch to include the irx .[/quote]

</div> I am curious: given that we have WinHIIP to install games onto the HDD unit, why did you not implement the ps2usb as a compatible network (ATA) adaptor? Would it not have been an easier way to gain compatibility with all existing homebrew software?

<div class="bbCodeBlock bbCodeQuote" data-author="uyjulian">

<div class="attribution type">uyjulian said:

<a class="AttributionLink" href="goto/post?id=959795#post-959795">↑
</div>
<blockquote class="quoteContainer"><div class="quote">I'm curious if you can share the source code of your modified OPL variants.
The Raspberry Pi 3 Model B may be a good target for the low-overhead simple network protocol, as it also has a ethernet connection, and costs about 30 GBP.[/quote]

</div> But compared to a USB disk, I think that would be more expensive.

Just by looking at the pins that are part of that 110-pin connector, it hints of some unholy control over the PlayStation 2 sub-bus. I'm curious to see if anybody will build a DVD Emulator that works from it.

<div class="bbCodeBlock bbCodeQuote" data-author="uyjulian">

<div class="attribution type">uyjulian said:

<a class="AttributionLink" href="goto/post?id=959795#post-959795">↑
</div>
<blockquote class="quoteContainer"><div class="quote">I'm also curious if it's possible to add a coprocessor to the expansion bay bus and replace/emulate most of the tasks of the IOP, but I'll research more on this topic first.[/quote]

</div> But because the IOP is generally only concerned with I/O, it may not have much of a purpose.
If you mean to provide new high-speed hardware that requires little interaction from the IOP, that would probably fit with the IOP's original design.

This was perhaps something that Sony should have done for the Ethernet interface. Particularly with the lack of CRC-computation by the hardware and scatter-gather DMA (which oddly, the USB channel might have been designed to support!). This caused the only solution for fast networking to be to involve the EE.
 

Jolek

Spirited Member

<div class="bbCodeBlock bbCodeQuote" data-author="ps2netbox">

<div class="attribution type">ps2netbox said:

<a class="AttributionLink" href="goto/post?id=959834#post-959834">↑
</div>
<blockquote class="quoteContainer"><div class="quote">Linux support exfat too .[/quote]

</div> I always thought that Linux have problem with this file system (exFAT & NTFS).

EXT2 contains a mechanism to prevent significant data fragmentation.
Maybe it will also be a good alternative for those who uses OPL through USB,
if somehow it will be added to OPL.

<div class="bbCodeBlock bbCodeQuote" data-author="ps2netbox">

<div class="attribution type">ps2netbox said:

<a class="AttributionLink" href="goto/post?id=959834#post-959834">↑
</div>
<blockquote class="quoteContainer"><div class="quote">If we have the source code, things get easy . If do not ,it is very hard .[/quote]

</div> Source code of SMS can be found here:
<a class="externalLink" href="http://members.casema.nl/eugene_plotnikov/" rel="nofollow" target="_blank">http://members.casema.nl/eugene_plotnikov/ (creator of a SMS Eugene Plotnikov, source can be found at the bottom of the screen),

<a class="externalLink" href="https://bitbucket.org/doctorxyz/sms" rel="nofollow" target="_blank">https://bitbucket.org/doctorxyz/sms</a> , <a class="externalLink" href="https://github.com/doctorxyz/sms" rel="nofollow" target="_blank">https://github.com/doctorxyz/sms</a> (@doctorxyz repos)

[b]<span style="font-size: 18px"><a class="externalLink" href="https://bitbucket.org/belek666/sms" rel="nofollow" target="_blank">https://bitbucket.org/belek666/sms</a> (<a class="username" data-user="105022, @belek666" href="https://assemblergames.com/members/105022/">@belek666</a> repo).[/span][/b]
 

ps2netbox

Spirited Member

<div class="bbCodeBlock bbCodeQuote" data-author="sp193">

<div class="attribution type">sp193 said:

<a class="AttributionLink" href="goto/post?id=959867#post-959867">↑
</div>
<blockquote class="quoteContainer"><div class="quote">I am curious: given that we have WinHIIP to install games onto the HDD unit, why did you not implement the ps2usb as a compatible network (ATA) adaptor? Would it not have been an easier way to gain compatibility with all existing homebrew software?[/quote]

</div> Hackers may think WinHiip is good enough , but to a player , Winhiip is too too complex to use .

<div class="bbCodeBlock bbCodeQuote" data-author="Jolek">

<div class="attribution type">Jolek said:

<a class="AttributionLink" href="goto/post?id=959880#post-959880">↑
</div>
<blockquote class="quoteContainer"><div class="quote">EXT2 contains a mechanism to prevent significant data fragmentation.
Maybe it will also be a good alternative for those who uses OPL through USB,
if somehow it will be added to OPL.[/quote]

</div> There is a project called e2opl <a class="externalLink" href="https://sourceforge.net/projects/e2opl" rel="nofollow" target="_blank"> https://sourceforge.net/projects/<b>e2opl</b>

<div class="bbCodeBlock bbCodeQuote" data-author="Jolek">

<div class="attribution type">Jolek said:

<a class="AttributionLink" href="goto/post?id=959880#post-959880">↑
</div>
<blockquote class="quoteContainer"><div class="quote">Source code of SMS can be found here:
<a class="externalLink" href="http://members.casema.nl/eugene_plotnikov/" rel="nofollow" target="_blank">http://members.casema.nl/eugene_plotnikov/ (creator of a SMS Eugene Plotnikov, source can be found at the bottom of the screen),[/quote]

</div> Thank you ! After I have done with POPStarter ,maybe or may not , I will port SMS to my hardware .After all, I have spent one year on PS2. I need to start a new product.
 

sp193

Site Soldier

<div class="bbCodeBlock bbCodeQuote" data-author="ps2netbox">

<div class="attribution type">ps2netbox said:

<a class="AttributionLink" href="goto/post?id=959887#post-959887">↑
</div>
<blockquote class="quoteContainer"><div class="quote">Hackers may think WinHiip is good enough , but to a player , Winhiip is too too complex to use .[/quote]

</div> It is not super user-friendly, but a better program can be written. Or you could change OPL (since you are modifying it) to not expect APA). But that is not what I wanted to ask.

What I meant to ask is why you would prefer to emulate the HDD, rather than making a compatible adaptor that can allow <span style="text-decoration: underline">existing</span> software to support it. By choosing this route, it means that only software that <i>you</i> modify/build will support your hardware. And your modified builds will <i>only</i> support your hardware, rather than supporting the official hardware (user must download a specific build).

Anyway, your work is amazing. I only ask these questions out of curiosity, nothing more. Thank you for talking about your work.
If your goal is to only support specific software, it is also fine because your end-users will stay satisfied if their needs are met.
 

Jolek

Spirited Member

<div class="bbCodeBlock bbCodeQuote" data-author="ps2netbox">

<div class="attribution type">ps2netbox said:

<a class="AttributionLink" href="goto/post?id=959887#post-959887">↑
</div>
<blockquote class="quoteContainer"><div class="quote">There is a project called e2opl<a class="externalLink" href="https://sourceforge.net/projects/e2opl" rel="nofollow" target="_blank"> https://sourceforge.net/projects/<b>e2opl</b>[/quote]

</div> I know, I've recently tried it:
<a class="externalLink" href="http://psx-scene.com/forums/f150/open-ps2-loader-project-v0-9-3-a-62141/index793.html#post1216377" rel="nofollow" target="_blank">http://psx-scene.com/forums/f150/open-ps2-loader-project-v0-9-3-a-62141/index793.html#post1216377</a> .
Unfortunately latest version is from 27-12-2014, so it's quite old.
That's why I was thinking about adding it to OPL.

Anyway your product (PS2NetBox) seems to be a fantastic alternative to NA.
Thanks, maybe someday I'll have chance to buy\try it.
Regards
 

ps2netbox

Spirited Member

<div class="bbCodeBlock bbCodeQuote" data-author="sp193">

<div class="attribution type">sp193 said:

<a class="AttributionLink" href="goto/post?id=959888#post-959888">↑
</div>
<blockquote class="quoteContainer"><div class="quote">What I meant to ask is why you would prefer to emulate the HDD, rather than making a compatible adaptor that can allow <span style="text-decoration: underline">existing</span> software to support it</div><div class="quoteExpand">Click to expand...</div></blockquote>

</div> 1) Making a compatible adapter is very complex and hard to change.
This is the difference between HARDware and SOFTware.
2) Using official OPL sounds good ,but a custom build give more chance to communicate with user. This is very important to a commercial / home-brew product .
 

smf

mamedev

<div class="bbCodeBlock bbCodeQuote" data-author="sp193">

<div class="attribution type">sp193 said:

<a class="AttributionLink" href="goto/post?id=959867#post-959867">↑
</div>
<blockquote class="quoteContainer"><div class="quote">If you mean to provide new high-speed hardware that requires little interaction from the IOP, that would probably fit with the IOP's original design.

This was perhaps something that Sony should have done for the Ethernet interface. Particularly with the lack of CRC-computation by the hardware and scatter-gather DMA (which oddly, the USB channel might have been designed to support!). This caused the only solution for fast networking to be to involve the EE.[/quote]

</div> I reckon a custom server instead of SMB would allow ethernet to go much faster, especially if you use an exploit to run ppc code in deckard in the later slim ps2 (I might be imagining it, but I believe the ppc runs faster than EE).
 

ps2netbox

Spirited Member

<div class="bbCodeBlock bbCodeQuote" data-author="Jolek">

<div class="attribution type">Jolek said:

<a class="AttributionLink" href="goto/post?id=959893#post-959893">↑
</div>
<blockquote class="quoteContainer"><div class="quote">Anyway your product (PS2NetBox) seems to be a fantastic alternative to NA.
Thanks, maybe someday I'll have chance to buy\try it.
Regards</div><div class="quoteExpand">Click to expand...</div></blockquote>

</div> USB of PS2 is 1.1, maximum read speed is almost 500-600KB/s ,reading speed of ps2netbox is almost 6MB/s( 10 times faster than usb),almost at a speed like harddisk .
 

nonosto

Intrepid Member


So nice
<div class="bbCodeBlock bbCodeQuote">

<blockquote class="quoteContainer"><div class="quote">PS2USB network adapter , is designed for PS2 Fat . With this adapter you can connect a variety of high-speed USB 2.0 interface storage devices.[/quote]

</div> Run with PS3 FAT, for run OPL from USB port (OPL increase the retrocompatibilty....)
 

ps2netbox

Spirited Member


Thanks to <a class="username" data-user="65830, @sp193" href="https://assemblergames.com/members/65830/">@sp193</a> and <a class="username" data-user="105594, @kHn" href="https://assemblergames.com/members/105594/">@kHn</a> ,PS2Netbox/PS2USB support for Popstarter have done!
One can play PS1 game like this :
1) Format disk to ExFat file system.
2) Create Folder OPL , OPL\SYS,OPL\PS1, OPL\SYS\POPS,
3) Copy Popstater.ELF POPS_IOX.PAK to OPL\SYS\POPS.
4) Copy Game.VCD to OPL\PS1
5) Popster's IGR texture : IGR_BG.TM2, IGR_NO.TM2 & IGR_YES.TM2 shoud copy to OPL\SYS\POPS.
6) For PS2USB , insert U-disk , power on ps2, PS1 Game list will be displayed .
For PS2Netbox ,Launch custom OPL (using FMCB or uLaunchElf) ,PS1 Game list will be displayed.

Have fun !
 

sp193

Site Soldier

<div class="bbCodeBlock bbCodeQuote" data-author="ps2netbox">

<div class="attribution type">ps2netbox said:

<a class="AttributionLink" href="goto/post?id=959983#post-959983">↑
</div>
<blockquote class="quoteContainer"><div class="quote">USB of PS2 is 1.1, maximum read speed is almost 500-600KB/s ,reading speed of ps2netbox is almost 6MB/s( 10 times faster than usb),almost at a speed like harddisk .[/quote]

</div> Isn't 6MB/s still very slow? How did you measure the speed?

Maximus32 has done some tests with the Ethernet and HDD interfaces of the PlayStation 2: <a class="externalLink" href="http://psx-scene.com/forums/f19/speed-testing-storage-devices-157395/" rel="nofollow" target="_blank">http://psx-scene.com/forums/f19/speed-testing-storage-devices-157395/ .
<div class="bbCodeBlock bbCodeQuote" data-author="Maximus32">

<div class="attribution type">Maximus32 said:

</div>
<blockquote class="quoteContainer"><div class="quote">I've extended the test to also include an IOP side test. The results are:
USB: <b>574</b>KB/s<br/>
IEEE1394: <b>3986</b>KB/s<br/>
HDD: <b>44501</b>KB/s !!![/quote]

</div> For i.Link/IEEE1394, I got about 50MB/s (likely less, since 400Mbit is 50MBps) if we ignored the byte-swapping problem. 7MB/s when I use the IOP to byte-swap all data.... so this difference may be caused by me making a mistake, or perhaps my enclosure was faster.
The i.Link DMA controller is very intelligent, so nearly nothing has to be done by the IOP (which can explain the ATA-like performance).

He was also doing work for PS2Linux. Since PS2Linux does processing on the EE and low-level SIFCMD can be used to transfer data to/from the IOP, he got even better speeds:
ATA (25-30MB/s): <a class="externalLink" href="http://psx-scene.com/forums/f167/porting-linux-2-6-ps2-67806/index67.html#post1207494" rel="nofollow" target="_blank">http://psx-scene.com/forums/f167/porting-linux-2-6-ps2-67806/index67.html#post1207494</a>
SMAP (6-8MB/s): <a class="externalLink" href="http://psx-scene.com/forums/f167/porting-linux-2-6-ps2-67806/index75.html#post1211680" rel="nofollow" target="_blank">http://psx-scene.com/forums/f167/porting-linux-2-6-ps2-67806/index75.html#post1211680</a>

With NETMAN (the Network Manager), which uses SIFRPC to communicate between EE and IOP, I got about 5MB/s with a custom TCP/IP-based protocol for HDLGameInstaller.

So we're losing performance due to the IOP & SIF. But that is okay.
I am just mentioning the numbers, in case you really only got 6MB/s from the interface on the IOP-side (without the SIF and without higher-level protocols that may worsen performance).
 

ps2netbox

Spirited Member

<div class="bbCodeBlock bbCodeQuote" data-author="sp193">

<div class="attribution type">sp193 said:

<a class="AttributionLink" href="goto/post?id=960165#post-960165">↑
</div>
<blockquote class="quoteContainer"><div class="quote">Isn't 6MB/s still very slow? How did you measure the speed?[/quote]

</div>
<div class="bbCodeBlock bbCodeQuote" data-author="sp193">

<div class="attribution type">sp193 said:

<a class="AttributionLink" href="goto/post?id=960165#post-960165">↑
</div>
<blockquote class="quoteContainer"><div class="quote">I am just mentioning the numbers, in case you really only got 6MB/s from the interface on the IOP-side (without the SIF and without higher-level protocols that may worsen performance).[/quote]

</div> I measured the speed by using logic analyzer to capture data on ide bus when game is loading.
It is about 6MB/s。This is not a serious technical result.
There are many idle gap between data transfer , so I think network transfer speed is not a critical fact .
When playing with PS2Netbox , some user said ,it is fast than harddisk with ps2 fat .
Because I create a game cache so no need to scan game list on every boot .Some user said it is slightly slow than hard disk with ps2 fat.



By the way, If you are still code for OPL ,You may try this idea, In application mode ,
if game.vcd instead of app.elf is detected,just launch popstarter.elf using this run from memory method.
I think this is simple than too too many popstarter.elf .

<div class="bbCodeBlock bbCodeCode">
<div class="type">Code:</div>
<pre>
elfldr.c
int main(int argc, char *argv[])
{
if(argc&gt;0)
{
if( (argv[0][0]=='m')
&amp;&amp; (argv[0][1]=='e')
&amp;&amp; (argv[0][2]=='m')
&amp;&amp; (argv[0][3]==':')
){
// boot from memaddr ;
unsigned n=_strtoui(&amp;(argv[0][4]));
RunLoaderElf(argv[1],(void*)n);
BootError(argv[0]);
}
}
return main_old(argc-1,argv+1);
}
void RunLoaderElf(char *filename,void *pElf)
{
u8 *boot_elf;
elf_header_t *eh;
elf_pheader_t *eph;
void *pdata;
int ret, i;
char *argv[2];


/* NB: LOADER.ELF is embedded */
boot_elf = (u8 *)pElf;
eh = (elf_header_t *)boot_elf;
if (_lw((u32)&amp;eh-&gt;ident) != ELF_MAGIC)
while (1)
;
eph = (elf_pheader_t *)(boot_elf + eh-&gt;phoff);

/* Scan through the ELF's program headers and copy them into RAM, then
zero out any non-loaded regions. */
for (i = 0; i &lt; eh-&gt;phnum; i++) {
if (eph.type != ELF_PT_LOAD)
continue;

pdata = (void *)(boot_elf + eph.offset);
memcpy(eph.vaddr, pdata, eph.filesz);

if (eph.memsz &gt; eph.filesz)
memset(eph.vaddr + eph.filesz, 0,
eph.memsz - eph.filesz);
}

/* Let's go. */
SifInitRpc(0);
SifExitRpc();
FlushCache(0);
FlushCache(2);

argv[0] = filename;
ExecPS2((void *)eh-&gt;entry, 0, 1, argv);
}
Code:
</pre>
</div>
 
Top