home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_01 / QUILL101.LZH / NV_PATCH.TXT < prev    next >
Text File  |  1994-06-02  |  1KB  |  42 lines

  1. NV_PATCH by Jonathan Lawrence 16/3/94
  2. Freeware - use at your own risk!
  3.  
  4. For users of NVDI:
  5.  
  6. NVDI's mouse handler routine (version 2.5 and maybe others) reduces 
  7. the 680X0's IPL to 5.
  8.  
  9. On the Falcon this causes an almost immediate crash when the Tabby 
  10. driver (operating off the serial port interrupt) tries to send 
  11. mouse information.
  12.  
  13. Running NV_PATCH.PRG modifies NVDI.PRG to prevent this happening.
  14. Reboot with the changed version and Tabby should work fine.
  15. The patch may also fix problems with other mouse utilities that initiate 
  16. mouse movement. (Mouse Tricks hyperspace)
  17.  
  18. Be sure to keep another copy of NVDI.PRG (renamed to NVDI_OLD.PRG?) 
  19. just in case the patching goes wrong, or there are situations when 
  20. the unmodified version is needed. (I can't think of any.)
  21.  
  22.  
  23.  
  24. For interested assembler programmers:
  25.  
  26. NV_PATCH.PRG changes the offending code to leave the IPL at 7.
  27.  
  28. The code in the mouse handler:
  29.     ori.w    #$700,sr    IPL to 7
  30.     andi.w    #$FDFF,sr    then down to 5
  31.  
  32. is changed to:
  33.     ori.w    #$700,sr    IPL to 7
  34.     andi.w    #$FFFF,sr    no change
  35.     
  36. NV_PATCH.PRG will have no effect on versions that don't include 
  37. this code.
  38. NVDI 2.5 has only one instance of this code - problems could arise
  39. if any NVDI version used it more than once.
  40.  
  41.  
  42.