YES !
AT LAST after some 16 hours of seraching and manual tracing and debugging!!!
I found the cause of the annoying bug !!
Earlier I used to scale the terrain as follows.
Code:set terrain scale 1, 6, 0.8, 6 ` set the scale
When joystick is connected this line executes normally!?
If I disconnect joystick the program hangs when executing this line a bit further in the code, which makes a treecollision object of the terrain.
Code:col = NDB_NewtonCreateTreeCollision(1,1)
Result: A Total hang without crashmessage...
THE SOLUTION :
*Fanfare*
I suspected that the erraneous behaviour was derived from the advanced terrain code. So I started to change some values here:
Rescaled it:
Code:set terrain scale 1, 4, 0.8, 4 ` set the scale
Voila, it works with and without joystick now...
Life is hard...