Sounds like a good enough command to me, although I'd like to see the command number be 0xBABE020C to keep consistent with other numbers. Actually, having loadee and loadiop might be a good idea, too.PKO_LOADBIN_CMD is a command that is sent to the loader
to tell it to copy a file from the host the EE memory. All
the loader should do is read the file from host then go back
to waiting for commands form client. the file can be any file
such as images, meshes or anything 'you' the programmer wants
to upload before executing the main elf.
#define PKO_LOADBIN_CMD 0xbabe0281
typedef struct
{
unsigned int cmd;
unsigned short len;
unsigned int address;
char filename[256];
}PK_LOAD_BIN_REQUEST;
Lion's loadbin command.
Lion's loadbin command.
With the release of Lion's ps2exec client he suggests the addition of a loadbin command to ps2link:
-
- Posts: 564
- Joined: Sat Jan 17, 2004 10:22 am
- Location: Sweden
- Contact:
-
- Posts: 564
- Joined: Sat Jan 17, 2004 10:22 am
- Location: Sweden
- Contact:
I havent tried to dump all of the 32MB so far, biggest I dumped was 1MB from pksh with dumpmem dumpfile 0x1000000 10240000.
and dumping from scratchpad resulted in an interesting reset, interesting questions/insinuations :)
and trying to dump the bios showed a wrong offset point to dump from.
Guess ill have some fixing todo :(
and dumping from scratchpad resulted in an interesting reset, interesting questions/insinuations :)
and trying to dump the bios showed a wrong offset point to dump from.
Guess ill have some fixing todo :(
Kung VU