English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. AMOS

 
 
Thread Tools
Old 06 October 2019, 22:09   #1
Dan
Registered User
Dan's Avatar
 
Join Date: Nov 2004
Location: Germany
Posts: 443
Repairing Amos (Pro) Source files with Disc Error

Hi,

Recently i found an Amos sourcecode, which could not be loaded.
Amos Pro simply showed "Disc Error" as the reason for the loading failure.

Usually this happens when one of the Amos Bank have wrong length. (well this is my guess).


The Sourcecode can be made working again with an hex editor. (I'm using HxD on windows here)

What you want to do, is to load the file into the hex editor, and to search for AmBs string.

I guess this is the marker for the end of the Sourcecode part, and start of the Data banks.



On this screenshot i have marked the AMBS and the 2 bytes.

These you want to keep, and the rest (after it - to the end) of it you should cut off. (on a backup copy)

Then Change the Last byte, on the screenshot it has a value of 02, to 00

and your file should be loadable again.

If you do this on the original file, then the data, which was in the banks may be lost. Because the data banks are in the part, which is cutted off.

It may be possible to save the single data banks, but i haven't tried this yet.

Theoretically to save the banks, you should Copy the content from AmSP to the start of the next bank (into a new window). And to repeat the process until all banks are saved.

Good luck !
Attached Thumbnails
Click image for larger version

Name:	Amos-hex.png
Views:	75
Size:	3.6 KB
ID:	64660  

Last edited by Dan; 06 October 2019 at 22:36.
Dan is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amos Pro Sources pjhutch Retrogaming General Discussion 1 05 January 2015 18:55
Help with AMOS Pro Ronnie_ASA support.Apps 5 20 March 2014 20:05
How to use AMOS 3D with AMOS PRO? viddi Coders. AMOS 6 26 October 2012 00:11
Amos PRO source code availability ? freddix request.Other 7 09 April 2010 22:22
Breaker Pro Disc for sale Smiley MarketPlace 0 29 September 2008 00:31

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.05540 seconds with 15 queries