Re: Limit to length of REL file?

From: Jim Brain (brain_at_jbrain.com)
Date: 2009-01-25 21:00:31

Ruud@baltissen.org wrote:
> Hallo allemaal,
>
>
> So I went a step further: not needing to store the label in the BAM, I 
> thought I could use the rest of this sector for more BAM info. So I told 
> the drive it had 63 tracks and 24 sectors/track, for EVERY track. A nice 
> 1123 free blocks. Then I started my test program. After a lot of testing I 
> found out I was only able to create a REL file with 720 records (726 
> blocks), each holding 254 bytes. If there were already other files on the 
> drive didn't matter. 
> If I try to create a greater file, my 1541-IDE hangs up. But... my 1541-II 
> does as well: no flashing LED, motor stops running after a few seconds.
>
> Bug? No, but it won't win a beauty contest IMHO.
>   
I think I would call it a bug.  It should return a DOS Error (only 6 
side sectors for REL files, 120 pointers per side sector, so 720 is the 
limit)

Jim


       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.