| Title: | AMIGA NOTES | 
| Notice: | Join us in the *NEW* conference - HYDRA::AMIGA_V2 | 
| Moderator: | HYDRA::MOORE | 
| Created: | Sat Apr 26 1986 | 
| Last Modified: | Wed Feb 05 1992 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 5378 | 
| Total number of notes: | 38326 | 
Does any one have any hints as to why this AMAL routine hangs?   I have 
beat my head against it for some time now.  Its purpose is to move a letter
from a random position on the screen to the correct position of a centered 
word.  It works for the most part but the Amiga will lock up in the Amal
routine intermitantly.  I have had it lock up with my Amiga 2000 in 68000 
or 68020 1MEG chip ram and my A500 68010 .5M chip ram.  I have extended 
the wait command, and tried AMAL FREEZE instead of Amal off, and added 
additional pauses.  
It has hung on the first pass or at times lasted through 8 or so.  On the 
A500 it was running under RAMOS with no other programs running on the 
system.
Amiga 2000 amd Amiga 500 WB 1.3 Amos 1.2
'
REM Place Bob (letter) in random position along top or bottom
Bob X,XSTART,YSTART,X 
REM move Destination x and y position to Amal routine
Amreg(0)=XPOSG : Amreg(1)=YPOSG  
Channel 1 To Bob X
'
M$="Loop: If X>RA then Jump Alpha"
M$=M$+"Echo: If X<RA then Jump Beta "
M$=M$+"Fox:  If Y>RB then Jump Charlie"
M$=M$+"Golf: If Y<RB then Jump Delta"
M$=M$+"Helio: If X<>RA then Jump Loop"
M$=M$+"If Y<>RB then Jump Loop"
M$=M$+"Alpha: Let X=X-1;pause; Jump Echo"
M$=M$+"Beta:  Let X=X+1;Pause; Jump Fox"
M$=M$+"Charlie: Let Y=Y-1;Pause; Jump Golf"
M$=M$+"Delta:   Let Y=Y+1;Pause; Jump Helio"
Amal 1,M$ : Amal On 1 : Wait 230 : Amal Off 
Inc X : TRY=0
If SONG=1 Then Music Off 
SONG=1
Goto LETTER_INPUT
'  
    
    Any hints or suggestions welcome
    Thanks
    Alan
    
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 4941.1 | Ver Amos? | SHARE::DOYLE | Mon Aug 05 1991 07:59 | 4 | |
|     What version of Amos are you running?
    
    								Ed
    
 | |||||
| 4941.2 | Amos Version 1.2 | CX3PT3::WSC017::A_ANDERSON | CSC32::A_Anderson NSU/VAX DTN 592-4170 | Mon Aug 05 1991 08:19 | 0 | 
| 4941.3 | SHARE::DOYLE | Mon Aug 05 1991 09:05 | 7 | ||
|      That's about 2 versions old.. Let me check tonight and see if they
    mention any bug fixes in the updates that might apply.
     Also I'll run your example and see if I can get it to work under V1.3
    
    
    								Ed
    
 | |||||
| 4941.4 | I purchased 1.3 amd the Compiler | CX3PST::WSC017::A_ANDERSON | CSC32::A_Anderson NSU/VAX DTN 592-4170 | Tue Aug 13 1991 09:19 | 12 | 
| I saw the Compiler and 1.3 from Safe Harbour $36.99 so I bought it. It hangs the same way. Looks like I need to find another way to do the Amal Routine. Maybe I will write a quick Demo program to crash the system and send it off with my warrenty card. When the program arrived yesterday there was a note that Amos 3-D was in for $42.88. | |||||
| 4941.5 | About 1/2 price of store bought | CHORTL::DOYLE | Tue Aug 13 1991 14:37 | 7 | |
|      Ouch, thats about half of what I paid....
     Well, Thats what I get for my impatience!
    
    
    
    									Ed
    
 | |||||
| 4941.6 | Problem with Fsel | CX3PT2::WSC017::A_ANDERSON | CSC32::A_Anderson NSU/VAX DTN 592-4170 | Mon Jan 27 1992 08:16 | 16 | 
| I never did resolve the original AMAL problem and now I have developed another. On a compiler Amos program I am using the Fsel statement to bring up the Amos file requester. If I type a typo in the disk name. I get the standard workbench device not found requester. If I click on cancel the amiga crashes. This fails wether I have compiled with or without error handling, and under KS 2.0 and WB2.04 or KS 1.3 and WB 1.3. I have Amos upgraded to 1.32. Using Request Amos or Request WB. A file requester that cannot handle disk name typoes or disk name for volumes that are not mounted are next to useless. Alan Any ideas? | |||||