Ultimate Amiga

Network Boards => AMOS Language Discussion => AMOS Factory => AMOS Professional Forum => Topic started by: selur on December 19, 2008, 12:25:44 AM

Title: I/O Error... wtf?
Post by: selur on December 19, 2008, 12:25:44 AM
hi again

I had few days and try to do some stuff in Amos... and stuck.

This is sequence from original code

Code: [Select]
...
...
_LOAD[KAT$+"dane/potwory/szkielet","dane:potwory/szkielet","Dane",1]
...
...
...
Procedure _LOAD[A$,B$,NAPI$,TRYB]
   If Exist(A$)
      Goto ODCZYT
   Else
      A$=B$
      REQUEST[A$,NAPI$]
   End If
   ODCZYT:
   On Error Proc BLAD
   If TRYB=0 : Load A$ : End If
   If TRYB=1 : Load A$,1 : End If    <-------------- HERE
   If TRYB=2 : Load Iff A$ : End If
   If TRYB=3 : Load Iff A$,0 : End If
   If TRYB=4 : Load Iff A$,1 : End If
   If TRYB=5 : Load Iff A$,2 : End If
   If TRYB=6 : Track Load A$,3 : End If
   If TRYB=7 : Load A$,3 : End If
   If TRYB=8 : Load A$,4 : End If
   If TRYB=9 : Load A$,5 : End If
   End Proc

There is a file "szkielet" (11kb). It must be a bank with Bobs (few frames animation of skeleton monster).
But I'cant load it! I always got "I/O Error" message ... file can't be corrupted, also it must be bank data number 1... i've checked read/write process and all works fine... so WTF ?
Are there any differences between structures of banks in original Amos Pro and patched or this Turbo plus extension  ??  ???
Because the source code is very old and probably comes from first Amos Pro ver.
If anyone can load the file and view the bobs let me know (i will upload this file to section).



-----
Well I think i will not upload it now because it's not that easy :) ....
(where is button to upload files ?)

OK I see it thanks...
Here it is
Title: Re: I/O Error... wtf?
Post by: Hungry Horace on December 19, 2008, 10:51:46 PM
click "+ Additional Options..." just below the text box when you are posting...
Title: Re: I/O Error... wtf?
Post by: Lonewolf10 on December 20, 2008, 12:18:19 AM

Quote
click "+ Additional Options..." just below the text box when you are posting...


... or you can go back to a message, click "modify" and then hit the "+ Additional Options..." button. It's usually best to add to new posts though on long (or old) threads, otherwise the files may get missed.


Regards,
Lonewolf10