Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: I/O Error... wtf?  (Read 2507 times)

0 Members and 2 Guests are viewing this topic.

selur

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 83
I/O Error... wtf?
« 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
« Last Edit: December 20, 2008, 03:47:48 PM by selur »
Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: I/O Error... wtf?
« Reply #1 on: December 19, 2008, 10:51:46 PM »

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

Lonewolf10

  • AMOS Extensions Developer
  • AMOS Dev
  • A2000
  • *****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 618
    • http://www.aliensrcooluk.com
Re: I/O Error... wtf?
« Reply #2 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

Logged
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022