Running .prg files in VICE, running under Mac OS X [message #139618] |
Wed, 27 July 2005 14:19 |
|
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 |
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!
|
|
|
|