BBS:      TELESC.NET.BR
Assunto:  Re: list running prog c64 basic v2
De:       Grant Weasner
Data:     Sun, 8 Mar 2026 22:57:56 -0700
-----------------------------------------------------------
  Re: Re: list running prog c64 basic v2
  By: Tilmann Hentze to All on Tue Feb 10 2026 21:00:02

 > This works silmilarily as your program for me: The programm lists itself and
 >  then stops. I wonder why.
 > I tested this with vice and yapesdl.

I didn't put a goto on the version I uploaded but if I had the goto in the correct spot, it would continously list loaded program if ran.

in the original:
30 if nx=0 then end

was replaced with:
30 if nx=0 then goto 10

It would list over and over again. Well if it did't crash a few times. :|


The use of this is just for fun, or whatever. But if you've ever tried something like.

10 print "hi"
20 list
30 goto 10

You will notice "20 list" will cause your program to "break/runstop", instead of listing the program itself over and over.

That is why I wrote the code to list out the program loaded in memory and the demo of it was listing itself.

I should have added in the goto after it finished listing the code to help illustrate it.
--- SBBSecho 3.20-Linux
 * Origin: Lunar Outpost - lunarout.synchro.net (1:138/397)

-----------------------------------------------------------
[Voltar]