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


Groups > comp.misc > #20761

fixing a bug in Commodore BASIC 2.0

From RS Wood <rsw@therandymon.com>
Newsgroups comp.misc
Subject fixing a bug in Commodore BASIC 2.0
Date 2021-04-06 19:44 +0000
Message-ID <s4idnc$b77$1@solani.org> (permalink)

Show all headers | View raw


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.

Back to comp.misc | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web