Path: chuka.playstation.co.uk!news From: "Wardster" Newsgroups: scee.yaroze.beginners Subject: Executable file size Date: 9 Sep 1997 10:05:10 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 103 Message-ID: <01bcbd07$efe4c7e0$LocalHost@steve> NNTP-Posting-Host: ld36-235.lon.compuserve.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01BCBD10.51A92FE0" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft Internet News 4.70.1155 This is a multi-part message in MIME format. ------=_NextPart_000_01BCBD10.51A92FE0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi everyone. I have downloaded the example code that Ira Rainey wrote to demonstrate how to manipulate sprites / rotation etc. I downloaded the code and executable to the station and it ran fine (by the way this is the example code which uses the mascots.tim file). I had a look around the code and decided I would experiment with parameterising some of the functions making them more generic, so that I could use them in any future Yaroze project. Using the MAKE utility I compiled the code, and after sorting out some errors with dereferencing pointers incorrectly, I downloaded the new executable to the Yaroze .... the screen on the TV went blank. After messing around with the code for a while, I decided to revert back to the original code, by re-exploding the .zip file. To cut a long story short, I tried a few things with the code, some a simple as declaring a variable as type GsSPRITE (and not doing anything with that variable) and trying to run the executable .... the same problem occurred, a blank screen. Then I noticed two things. Firstly, the executable size for the original provided by Ira was aprox. 7K. My re-compiled version was at least 27K, even though all I had done was re-compile with no changes! Secondly, I noticed that when Ira's exe was downloading to the station that it was downloading in a single block, where as mine was downloaded in, I think, three stages .text, .data and something else, sorry I have forgot! This leaves me in a very frustrating position because I have been using the Yaroze for some weeks now and I feel 'comfortable' with the way that the system should be programmed/manipulated to achieve the right results but I can not test any code because I don't understand what is happening to my exe. This is almost like having two learning cures for me, one for the system and the associated functions and another for how to compile the code and create makefiles! I presume that this is due to some compiler optimisation flag, or that I'm not creating the makefile correctly. If this is the case, can someone please post an example makefile which I could use for future development as everytime I find a makefile it seems to be in a different format. (perhaps when code is posted the author could provide the makefile also? ... pretty please) Anyway, any info regarding the problems outlined above would be really appreciated. See ya. ------=_NextPart_000_01BCBD10.51A92FE0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Hi everyone.

I have downloaded = the example code that Ira Rainey wrote to demonstrate how to manipulate = sprites / rotation etc.

I downloaded the code and executable to = the station and it ran fine (by the way this is the example code which = uses the mascots.tim file). I had a look around the code and decided I = would experiment with parameterising some of the functions making them = more generic, so that I could use them in any future Yaroze = project.

Using the MAKE utility I compiled the code, and after = sorting out some errors with dereferencing pointers incorrectly, I = downloaded the new executable to the Yaroze .... the screen on the TV = went blank.

After messing around with the code for a while, I = decided to revert back to the original code, by re-exploding the .zip = file. To cut a long story short, I tried a few things with the code, = some a simple as declaring a variable as type GsSPRITE (and not doing = anything with that variable) and trying to run the executable .... the = same problem occurred, a blank screen.

Then I noticed two = things.

Firstly, the executable size for the original provided by = Ira was aprox. 7K. My re-compiled version was at least 27K, even though = all I had done was re-compile with no changes!

Secondly, I = noticed that when Ira's exe was downloading to the station that it was = downloading in a single block, where as mine was downloaded in, I think, = three stages .text, .data and something else, sorry I have = forgot!

This leaves me in a very frustrating position because I = have been using the Yaroze for some weeks now and I feel 'comfortable' = with the way that the system should be programmed/manipulated to achieve = the right results but I can not test any code because I don't understand = what is happening to my .exe.

This is almost like having two = learning cures for me, one for the system and the associated functions = and another for how to compile the code and create makefiles!

I = presume that this is due to some compiler optimisation flag, or that I'm = not creating the makefile correctly. If this is the case, can someone = please post an example makefile which I could use for future development = as everytime I find a makefile it seems to be in a different format. = (perhaps when code is posted the author could provide the makefile also? = ... pretty please)

Anyway, any info regarding the problems = outlined above would be really appreciated.

See ya.

------=_NextPart_000_01BCBD10.51A92FE0--