home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / program / code / wt / wtdoc / Documents_WTModules < prev   
Encoding:
Text File  |  1995-04-02  |  1.8 KB  |  75 lines

  1. Technical help about some WT modules
  2. ====================================
  3.  
  4. This describes a step deeper some of the WT modules.
  5.  
  6. ________________________________________________________________________________
  7.  
  8. DoWT v0.02
  9. ==========
  10.  
  11. Converts RMs to WT modules.
  12.  
  13.  
  14. WARNING: You should not convert a system module that is changing its header while is running.
  15.  
  16. Commands provided:
  17.  
  18. *DoWT <RM filename> [<WT module filename>]
  19.  
  20. Notes:
  21.  
  22. - SWIs will be converted to DLRs, this means that everybody that uses the SWIs wont be able to use them no more.
  23.  
  24. - module tasks wont run correct after conversion and that is because of the way that RMs enter the module; don't run such WT modules since they need a small change before.
  25.  
  26. RMs enter code is is like that:
  27.  
  28.                mov 2,0
  29.                adr 1,ModuleTitle
  30.                mov 0,#2
  31.                swi &2001e ;(OS_Module)
  32.  
  33. Although WT modules enter code is like that:
  34.  
  35.                mov 1,0
  36.                adr 0,ModuleTitle
  37.                swi WT_Enter
  38.  
  39.  
  40.  
  41. There is a WT module named: RM+ which is written to support RMs converted to WT modules.
  42.  
  43. ________________________________________________________________________________
  44.  
  45.  
  46. RM+ v0.02
  47. =========
  48.  
  49. Supports RMs converted to WT modules
  50.  
  51. On converted modules:
  52.  
  53. - SWIs, which will be as before, although you should start using the
  54.   provided DLRs.
  55.  
  56. - module tasks, will patch the 'enter to module' code
  57.  
  58. - SWI &50 (OS_ExitAndDie), will kill the named WT module if any
  59.  
  60. - SYS &1e,18,<module name> (module info), will return RM infornmation from
  61.   a WT module if there isn't any RM with that name
  62.  
  63. - SYS &1e,4,<module name> (kill module), will kill the named WT module if there
  64.   isn't any RM with that name
  65.  
  66. ________________________________________________________________________________
  67.  
  68.  
  69. WT+ v0.10
  70. =========
  71.  
  72. Patches BASIC and Debugger.
  73.  
  74. For more information refer to MANUAL.
  75.