Main Menu

I/O Error... wtf?

Started by selur, 19 Dec, 2008, 01:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

selur

hi again

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

This is sequence from original code


...
...
_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

Hungry Horace

click "+ Additional Options..." just below the text box when you are posting...
Quote from: KillerGorillabecause winuae is made of code and your amiga is made of stuff


Lonewolf10


Quoteclick "+ 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