LOAD = LOAD & RUN - (nf) [message #58871] |
Wed, 08 May 2013 17:27 |
miller
Messages: 92 Registered: March 2013
Karma: 0
|
Member |
|
|
Message-ID: <5793@uiucdcs.UUCP>
Date: Wed, 22-Feb-84 03:28:07 EST
Article-I.D.: uiucdcs.5793
Posted: Wed Feb 22 03:28:07 1984
Date-Received: Fri, 24-Feb-84 00:29:03 EST
Lines: 11
#N:uiucdcs:36100049:000:278
uiucdcs!miller Feb 22 00:23:00 1984
OK, here's one for all of you c64 FROGGER fans out there:
Ever notice how LOAD"FROGGER",8,1 not only loads the program, but starts it
executing too? That's a neat trick and I'd like to know how they force execu-
tion. Anyone out there know?
A. Ray Miller
Univ Illinois
|
|
|
Re: LOAD = LOAD & RUN - (nf) [message #58875 is a reply to message #58871] |
Wed, 08 May 2013 17:27 |
mcewan
Messages: 51 Registered: May 2013
Karma: 0
|
Member |
|
|
Message-ID: <5800@uiucdcs.UUCP>
Date: Wed, 22-Feb-84 22:27:00 EST
Article-I.D.: uiucdcs.5800
Posted: Wed Feb 22 22:27:00 1984
Date-Received: Fri, 24-Feb-84 01:20:07 EST
Lines: 9
#R:uiucdcs:36100049:uiucdcs:36100051:000:212
uiucdcs!mcewan Feb 22 13:34:00 1984
Many diskbased programs do this. I understand it works by making
the load address on the stack - thus when the load is completed,
the return jumps to the program just loaded.
Scott McEwan
uiucdcs!mcewan
|
|
|
Re: LOAD = LOAD & RUN - (nf) [message #58878 is a reply to message #58871] |
Wed, 08 May 2013 17:27 |
ejk47
Messages: 12 Registered: May 2013
Karma: 0
|
Junior Member |
|
|
Message-ID: <559@ihuxn.UUCP>
Date: Thu, 23-Feb-84 11:23:32 EST
Article-I.D.: ihuxn.559
Posted: Thu Feb 23 11:23:32 1984
Date-Received: Fri, 24-Feb-84 02:12:18 EST
References: <5800@uiucdcs.UUCP>
Organization: AT&T Bell Labs, Naperville, IL
Lines: 7
Many games use a BASIC program to load the ASM code. The
SYS command is stuck on the end to jmp to the ASM code that
was loaded. If the game is pure ASM then I suspect the last
line is a CALL to the start of the game.
Ed (VIC-20) Kufeldt
:~}
|
|
|
Re: LOAD = LOAD & RUN - (nf) [message #58880 is a reply to message #58871] |
Wed, 08 May 2013 17:27 |
pjm
Messages: 25 Registered: May 2013
Karma: 0
|
Junior Member |
|
|
Message-ID: <436@spuxll.UUCP>
Date: Thu, 23-Feb-84 15:30:21 EST
Article-I.D.: spuxll.436
Posted: Thu Feb 23 15:30:21 1984
Date-Received: Fri, 24-Feb-84 02:27:46 EST
References: <5800@uiucdcs.UUCP>
Organization: AT&T Information Systems, South Plainfield NJ
Lines: 14
Another way to get a program to load and run on your c64 is to
load on top of the start of basic vector. Then instead of
starting up basic after a load it starts up whats at the the
address you supplied. Sure is nice when they put all kinds
of neat stuff in ram.
Paul Maioriello
spuxll!pjm
|
|
|
Re: LOAD = LOAD & RUN - (nf) [message #60321 is a reply to message #58871] |
Thu, 09 May 2013 16:57 |
blk
Messages: 36 Registered: February 2013
Karma: 0
|
Member |
|
|
Message-ID: <357@sytek.UUCP>
Date: Fri, 24-Feb-84 17:36:16 EST
Article-I.D.: sytek.357
Posted: Fri Feb 24 17:36:16 1984
Date-Received: Fri, 2-Mar-84 12:07:20 EST
References: uiucdcs.5793
Lines: 11
I'm not sure how frogger starts itself, but a trick I have used is
to load a SYS command directly into the 10 char keyboard buffer.
Another technique apparently used on some other load and run's is to
load a longer basic statement into screen memory and just stick a
return into to keyboard buffer.
Remember, loading "*",8,1 loads stuff wherever the disk says to. No argument.
B>
|
|
|