[cc65] Possible bug with for() while using joystick driver [scanned]

From: Markus Stehr <bastetfurry1ircnet.de>
Date: 2005-04-19 00:32:55
Hi!

Maybee its just my stupidity or a bug.
When i use the standard joystick driver the following for() loop will 
repeat himself until i turn off VICE.

    for(temp=1;temp<5;temp++)
    {
        printf("%d\n",temp);
        spielerdaten[temp].geld = 30000;
        spielerdaten[temp].zigaretten = 15;
        spielerdaten[temp].coladosen = 10;
        spielerdaten[temp].colaflaschen = 6;
        spielerdaten[temp].suessigkeiten = 35;
        spielerdaten[temp].broetchen = 0;
        spielerdaten[temp].schokolade = 4;
        spielerdaten[temp].zeitschriften = 6;
        spielerdaten[temp].zeitungen = 4;
        spielerdaten[temp].fahrkarten = 10;

        spielerdaten[temp].zigzubehoerpreis = 80;
        spielerdaten[temp].coladosenpreis = 50;
        spielerdaten[temp].colaflaschenpreis = 100;
        spielerdaten[temp].suessigkeitenpreis = 15;
        spielerdaten[temp].broetchenpreis = 35;
        spielerdaten[temp].schokoladepreis = 75;
   }

If it helps i will upload the whole programm and the resulting prg.
I am using the win32 precompiled compiler.

So Long, The Werelion!
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Apr 19 00:33:44 2005

This archive was generated by hypermail 2.1.8 : 2005-04-19 00:33:49 CEST