Re: Aw: Re: CBM DOS bug?

From: afachat_at_gmx.de
Date: Wed, 06 Aug 2014 15:03:06 +0200
Message-ID: <2177868.XkhxJfZXdG@merlin>
On Wednesday 06 August 2014 02:14:32 you wrote:
> It's VICE.  My tests show that it doesn't flush if it quits while the
> disk image still is "attached".  But, if I detach the image before I
> quit VICE, then it does flush that image.  Then, both the 2031 and 4040
> emulations give me what I want to see!

I am not sure that is the full story yet. I fixed the small test program as you 
suggested, then did:

--------------------------
vicetest> c1541 -format blk,01 d64 blk.d64 -dir
Unit: 0
Formatting in unit 8...
0 "blk             " 01 2a
Empty image
664 blocks free.
vicetest> c1541 -attach blk.d64 -dir
0 "blk             " 01 2a
Empty image
664 blocks free.
vicetest> cp blk.d64 blkx.d64
vicetest> xpet -model 4032 -truedrive -drive8type 4040 -8 blkx.d64 -
autostartprgmode 1 ./blkaf1.prg
.... lots of log output
.... interestingly no "attach" message
Exiting...

vicetest> l
total 360
drwxr-xr-x  2 fachat users   4096 Aug  6 14:55 ./
drwxr-xr-x 17 fachat users   4096 Aug  6 14:48 ../
-rw-r--r--  1 fachat users    718 Aug  6 14:53 blkaf1.lst
-rw-r--r--  1 fachat users    487 Aug  6 14:53 blkaf1.prg
-rw-r--r--  1 fachat users 174848 Aug  6 14:54 blk.d64
-rw-r--r--  1 fachat users 174848 Aug  6 14:55 blkx.d64
vicetest> diff blk.d64 blkx.d64 
vicetest> 
vicetest> c1541 -attach blkx.d64 -dir
0 "blk             " 01 2a
Empty image
664 blocks free.

--------------------------

I exited VICE by detaching drive 8, then again detaching "All" drives, then 
"exit" via the menu.

As you can see I still get the unmodified disk image!

Note that I am using the autostart feature to make these tests run 
automatically (as they are part of a test suite).

Andre





       Message was sent through the cbm-hackers mailing list
Received on 2014-08-06 13:00:44

Archive generated by hypermail 2.2.0.