b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » Message 572117 (Thread)

# If you're not joking...
.. it's to fit in the lines of code that you missed, amongst other things. Automatic renumbering was never very intelligent.
(, Tue 17 Dec 2002, 19:45, archived)
# As well as not really
existing until the mid 80s in most home versions of BASIC. The cheaper machines didn't have the renumber feature found in the likes of Apple BASIC and CBM BASIC.
(, Tue 17 Dec 2002, 19:49, archived)
# And there was
ALWAYS something you missed, but you always needed 15 lines so it had to be done as a GOSUB - RETURN function....
(, Tue 17 Dec 2002, 19:54, archived)
# Hah! I recognise that beast.
Oh boy. That brings back memories. That's the first machine I ever used - I was 12 when we got one donated to our school.

We have a space invaders program for it that we tried to view the code for, all you got back from the list command was a mysterious 'sys 1039'. Never worked that out. Anyone explain?
(, Tue 17 Dec 2002, 20:01, archived)
# Yup, it
was a machine code program residing at memory location 1039 decimal (40F hex). The sys call runs the program.
(, Tue 17 Dec 2002, 20:05, archived)
# The machine...
.. code (executable code) would be at that location in memory. SYS xxxx executes starting at the instruction at location xxxx in memory (it was often paged so the entry point was 1024, or 2048 etc...).
(, Tue 17 Dec 2002, 20:06, archived)