home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / zsus / z3help / y.lbr / ZRDOS1D.HZP / ZRDOS1D.HLP
Encoding:
Text File  |  1991-10-14  |  3.0 KB  |  62 lines

  1. FUNCTION  0: System Reset                
  2. FUNCTION 12: Return Version Number (CP/M)
  3. FUNCTION 48: Return ZRDOS Version Number 
  4. FUNCTION 50: Set Warm Boot Trap          
  5. FUNCTION 52: Reset Warm Boot Trap        
  6. :FUNCTION  0:  SYSTEM RESET
  7.  
  8. -----------------------------------------------------------------
  9. |       Entry Parameters       |         Returned Value         |
  10. |------------------------------|--------------------------------|
  11. | Register  (C): 00H           |              None              |
  12. -----------------------------------------------------------------
  13.  
  14.      Function  to terminate program and reset  the  system.  Same 
  15. results  as performing a jump to location 0000H.  The disk system 
  16. is  reset;  that is disks marked as changed are cleared  and  the 
  17. directory check information is discarded.
  18. :FUNCTION 12:  RETURN VERSION NUMBER
  19.  
  20. -----------------------------------------------------------------
  21. |       Entry Parameters       |         Returned Value         |
  22. |------------------------------|--------------------------------|
  23. | Register  (C): 0CH           | Register (HL): Version Number  |
  24. -----------------------------------------------------------------
  25.  
  26.      Function  to   return the current  version  number.  Version 
  27. number  2.2 is returned to maintain CP/M compatibility.  Function 
  28. 48 should be used to get the ZRDOS version number.
  29. :FUNCTION 48:  RETURN ZRDOS VERSION NUMBER
  30.  
  31. -----------------------------------------------------------------
  32. |       Entry Parameters        |        Returned Value         |
  33. |-------------------------------|-------------------------------|
  34. | Register  (C): 30H            | Register (HL): Version number |
  35. -----------------------------------------------------------------
  36.  
  37.      Function to return the current ZRDOS version number.
  38. :FUNCTION 50:  SET WARM BOOT TRAP
  39.  
  40. -----------------------------------------------------------------
  41. |       Entry Parameters         |       Returned Value         |
  42. |--------------------------------|------------------------------|
  43. | Register  (C): 32H             |            None              |
  44. | Register (DE): Trap address    |                              |
  45. -----------------------------------------------------------------
  46.  
  47.      This  function replaces the warm boot jump address at  0001H 
  48. with a trap address. Warm boots will then be diverted to the trap 
  49. address.
  50. :FUNCTION 52:  RESET WARM BOOT TRAP
  51.  
  52. -----------------------------------------------------------------
  53. |       Entry Parameters         |       Returned Value         |
  54. |--------------------------------|------------------------------|
  55. | Register  (C): 34H             |            None              |
  56. -----------------------------------------------------------------
  57.  
  58.      Function  to reset the warm boot trap.  The real  warm  boot 
  59. address  is stored at 0001H.  Warm boots will now be directed  to 
  60. the  real warm boot.  This function will take affect only if  the 
  61. warm boot trap was previously set by function 38.
  62.