[comp.sys.amiga.tech] It was excruciatingly simple...

gilmore@vms.macc.wisc.edu (Neil Gilmore) (07/28/90)

Thanks to all you who wrote me and explained the problem. Everyone seems 
to have known but me. To reiterate, the problem is in Manx's interface 
to AmigaDOS, as the default compilation will use 16 bit ints, and 
AmigaDOS wants 32 bits. Easily changed by casting in various ways or 
using +L and lc32.lib. Of course, once I knew the problem, I was able to 
find the references in the proper manuals, references I don't think I 
could find before, besides a page by page search, as in the Manx manual 
it's not in with the AmigaDOS calls, but in the compiler and linker 
sections. Incidentally, the program (and others) work properly now. I 
hope the next time I have to ask about something it will be a more 
subtle point.

Thanks again.

+-----------------------------------------------------------------------+
| Kitakaze Tatsu Raito	Neil Gilmore     internet:gilmore@macc.wisc.edu | 
| Jararvellir,          MACC, UW-Madison bitnet: gilmore@wiscmac3       |  
| Middle Kingdom        Madison, Wi      DoD #00000064 (no ints here)   |
+-----------------------------------------------------------------------+