Skip to main content

All Questions

Tagged with
13 votes
5 answers
3k views

What are the minimum system requirements to run GW-BASIC?

In DOSBox 0.74, I can run GWBASIC.EXE without any problem (DOSBox reports 632 KB of free conventional memory). It is GW-BASIC's version 3.10 dated 01-07-1989 with filesize 72576 bytes. On screen it ...
Sep Roland's user avatar
  • 1,195
13 votes
2 answers
756 views

Why does the FRE() function in CBM BASIC v2 return negative values?

On Commodore machines featuring CBM BASIC v2, the FRE() function to query the amount of memory available to BASIC returns a negative number when the result exceeds 32767 bytes: This quirk does not ...
Psychonaut's user avatar
  • 7,681
22 votes
10 answers
5k views

Why did BASIC programs tend to READ a redundant copy of DATA?

Take for example this BASIC version of ELIZA which starts out (in lines 50–170) by a number of READ loops which copy DATA (lines 1340 and following) into a handful of arrays. Isn't this rather ...
natevw's user avatar
  • 2,947
27 votes
4 answers
5k views

Why was it common to reference memory locations using negative numbers on some BASICs?

If you had an Apple II, it was common in BASIC to reference memory locations above the 32K point by using a negative number. For example, if you wanted to click the speaker you would PEEK/POKE -16336 ...
bjb's user avatar
  • 16.4k
9 votes
4 answers
1k views

Early BASIC memory management

Can anyone verify or correct my memory here? Long ago, I had access to a Commodore PET which I think had 8kB of memory. Also slightly less long ago, I had a Commodore 64 with its "elephatine" 64kB. ...
badjohn's user avatar
  • 2,173