Multiload programs in VICE

You need an actual VIC.

Moderator: Moderators

Post Reply
User avatar
Jeff-20
Denial Founder
Posts: 5763
Joined: Wed Dec 31, 1969 6:00 pm

Multiload programs in VICE

Post by Jeff-20 »

How can I run a program in VICE with more than one part? I have a few programs which load the graphics with the first program and the game in the second program. However, VICE seems to clear memory completely when the second program is loaded. Is there a setting to keep memory untouched and still drag-n-drop a program?
High Scores, Links, and Jeff's Basic Games page.
User avatar
Mike
Herr VC
Posts: 5134
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Post by Mike »

There's no setting to keep the memory on an autostart, that I know of. The VIC always is hard-resetted beforehand.

However, if you drag-n-drop the first file into the VICE directory, that file - and the surrounding directory! - are mounted in virtual drive emulation, as drive #8. Provided the first file automatically loads in the following part, everything should work anyway.

If the first file doesn't load the next part, then I'd first try to add something like this as last line:

Code: Select all

xxxxx PRINT"{CLR}LOAD"CHR$(34)"PART 2"CHR$(34)","PEEK(186):POKE631,19:POKE632,131:POKE198,2:END
Finally, you should consider putting the two (or more) files on a *.d64 image. They're better kept together this way.

Greetings,

Michael
Post Reply