• vice direct .prg load

    From Simon Becherer@21:1/5 to All on Fri Nov 5 07:54:16 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anssi Saari@21:1/5 to Simon Becherer on Fri Nov 5 11:20:47 2021
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Kohlbach@21:1/5 to Simon Becherer on Fri Nov 5 13:57:25 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Becherer@21:1/5 to All on Mon Nov 8 19:24:33 2021
    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/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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Kohlbach@21:1/5 to Simon Becherer on Mon Nov 8 19:57:36 2021
    On Mon, 8 Nov 2021 19:24:33 +0100, Simon Becherer wrote:

    Am 05.11.21 um 18:57 schrieb Andreas Kohlbach:

    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)

    Got your mails, but might take a few days to reply.
    --
    Andreas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)