home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / cbios / acibs1k.ark / ALSPA.FIX < prev   
Text File  |  1989-09-25  |  2KB  |  41 lines

  1. Date: Monday, 25 September 1989  10:31-MDT
  2. From: sumax!amc-gw!sigma!flash!bill@beaver.cs.washington.edu (William Swan)
  3. To:   INFO-CPM@WSMR-SIMTEL20.ARMY.MIL
  4. Re:   Alspa Computer ACI-1/2 users only - BIOS bug
  5.  
  6. While checking out Dave Goodenough's CP/M UUCP, I uncovered a bug in the
  7. Alspa ACI-1&2 BIOS that apparently goes all the way back to the early
  8. Alspaugh Engineering days (i.e., it's not *my* fault :-).
  9.  
  10. As I have been afflicted with various symptoms of this bug over the years,
  11. usually chalking it up to the particular applications I was running, I
  12. figure it worthwhile to share with other Alspa users on the net (and off,
  13. but I know only one in that category).
  14.  
  15. The symptom, in general, is that an application running from one drive
  16. fails to find all the files on another drive specified by a wildcard. I
  17. have seen this with the above UUCP, with SHAR.COM, and a CP/M make. For
  18. some reason I have not seen this with Alspa's D.COM.
  19.  
  20. The problem is caused by the BIOS density (disk format) routines use of
  21. the 128-byte scratch directory buffer (DIRBF) as a scratch buffer for
  22. reading track 0, sector 1, to determine the disk format encoded therein
  23. at byte 7FH.
  24.  
  25. This causes the directory buffer to be clobbered between search-first and
  26. search-next BDOS calls, and any matching but unfound file entries in the
  27. buffer at that time will not be found.
  28.  
  29. Two fixes are possible. The first is to create a separate 128-byte buffer
  30. for the "density" routines, so that only the BDOS uses DIRBF. The second
  31. is a re-write of the density routines such that it is not necessary to
  32. actually read the data into memory. (The Alspa BIOS is so tight that I
  33. preferred the second.) Rather than list that change here, I will e-mail
  34. the revised BIOS to anybody who requests a copy.
  35.  
  36. (Note: I have done a *lot* of work on the BIOS - it is at rev 3.7 now, up
  37. from the last ACI v3.0, and accomodates P2DOS and ZCPR3 among other things.)
  38.  
  39. --
  40. Bill Swan  entropy.ms.washington.edu!sigma!bill
  41.