Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

vice direct .prg load

14 views
Skip to first unread message

Simon Becherer

unread,
Nov 5, 2021, 2:54:18 AM11/5/21
to
Hi,

is there a way in vice (linux) (x64 / x64-sdk) to load a file if its
on hardrive as .prg ?
on pc64 (dos) it was possible to say: "drive 8 is the directory /asdasd/asdasd"

and/or how to put a fiele from harddrive as .prg inside a virtual disk .d64
without external software?
i know its possible with midnight commander (linux)
and with starcommader (dos/windows) or other tools from third party.

thanks,

simoN

Anssi Saari

unread,
Nov 5, 2021, 5:20:50 AM11/5/21
to
Simon Becherer <si...@becherer.de> writes:

> Hi,
>
> is there a way in vice (linux) (x64 / x64-sdk) to load a file if its
> on hardrive as .prg ?
> on pc64 (dos) it was possible to say: "drive 8 is the directory /asdasd/asdasd"

In settings->host you can select the current directory. In
settings->peripheral devices->drive check box IEC-Device and select Host
File system for IEC device type. So then that drive sees the current
directory configured.

> and/or how to put a fiele from harddrive as .prg inside a virtual disk .d64
> without external software?
> i know its possible with midnight commander (linux)
> and with starcommader (dos/windows) or other tools from third party.

I hope the advice above works for you in Vice. Vice also comes with
c1541 utility which can do this sort of thing like this:

c1541 #8> format test,as d64 test.d64
formatting in unit 8 ...
c1541 #8> dir
0 "test " as 2a
Empty image
664 blocks free
c1541 #8> write hello
writing file `HELLO' as `HELLO' to unit 8
c1541 #8> dir
0 "test " as 2a
1 "hello" prg
663 blocks free.

Andreas Kohlbach

unread,
Nov 5, 2021, 1:57:26 PM11/5/21
to
On Fri, 5 Nov 2021 07:54:16 +0100, Simon Becherer wrote:
>
> is there a way in vice (linux) (x64 / x64-sdk) to load a file if its
> on hardrive as .prg ?
> on pc64 (dos) it was possible to say: "drive 8 is the directory /asdasd/asdasd"

A PRG file might be a cartridge. Loading this into VICE by telling it's a
cartridge/module might do the trick.

Unfortunately VICE does IIRC refuse to load it if given the wrong (or
none) size of the cartridge.

If you don't get it to work, mind to email it to me (Du kannst dann auch
Deutsch reden :-)? I will then try it in VICE and the MAME emulator I
have available.
--
Andreas

Simon Becherer

unread,
Nov 8, 2021, 1:24:34 PM11/8/21
to
Am 05.11.21 um 18:57 schrieb Andreas Kohlbach:
Thanks anssi,
thanks andreas,
for your reply

(andreas i will contact you over your emailadress in german
for another question)

i found it, but different as you describe :

starting from linux bash:

LANGUAGE=en_us x64-gtk

(to get english menu)

now inside the menu:

/settings/drive-settings/drive-#8-device-type/file-system/access

/settings/drive-settings/drive-#8-options/enable-ICE-access

/settings/drive-settings/drive-#8-options/file-system-directory

(the ice-access was the culprit)

regards,

simoN





0 new messages