• Re: Sharing a disk image between CiderPress and AppleWin

    From fadden@21:1/5 to All on Sun Apr 23 22:05:11 2023
    On Sunday, April 23, 2023 at 9:26:01 PM UTC-7, A2CPM wrote:
    There is an option for specifying the location of CiderPress in AppleWin. So, it seems to me that there ought to be a way to use CiderPress to update a disk image without first disconnecting the disk image from AppleWin. So, is it possible to use
    CiderPress on a disk image while that image is still connected to AppleWin? If so, how?

    It's unwise for both programs to have the disk image open for writing at the same time. If they wrote simultaneously, or cached data in memory, the disk image could get corrupted.

    CiderPress opens the image and holds it open, which prevents anything else from messing with it, because Windows won't allow different processes to have the file open read-write simultaneously. AppleWin does the same thing. If CiderPress is unable to
    open the file for writing, it will retry in read-only mode, which is why you can look at an image while AppleWin is running it but can't make changes.

    To make this work properly, AppleWin and CiderPress would need to coordinate access, and purge any cached information before handing the file off.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From A2CPM@21:1/5 to All on Sun Apr 23 21:26:00 2023
    Hi!

    There is an option for specifying the location of CiderPress in AppleWin. So, it seems to me that there ought to be a way to use CiderPress to update a disk image without first disconnecting the disk image from AppleWin. So, is it possible to use
    CiderPress on a disk image while that image is still connected to AppleWin? If so, how?

    Willi

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From I am Rob@21:1/5 to All on Sun Apr 23 21:58:35 2023
    There is an option for specifying the location of CiderPress in AppleWin. So, it seems to me that there ought to be a way to use CiderPress to update a disk image without first disconnecting the disk image from AppleWin. So, is it possible to use
    CiderPress on a disk image while that image is still connected to AppleWin? If so, how?

    You may not need for Applewin to know where CiderPress is. On my Mac, I just mount the disk image in an emulator, and also open the same image in CiderXpress, add files to the image, and when I go back to the emulator and do a CATALOG, the files are
    there.

    Although, I don't know how Windows reacts to a disk image being used by more than one Application. If it creates an error if the disk image file is in use when one application claims it.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From peter.ferrie@gmail.com@21:1/5 to All on Mon Apr 24 10:54:03 2023
    AppleWin locks the image. CiderPress cannot edit it while AppleWin has it open.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From A2CPM@21:1/5 to fadden on Sat Apr 29 06:55:16 2023
    Hi!

    On Monday, April 24, 2023 at 1:05:12 AM UTC-4, fadden wrote:`
    <--- snip --->
    To make this work properly, AppleWin and CiderPress would need to coordinate access, and purge any cached information before handing the file off.

    Out of curiosity I checked the backups of my now deceased Windows XP system to see how long I've been using AppleWin and CiderPress. It's been about 14 years if not longer. My debug process involves updating the source file with Notepad then
    disconnecting the target image file from Applewin before replacing the source file. Then, if I remember to close the image image file in CiderPress I can reconnect the image file to AppleWin. Now that I'm sure I can't avoid the 'disconnect, replace,
    reconnect' cycle I have a suggestion. The debugger in Applewin allows one to disable or enable breakpoints. Having the ability to disable or enable disk images in a similar way sure would be nice.

    Willi

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael AppleWin Debugger Dev@21:1/5 to All on Sun Apr 30 05:33:25 2023
    On Saturday, April 29, 2023 at 6:55:17 AM UTC-7, A2CPM wrote:
    Now that I'm sure I can't avoid the 'disconnect, replace, reconnect' cycle I have a suggestion. The debugger in Applewin allows one to disable or enable breakpoints. Having the ability to disable or enable disk images in a similar way sure would be
    nice.

    How would you like to access that feature? Right-click on the drive 1 or 2 icon and select "Disable disk locking" from the pop-up? Or another way?

    Michael

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael AppleWin Debugger Dev@21:1/5 to All on Sun Apr 30 05:38:29 2023
    On Saturday, April 29, 2023 at 6:55:17 AM UTC-7, A2CPM wrote:
    The debugger in Applewin allows one to disable or enable breakpoints. Having the ability to disable or enable disk images in a similar way sure would be nice.

    This feature request is being tracked in #1219. https://github.com/AppleWin/AppleWin/issues/1219

    Michael

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