vice direct .prg load [message #412142] |
Fri, 05 November 2021 02:54 |
Simon Becherer
Messages: 17 Registered: May 2013
Karma: 0
|
Junior Member |
|
|
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
|
|
|
Re: vice direct .prg load [message #412146 is a reply to message #412142] |
Fri, 05 November 2021 05:20 |
Anssi Saari
Messages: 329 Registered: January 2012
Karma: 0
|
Senior Member |
|
|
Simon Becherer <simon@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.
|
|
|
Re: vice direct .prg load [message #412169 is a reply to message #412142] |
Fri, 05 November 2021 13:57 |
Andreas Kohlbach
Messages: 1456 Registered: December 2011
Karma: 0
|
Senior Member |
|
|
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
|
|
|
Re: vice direct .prg load [message #412247 is a reply to message #412169] |
Mon, 08 November 2021 13:24 |
Simon Becherer
Messages: 17 Registered: May 2013
Karma: 0
|
Junior Member |
|
|
Am 05.11.21 um 18:57 schrieb Andreas Kohlbach:
> 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.
>
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/ac cess
/settings/drive-settings/drive-#8-options/enable-ICE-access
/settings/drive-settings/drive-#8-options/file-system-direct ory
(the ice-access was the culprit)
regards,
simoN
|
|
|