adtools / amigaos-cross-toolchain

AmigaOS cross compiler for Linux / MacOSX / Windows
184 stars 48 forks source link

Command line tools for kickstart 1.3 #100

Open DarwinNE opened 4 years ago

DarwinNE commented 4 years ago

Hello, I am porting a moderately large text adventure game to Amiga and I would like to target the Amiga 500. I noticed from #52 that by adding to my code the following lines:

int __nocommandline = 1;
int __oslibversion = 34;

I can get code that is compiled. I noticed that my code runs if I only use a combination of simple printf() and gets() commands, but I also noticed that the machine hangs or I get a Guru meditation error if I try to run my game, exit from it and run it again.

If I exit from the shell and I relaunch my program, it works fine.

How can I find documentation of what I can do and what I can't do using the shell on a machine with Kickstarter 1.3?