home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / club100 / ref / tricks.doc < prev    next >
Text File  |  2006-10-19  |  4KB  |  96 lines

  1. There are 36 bytes of RAM from 62982 to 63017 which can effectively be rendered invisible if an optional ROM is not installed. Whatever you poke into those 36 bytes will stay there regardless of any BASIC or M/L programs that you may run.
  2.  
  3. The original routine from 62981 to 63011 checks for the existence of an optional ROM every time you power up, if one is present the value 255 is stored at 63018 and the name of that ROM is stored from 64164 to 64171. Addresses 63012 to 63017 are used when selecting the optional ROM from the Menu.
  4.  
  5. POKE 62981,201: RET, which effectively makes your 100 think that an optional ROM is installed.
  6.  
  7. POKE 63018,255: To prevent a cold-start on power-up, the remaining 36 bytes are now free to poke in anything you want.
  8.  
  9. Interested in more free space to poke stuff into? TELCOM uses 64704 to 65023 as a buffer for its previous screen function, it is also used by the Lucid ROM when it is installed and for some Menu functions which begin at 64904. There are 320 bytes, the first 200 of which are perfectly safe. The remaining 120 bytes may be used as long as the program using that area doesn't use the Menu's date and time routine while running.
  10.  
  11. Addresses 63109 to 63362 are reserved for the INPUT buffer, the later part of which has been used to store short M/L routines while leaving enough space for normal buffer operations.
  12.  
  13. The MDM & COM buffer from 65350 to 65413 can be used as long as it is not being accessed for input or output operations, there are 64 more bytes.
  14. _______________________________________________________________________________
  15.  
  16. CALL 20806 Enter TELCOM with modem on.
  17.  
  18. CALL 21172 Connect telephone line.
  19.  
  20. CALL 21179 Disconnect telephone line.
  21.  
  22. CALL 21795 Prev screen (64704-65023).
  23.  
  24. CALL 21608:
  25.  
  26. Prev Down  Up  Full                Bye
  27. _______________________________________________________________________________
  28.  
  29. POKE to restore the built-in modem:
  30.  
  31. FOR A=63067 TO 63071:READ Z:POKE A,Z:NEXT:DATA 77,55,73,49,69
  32.  
  33. POKES for the F6 and F7 in TELCOM:
  34.  
  35. Bytes Free message:     64268,172
  36.                         64269,126
  37.  
  38. Clear Screen:           64270,49
  39.                         64271,66
  40.  
  41. Stop Scrolling:         64268,63
  42.                         64269,66
  43.  
  44. Start Scrolling:        64270,68
  45.                         64271,66
  46. _______________________________________________________________________________
  47.  
  48. POKES for LABLE and PRINT
  49.  
  50. Disable LABEL key:      64173,0
  51. Enable LABEL key:       64173,1
  52. Enable by returning to the Menu
  53.  
  54. Address 64228 is the place to intercept the print routine just before it prints a character, PCSG and others use that location to add line feeds.
  55.  
  56. Disable printer port:   64228,136
  57.                         64229,20
  58.  
  59. Enable printer port:    64228,243
  60.                         64229,127
  61. _______________________________________________________________________________
  62.  
  63. If you wish to test the printer port to determine the status of the printer use one of these two routines:
  64.  
  65. 10 CLS
  66. 20 IF (INP(187)AND6)=0 THEN BEEP:PRINT@136,"POWER OFF"
  67. 30 IF (INP(187)AND6)=2 THEN PRINT@137,"ONLINE"
  68. 40 IF (INP(187)AND6)=4 THEN BEEP:PRINT@136,"OFFLINE"
  69. 50 IF (INP(187)AND6)=6 THEN BEEP:PRINT@134,"DISCONNECTED"
  70. 60 FOR X=1TO575:NEXT:CLS
  71.  
  72.  
  73.  
  74. 10 CLS
  75. 20 IF (INP(187)AND6)<>2 THEN BEEP:PRINT@131,"PRINTER NOT READY"
  76. 30 IF (INP(187)AND6)=2 THEN PRINT@133,"PRINTER READY"
  77. 40 FOR X=1TO575:NEXT:CLS
  78. _______________________________________________________________________________
  79.  
  80. These addresses return memory locations in a two address jump:
  81.  
  82. 64192 Lowest address of installed RAM.
  83.  
  84. 64430 Start of DO files.
  85.  
  86. 64432 Start of index for CO files.
  87.  
  88. 64434 Start of Variable table.
  89.  
  90. 64436 Start of Array table.
  91.  
  92. 64438 The first available byte in RAM.
  93. _______________________________________________________________________________
  94.  
  95. Address 65451 returns a non ASCII value for the last key pressed and it is also first address in the type-ahead buffer which uses the odd addresses from 65451 to 65493.
  96.