Topic: C64 "RUN" address  (Read 2842 times)

Author Message

0 Members and 1 Guest are viewing this topic.

Offline Phu

  • RCM Workshop
  • Committee
  • Amiga 4000
  • *
  • Posts: 2084
  • Kudos 41
  • Gender: Female
  • Pay no attention to that PCB....
    • View Profile
    • ZX Spectrum Laptop Project
C64 "RUN" address
« on: December 15, 2010, 11:02:24 AM »
This knowledge must exist somewhere!

A lot of the uh... "backup" games I have don't autorun when the PRG is loaded off the disk. C64 BASIC also seems to ignore commands after the LOAD, so the following won't work:

LOAD"GAME",8,1:RUN

So I'm looking at a short machine code routine to call the LOAD and RUN routines directly. I've found code to call the LOAD routine, but I can't find the address of the "RUN" command.

Anyone got any remnants of C64 knowledge?

-- Richard
8 End of File, RCM:1

Offline muguk

  • Sarcastic Git plc!
  • Administrator
  • Amiga 4000
  • ******
  • Posts: 3523
  • Kudos 34
  • Gender: Male
  • Mug U.K(tm)
    • View Profile
    • Mike's Word Toolbox
Re: C64 "RUN" address
« Reply #1 on: December 15, 2010, 12:32:00 PM »
I've got lazy and I just switch on the fastload option on whatever cartridge I've got plugged in at the time.  MMC Replay's one is F3 to get a $ then F5 to load/run it.

Offline Phu

  • RCM Workshop
  • Committee
  • Amiga 4000
  • *
  • Posts: 2084
  • Kudos 41
  • Gender: Female
  • Pay no attention to that PCB....
    • View Profile
    • ZX Spectrum Laptop Project
Re: C64 "RUN" address
« Reply #2 on: December 15, 2010, 06:14:48 PM »
Got it... with a little poking around the BASIC ROM disassembly...

SYS 58862:LOAD"GAME",8,1

-- Richard
8 End of File, RCM:1