[net.micro.cbm] Quitting a game on C64

misha@daisy.UUCP (Mike Umansky) (03/04/86)

Hi.

My cousing has recently bought a Commodore 64 system with disk.
He loads a game from a disk and starts running it.
Now, when he wants to stop the games and/or load another one or
do something in basic, he has to turn the machine on and off.
IS there a keyboard key sequence that he can use to return him
to on board basic from a running program???
Any pointers are greately appreciated!!
Thank you.
-- 
--
		NAME:	Michael Umansky (misha)
		E-MAIL: ucbvax!hplabs!nsc!daisy!misha
		WORK:
			Daisy Systems Corp.
			700B Middlefield Road
			Mountain View, CA  94039-7006
			(415) 960-7166 (work)
		HOME:
			94 Cassia Ct.
			Hayward, CA  94544
			(415) 886-4805 (home)

bub@rlgvax.UUCP ( Mongo Mauler) (03/04/86)

> Hi.
> 
> My cousing has recently bought a Commodore 64 system with disk.
> He loads a game from a disk and starts running it.
> Now, when he wants to stop the games and/or load another one or
> do something in basic, he has to turn the machine on and off.
> IS there a keyboard key sequence that he can use to return him
> to on board basic from a running program???
> Any pointers are greately appreciated!!
> Thank you.
> -- 
> --
> 		NAME:	Michael Umansky (misha)
> 		E-MAIL: ucbvax!hplabs!nsc!daisy!misha
> 		WORK:
> 			Daisy Systems Corp.
> 			700B Middlefield Road
> 			Mountain View, CA  94039-7006
> 			(415) 960-7166 (work)
> 		HOME:
> 			94 Cassia Ct.
> 			Hayward, CA  94544
> 			(415) 886-4805 (home)

You can try pressing the RUN/STOP key, then while holding it down
smartly tap the RESTORE key.  If this doesn't reset the machine, and
the game has no facility to exit to BASIC, turning the machine off is
your only recourse.  The power switch is the C64 'reset/reboot' switch!

eric@amiga.UUCP (Eric Cotton) (03/05/86)

/************************** munch, munch, munch *****************************/

In article <940@rlgvax.UUCP>, bub@rlgvax.UUCP ( Mongo Mauler) writes:
> > Hi.
> > 
> > My cousing has recently bought a Commodore 64 system with disk.
> > He loads a game from a disk and starts running it.
> > Now, when he wants to stop the games and/or load another one or
> > do something in basic, he has to turn the machine on and off.
> > IS there a keyboard key sequence that he can use to return him
> > to on board basic from a running program???
> > Any pointers are greately appreciated!!
> > Thank you.
> > -- 
> > --
> > 		NAME:	Michael Umansky (misha)
> > 		E-MAIL: ucbvax!hplabs!nsc!daisy!misha
> > 		WORK:
> > 			Daisy Systems Corp.
> > 			700B Middlefield Road
> > 			Mountain View, CA  94039-7006
> > 			(415) 960-7166 (work)
> > 		HOME:
> > 			94 Cassia Ct.
> > 			Hayward, CA  94544
> > 			(415) 886-4805 (home)
> 
> You can try pressing the RUN/STOP key, then while holding it down
> smartly tap the RESTORE key.  If this doesn't reset the machine, and
> the game has no facility to exit to BASIC, turning the machine off is
> your only recourse.  The power switch is the C64 'reset/reboot' switch!

When I developed games here at Commodore for the C64 one trick we used to
reset the machine was to ground the reset line on the user port.  We installed
two wires onto the user port (either by soldering directly on it or,
preferably, soldering onto the corresponding positions on a slip-on edge
connector), the first wire to reset (line 3) and the second to ground
(line 1).  [Refer to page 397 (appendix i) in the C64 programmer's ref. Guide.
for pin-outs.] The other ends of the two wires should be connected to a
switch (the type that completes the circuit only when depressed, breaks the
circuit when let go.

This method completely resets the computer, as if turned of and then on again.
There is a difference, however.  Nearly all program instructions are still
intact.  While developing games written in assembly, if the game would hang,
we could reset with this switch and then either try running (SYSing) it again,
or examine memory locations or program segments - great for debugging.  As
for BASIC, when the C64 is reset in this fashion many BASIC memory locations
are trashed (by power-up initialization).  So while most of the BASIC program
might be intact, ponters and the first bit of the program would be changed.

Hope this helps.  If you have problems with this or I didn't explain well
please let me know.

	Eric Cotton
	Sr. Software Eng.
	Commodore

"My hovercraft is full of eels." - M. Python

doug@terak.UUCP (03/07/86)

> My cousing has recently bought a Commodore 64 system with disk.
> He loads a game from a disk and starts running it.
> IS there a keyboard key sequence that he can use to return him
> to on board basic from a running program???

A three-part answer:

I)   The standard sequence for restarting the 64 is to hold the
     RUN/STOP key down and thump the RESTORE key (do not just press
     the RESTORE key, it needs a hard thump).

II)  Most commercial software purposely disables the RESTORE key, to
     force you to turn the computer off before running another program.
     Because when you turn the computer off, that erases the program
     from the computer's memory, making it more difficult for you to
     "pirate" the program.

III) If you're handy with a soldering iron, it's easy to rig up a
     RESET switch, which will perform a "power-up reset" without
     actually turning the power off.  And a few companies sell RESET
     switches for the 64.  If you do much BASIC programming, you might
     find such a switch a lifesaver anyway.
-- 
Doug Pardee -- CalComp -- {hardy,savax,seismo,decvax,ihnp4}!terak!doug