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


Groups > comp.misc > #20761 > unrolled thread

fixing a bug in Commodore BASIC 2.0

Started byRS Wood <rsw@therandymon.com>
First post2021-04-06 19:44 +0000
Last post2021-04-06 19:44 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.misc


Contents

  fixing a bug in Commodore BASIC 2.0 RS Wood  <rsw@therandymon.com> - 2021-04-06 19:44 +0000

#20761 — fixing a bug in Commodore BASIC 2.0

FromRS Wood <rsw@therandymon.com>
Date2021-04-06 19:44 +0000
Subjectfixing a bug in Commodore BASIC 2.0
Message-ID<s4idnc$b77$1@solani.org>
From the «timely responses are for suckers» department:
Feed: OSnews
Title: Fixing the oldest and nastiest bug in Commodore BASIC
Author: Thom Holwerda
Date: Wed, 31 Mar 2021 19:36:30 -0400
Link: https://www.osnews.com/story/133247/fixing-the-oldest-and-nastiest-bug-in-commodore-basic/


Well, I’ll not tell a long story, how I debug, but come directly to the bug
mentioned in the title. I tracked his existence down to BASIC 2.0 as used in
the VIC-20, C64 and the early PET/CBM series and it seems, that it was never
detected, documented or fixed[1].

It is related to temporary strings, the stack of descriptors for temporary
strings, that has a size of 3, and the so called “garbage collection”, which
in reality doesn’t collect garbage, but does a defragmentation of string
storage.

Fixing an ancient bug like this must be a weirdly satisfying experience.

Links:
[1]: https://c65gs.blogspot.com/2021/03/guest-post-from-bitshifter-fixing.html (link)



-- 
Port 80 is overrated.

[toc] | [standalone]


Back to top | Article view | comp.misc


csiph-web