Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #153

Re: Applesoft syntax

From Deckard <boutillon@free.fr>
Newsgroups comp.sys.apple2.programmer
Subject Re: Applesoft syntax
Date 2012-02-08 13:40 -0800
Organization http://groups.google.com
Message-ID <77a95e81-a4db-4d66-85c2-90e2f3d180b7@do4g2000vbb.googlegroups.com> (permalink)
References <89aca5f9-7923-41cf-9331-e6f7ae9230c6@k10g2000yqk.googlegroups.com> <YqydnULL4rRIUa_SnZ2dnUVZ5g6dnZ2d@giganews.com>

Show all headers | View raw


On 8 fév, 20:28, "Michael J. Mahon" <mjma...@aol.com> wrote:
> I'm curious--why would you want to use something other than
> Applesoft itself to check a program?

The full story:

More than 20 years ago, I wrote a rpg game with a friend.
I've resurrected it and I'm playing the game to take snapshots.

The "conflict" program is written in basic with 2 kind of & routines
(games functions and I/O access with a patched RDOS).
And this program is ... a nightmare (spaghetti code).
With "conflicts", there are a lot of combinations (various monsters
reactions, user's actions, and a lot of other parameters). So it's
hard to test all the cases.

I had a crash last week:
http://boutillon.free.fr/Forum/m2/m2_crash_conflict_p01.png
A ":" was missing in a line 20710:
http://boutillon.free.fr/Forum/m2/m2_crash_conflict_p02.png

And I'd like to know is there are other similar bugs or bad applesoft
syntax sentences which have not been tested.
I don't think I can run every line of code when I'm playing the game.
So I'm looking for a way to have a first check.

If Antoine has a hawk's eye, the program is here (extracted with
CiderPress):
http://boutillon.free.fr/Forum/m2/Conflict.txt
The packed version which is used by the game is here:
http://boutillon.free.fr/Forum/m2/Conflict_packed.txt

And a dsk with both:
http://boutillon.free.fr/Forum/m2/Conflict_dos3_3.dsk

I'm going to test Blurry's disassembler with the 2 "raw" applesoft BAS
files which are here:
http://boutillon.free.fr/Forum/m2/Conflict.BAS
http://boutillon.free.fr/Forum/m2/Conflict_packed.BAS
but as Brendan said, it's a start.
I first have to remove the static hard coded filename (/home/brobert/
Documents/Personal/a2gameserver/lib/data/games/LEMONADE#fc0801) and
look what is done when & is met.
(Thanks Brandan for your java classes.)

JM


Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-05 14:58 -0800
  Re: Applesoft syntax magnusfalkirk <dean.phares@gmail.com> - 2012-02-05 15:52 -0800
    Re: Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-06 16:01 -0800
  Re: Applesoft syntax BLuRry <brendan.robert@gmail.com> - 2012-02-05 22:02 -0800
    Re: Applesoft syntax Joshua Bell <inexorabletash@gmail.com> - 2012-02-06 00:06 -0800
      Re: Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-06 15:41 -0800
        Re: Applesoft syntax Joshua Bell <inexorabletash@gmail.com> - 2012-02-06 21:31 -0800
  Re: Applesoft syntax "Michael J. Mahon" <mjmahon@aol.com> - 2012-02-08 11:28 -0800
    Re: Applesoft syntax Antoine Vignau <antoine.vignau@laposte.net> - 2012-02-08 12:07 -0800
      Re: Applesoft syntax David Schmidt <schmidtd@my-deja.com> - 2012-02-08 15:30 -0500
        Re: Applesoft syntax Jerry <awanderin@yahoo.ca> - 2012-02-08 21:19 -0700
    Re: Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-08 13:40 -0800
  Re: Applesoft syntax "Anton Treuenfels" <teamtempest@yahoo.com> - 2012-02-08 19:43 -0600
    Re: Applesoft syntax BLuRry <brendan.robert@gmail.com> - 2012-02-08 22:49 -0800
      Re: Applesoft syntax "Michael J. Mahon" <mjmahon@aol.com> - 2012-02-09 00:41 -0800
        Re: Applesoft syntax Joshua Bell <inexorabletash@gmail.com> - 2012-02-09 20:56 -0800
          Re: Applesoft syntax Jerry <awanderin@yahoo.ca> - 2012-02-10 01:43 -0700
    Re: Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-09 14:08 -0800
      Re: Applesoft syntax Vladimir Ivanov <vladitx@XXXyahooXXX.com> - 2012-02-10 12:04 +0200
        Re: Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-11 15:16 -0800
          Re: Applesoft syntax Vladimir Ivanov <vladitx@XXXyahooXXX.com> - 2012-02-12 11:57 +0200
      Re: Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-11 14:55 -0800
  Re: Applesoft syntax finksterj <finkjsc@yahoo.com> - 2012-02-11 16:58 -0800
    Re: Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-12 01:02 -0800

csiph-web