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.