Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Commodore » Commodore Emulation » Running .prg files in VICE, running under Mac OS X
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Running .prg files in VICE, running under Mac OS X [message #139618] Wed, 27 July 2005 14:19 Go to next message
Anonymous
Karma:
Originally posted by: jonny_morrisuk

Hi,

I know there have been a couple of answers to running .prg files
already, but I'm afriad I couldn't understand the answers. I have a
folder on my Mac hard drive containing several .prg files, so how can I
run them from within VICE 1.16?

I have looked through the docs and all the webpages and newsgroup
messages I can find on the subject, but I'm none the wiser. :(

Thanks!
Re: Running .prg files in VICE, running under Mac OS X [message #139621 is a reply to message #139618] Wed, 27 July 2005 19:33 Go to previous messageGo to next message
Patryk 'Silver Dream  is currently offline  Patryk 'Silver Dream
Messages: 737
Registered: July 2003
Karma: 0
Senior Member
jonny_morrisuk@yahoo.co.uk wrote:
> Hi,
>
> I know there have been a couple of answers to running .prg files
> already, but I'm afriad I couldn't understand the answers. I have a
> folder on my Mac hard drive containing several .prg files, so how can I
> run them from within VICE 1.16?

The most "compatible" way would be to make a floppy image and put the
files onto it.

The image is easily created like this:

$ c1541 -format mydisk,md d64 mydisk.d64

You put the files on it with another simple line:

$ for file in *.prg ; do c1541 -attach mydisk.d64 -write $file ; done

This assumes that all your PRG files' names end with ".prg" and their
total size does not exceed the capacity of the disk image. If you have
more than would fit on the image then you can split the content across
multiple directories, manually choose the files to write on the image,
use bigger image formats (d71, d81...) or combine all of the above ;-)

>
> I have looked through the docs and all the webpages and newsgroup
> messages I can find on the subject, but I'm none the wiser. :(
>

VICE can also access native filesystem on your harddrive. This method
may have unpleasant side effects if you e.g. have more files in the dir
than would fit in the memory of the 64 when doing LOAD "$",8 ;-) but in
general it also works very well for single-file PRGs.

To enable it you:

1. Disable true drive emulation
2. Set drive #8 model to "none"
3. Enable Virtual devices
4. Set Peripheral settings -> device #8 -> device type -> filesystem access
5. "Change working directory" to your PRG dir
6. Reset

Regards.

SD!
Re: Running .prg files in VICE, running under Mac OS X [message #139678 is a reply to message #139618] Tue, 02 August 2005 10:11 Go to previous message
Leif Bloomquist is currently offline  Leif Bloomquist
Messages: 1065
Registered: January 2012
Karma: 0
Senior Member
<jonny_morrisuk@yahoo.co.uk> wrote in message
news:1122488340.613254.111930@g44g2000cwa.googlegroups.com...

> I know there have been a couple of answers to running .prg files
> already, but I'm afriad I couldn't understand the answers. I have a
> folder on my Mac hard drive containing several .prg files, so how can I
> run them from within VICE 1.16?

Can you drag-n-drop the .prg files into the VICE window? That works in the
win32 version.

-Leif


--
Leif Bloomquist
leif (at) schema factor (dot) com
http://home.ica.net/~leifb/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Vic Blitz for VICE
Next Topic: S-Video
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Apr 25 16:10:58 EDT 2024

Total time taken to generate the page: 0.04242 seconds