Ultimate Amiga
Network Boards => AMOS Language Discussion => AMOS Factory => AMOS Forum => Topic started by: robertframpton on July 25, 2006, 07:13:31 AM
-
Once I have compiled my program onto a self booting disk the following message is displayed in an AmigaDos window after loading before the program begins;
xec.library
"The name of my program" failed return code 20
1>
Does anyone know how to rectify this error ?
-
That xec.library probably should be Exec.library but why it would fail to load is beyond me since Exec.library is in the Kickstart ROM. What libraries do you have on your disk?
-
it could be something as simple as the executeable flag not being set.... try "protect <my program> +rwed"
-
compiled amos proggies can be a bit odd on self-booting disks.
try adding diskfont.library to disk:libs/ - although i think it claims to be out of memory when this is the case ???
-
Sorry for reviving such an old thread, but maybe this can be helpful to someone.
Myself and a friend stumbled upon this problem the other day when we made a floppy to try how a game we're working on would run on a clean A500 (it didn't run very well btw :( ) - running SnoopDOS showed us that the game was trying to open mathtrans.library - because we had used the Sin-function to calculate a sin-table.
We solved this by calculating the Sin table and saving it to disk, and removing the sin-function from the game.
-
cant beleive i've just stumbled on this bug myself!
Good old google bought me right back home!
For the record, i needed mathtrans.library although i have no idea what for.