home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / CPM3 / CPM3.BUG < prev    next >
Text File  |  2000-06-30  |  2KB  |  40 lines

  1.  
  2. Date: 05/18/83
  3. From: Frank Kerzich
  4. To:   All
  5. Re:   CP/M 3.0 bug
  6.  
  7. There is a nasty bug in CP/M 3.0 for non-banked systems.  It seems
  8. that 'SET.COM' uses the field 'BUFAD' in the BCB for the buffer instead
  9. of the address contained in 'BUFAD'.  I have called D.R. and they are
  10. working on it.  To check it out use SID or DDT to load SET.COM and display
  11. position 25F1H for 7 bytes and position 2643H for 5 bytes.  they should
  12. read aS follows:
  13.                   25F1H:   LXI B,000AH    ;get bcb offset to BUFAD
  14.                            DAD B
  15.                            SHLD  xxADH    ;save address of BUFAD
  16. At 2643H it should read:
  17.                             LHLD xxADH    ;get saved address of BUFAD
  18.                             MOV  B,H      ;get high order byte
  19.                             MOV  C,L      ;get low order byte
  20.     this code makes the address of 'BUFAD' the actual buffer.
  21.     I am in the process of getting a fix from D.R. now, but they are
  22.     not that co-operative.
  23.                                F. Kerzich
  24.  
  25.  
  26. To:   Frank Kerzick
  27. From: Dave Mabry
  28. Re:   CP/M plus bugs
  29.  
  30. Hi - roger on SET.COM. That bug clobbers any subsequent transfers
  31. >16k to a freshly SET disk (like after SET C: [update=on].)
  32. I know DR is very reluctant about this one. It was discovered about
  33. 8 weeks ago and last thing I heard they flatly denied the bug!
  34.  
  35. CCP.COM also has a bug: at 0AF6 there's a MOV B,M, where execution just
  36. came back from a BDOS call. HL in this case holds an ERROR NUMBER and not
  37. a RAM pointer, so MOV B,M is nonsense. In some systems, when HL=FFFF,
  38. it will hang! (My disk controller uses the last 1k of RAM and accessing
  39. anything other than a valid controller command address hangs the system.)
  40.