Re: Commented 1541-II DOS disassembly

From: Rhialto <rhialto_at_falu.nl>
Date: Sun, 26 Aug 2018 18:29:04 +0200
Message-ID: <20180826162904.GA4472@falu.nl>
Wikipedia seems to contradict itself:

On Sat 25 Aug 2018 at 11:09:23 +0100, smf wrote:
> https://en.wikipedia.org/wiki/Commodore_DOS#The_save-with-replace_bug
...
> Affected devices included the single-drive 1541 and dual-drive 4040; the
> 8050 and 8250 did not exhibit the issue.^[1]
...
>  The bug stemmed
> from the fact that the affected DOS implementations were modified versions
> of the DOS contained in earlier Commodore PET dual drives such as the 8050.
> This created a "phantom drive|1:|" on single-drive systems, resulting in the
> allocation of an unnecessary buffer under some conditions. Since the
> Save-with-Replace command used all five drive buffers, and because the
> method by which the "phantom" buffer was allocated did not meet
> specifications, this resulted in scrambled data being written to the disk
> under some conditions.

For the 4040 there would not be a phantom drive 1:, and SAVE@ would also
not use "all five" buffers, since it had 12 buffers. So causing buffer
exhaustion is much more difficult.

I don't remember with certainty if there were alreay rumours about the
bug at the time of the 4040 (as Wikipedia states), but there could have
been. If there indeed was a problem, the explanation would likely be
different than for the 1541.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- Wayland: Those who don't understand X
\X/ rhialto/at/falu.nl      -- are condemned to reinvent it. Poorly.


Received on 2018-08-26 19:00:05

Archive generated by hypermail 2.2.0.