Ultimate Amiga
Network Boards => AMOS Language Discussion => AMOS Factory => AMOS Professional Forum => Topic started by: xboxisfinished on February 08, 2016, 10:27:13 PM
-
There is a problem with the compiler. When I click compile to compile my game it reaches like 20% to 25% and stops there. I have to reboot the Amiga but it does not continue after that in compilation. I do not know what to do here. Any help will be greatly appreciate it.
Thanks in advance.
-
The compiler has known bugs. They have been cataloged on AmigaCoding.com and elsewhere.
-
total stops without reason are rare though.
Are you using a lot of ELSE IF statements? There are a few things you can look into and change that should make it work OK.
-
Also, watch out for any recursive code. The compiler seems to go into an infinite loop as it digs down through each level without realising it's the same code! Until it runs out of stack or memory or both :o .
Any AMOS code that's likely to produce branches of more than 32k will also fail. Multiple ELSE IF statements are the usual cause, but large loops will also give problems. Haven't looked too closely at the compiler yet...
-
Also, watch out for any recursive code. The compiler seems to go into an infinite loop as it digs down through each level without realising it's the same code! Until it runs out of stack or memory or both :o .
Any AMOS code that's likely to produce branches of more than 32k will also fail. Multiple ELSE IF statements are the usual cause, but large loops will also give problems. Haven't looked too closely at the compiler yet...
Alright...that is...porting game to AmiBlitz