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 

ee-as and iop-as

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



Joined: 20 Jan 2004
Posts: 5

PostPosted: Sat Jan 24, 2004 12:25 pm    Post subject: ee-as and iop-as Reply with quote

I'm not entirely sure that this could be considered a bug, but if you call either ee-as or iop-as with a .vsm file as the input file and specify the output file (-o) with the same input file name, it completely overwrites the .vsm file with what appears to be executable code.

Example: ee-as file.vsm -o file.vsm

Yet if you specify a different file name as the output file, it complains about just about every opcode in the program, so I know the executable code it produces can't possibly be correct.

Anyway, just something I noticed.

-----------------------------------------------------------

Edit: my bad. I should've read the title of the forum a bit more closely. This is obviously in the wrong forum. Could some mod move this to the appropriate forum?
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sat Jan 24, 2004 3:08 pm    Post subject: Reply with quote

Neither ee-as or iop-as is going to compile VU code for you. That would be why it complains...

As for it overwriting itself but not complaining? That's just odd. :)
Back to top
View user's profile Send private message Visit poster's website
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sat Jan 24, 2004 3:09 pm    Post subject: Reply with quote

Moved to: EE Development
Back to top
View user's profile Send private message Visit poster's website
blackdroid



Joined: 17 Jan 2004
Posts: 564
Location: Sweden

PostPosted: Sat Jan 24, 2004 4:16 pm    Post subject: Reply with quote

I going to say that this is abit of default behaviour for as.
try as empty.c -o empty.c and you will get a 441 byte big file.
Its the generated elf header. So albeit abit odd behaviour, thats the way it is. dont specify input files as output files :)
_________________
Kung VU
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 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