This is how you can combine a couple of BASIC programs together, appending one
directly onto the top of the other (no lines are replaced).
To join more than 2 programs together, repeat the line that starts with   N=
between LOADing each one, from the lowest program to the highest.
You should do this *immediately after* a Cold start (turn the computer off
and then on again, or SYS 64738 [C-64] or SYS 65341 [C-128]).
----------------------------------------------------------------------------
      COMMODORE 64

LOAD the first program with no secondary address. Then type this line

   N=(PEEK(45)+256*PEEK(46))-2:POKE44,N/256:POKE43,N-256*PEEK(46)

and hit RETURN

LOAD the second program, with no secondary address. Then type this line

   POKE43,1:POKE44,8:CLR

and hit RETURN

And the 2 programs will be combined.
-----------------------------------------------------------------------------
      COMMODORE 128

DLOAD the first program. Then type this line

   N=PEEK(174)+256*PEEK(175)-2:POKE 46,N/256:POKE 45,N-256*PEEK(46)

and hit RETURN

DLOAD the second program. Then type this line

   POKE 45,1:POKE46,28:CLR

and hit RETURN

And the 2 programs will be combined.
-----------------------------------------------------------------------------
Return to Commodore page.

HOME Religion Latin  Mass Denton Prayer  Requests Homeschooling
Stories Art ******* Commodore Miniatures
England Italy Florida Musical Gregorian  Chant LPH  Resource  Center