Path: chuka.playstation.co.uk!news From: "Andrault" Newsgroups: scee.yaroze.programming.2d_graphics Subject: GsGetTimInfo PB Date: Tue, 9 Mar 1999 15:54:20 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 356 Message-ID: <7c3cgl$l2g16@chuka.playstation.co.uk> NNTP-Posting-Host: ipdyna2043.evc.net X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Hello, I am a new member and I have just started to try to load a backgroundimage with LoadImage. In order not to make so much mistakes I have read and learn the sony tutors on scee site. When I use tutor6 of chapter 2 it works very well. But in my own code it didn't work, even if I copy/past many parts of the tutor??? The error occur when the program trie to read the TimInfo, these is the error message:The PlayStation has generated a Bus Error on Data Load exception at instruction address 0x800229e8. And these is the line: void ReadTIM( u_long *addr ) // skip id and initialize image structure addr ++; printf("getinfo \n"); GsGetTimInfo(addr, &tim); I have attached my code, so If you can help me!!!! I now it must be a pb with C pointer and so on but as I do the same as in the tutor I really didn't know what??? Thanks to all who can help! Laurent begin 666 main.c M+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+PT*+R\@(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" O+PT*+R\@(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" O+PT*+R\@(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" O+PT*+R\@(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" O+PT*+R\@24U!1T4@5DE%5T52(%8Q+# @.2!-87)S(#$Y M.3D)"0D@(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" O+PT* M+R\@(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" O+PT*+R\@0V]P M>7)I9VAT(#$Y.3D@3"P@06YD2!B>2 R-" _/S\_/PT*#0HC9&5F:6YE(%-#4D5%3E]724142 DS M,C -"B-D969I;F4@4T-2145.7TA%24=(5 DR-38-"@T*(V1E9FEN92!424U? M041$4B H,'@X,# Y,# P,"D-"@T*+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O+R\O+R\O+R\-"B\O(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @("\O#0HO+R @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" O+PT*+R\@1VQO8F%L#L@ M(" @(" @(" @(" )+R\@8G5F9F5R(&EN9&5X#0IU7V-H87(@"0EPPT* M"75?;&]N9PE0041S=&%T=7,],#L)"0D)"0D)+R\@<&%D('-T871UPT*#0H)4V5T5FED96]-;V1E*"!P M2!O=71P=70@;VX@ M="YV#0H)1W-$25-014Y6+G-C# P.PD)"0D)"0D)"0D)"2\O M('-E="!B9R!C;&5A" ]($=S M1V5T06-T:79E0G5F9B@I.PD)"0D)"2\O(&=E="!T:&4@8W5R%TI.PD)"0D)+R\@:6YI=&EA;&ES97,@=&AE(&]R9&5R:6YG('1A8FQE#0H- M"B @(" O+R!0%TI.PD)"0D)"2\O('-T87)T(&5X96-U=&EO;B!O9B!T M:&4@9')A=VEN9R!C;VUM86YD(')E9VES=&5R960@:6X@3U0-"@D)#0I]#0H- M"@T*+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+PT*+R\@ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" O+PT*+R\@(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" O+PT*+R\@(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" O+PT*+R\@(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" O+PT*+R\@4D5!1"!424T@26YF;W)M871I;VYS(&EN M(&UA:6X@;65M;W)Y(&%N9"!P=70@:70@:6YT;R!T:&4@9G)A;64@8G5F9F5R M(" @(" @(" O+PT*+R\@(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" O+PT*+R\@(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" O+PT* M+R\@(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" O+PT*+R\@(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" O+PT*+R\@(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" O+PT*+R\O+R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O+R\O M+R\O+R\O+R\O+R\O+R\O+R\O+PT*#0IV;VED(%)E861424TH('5?;&]N9R J M861DR )#0H@"0D)#0H)+R\@#L-"@ER96-T+GD@/2!T M:6TN<'D[#0H)" ]('1I;2YC>#L- M"@D@( ER96-T+GD@/2!T:6TN8WD[#0H)(" )6YC*# I.PD-"B - '"B!](" -"@`` ` end