home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / genie-commodore-file-library / Information / GENERAL-C-128-SYSTEM-INF < prev    next >
Encoding:
Text File  |  2019-04-13  |  10.0 KB  |  325 lines

  1. **********
  2. Topic 12        Sat May 17, 1986
  3. FINNER [Tom Sawyer]          (Forwarded) 
  4. Sub: C128 128 Mode memory locations         
  5.  
  6. PEEKs, POKEs and SYS's in the C128 RAM, ROM, and KERNAL
  7. 22 message(s) total
  8. **********
  9. ----------
  10. Category 14,  Topic 12
  11. Message 1         Sat May 17, 1986
  12. FINNER [Tom Sawyer]          (Forwarded) 
  13.  
  14. I have a couple questions regarding the 128's memory locations.  What is
  15. the 128's equivalent of the 64's POKE808,234 (disable RUN/STOP-RESTORE),
  16. and SYS64738 (cold-start routine)?  Also, I doubt it can be done, but is
  17. there any way to read the numeric keypad in 64 mode?
  18.      Tom Sawyer
  19. ----------
  20. Category 14,  Topic 12
  21. Message 2         Sun May 18, 1986
  22. CHARRINGTON                  (Forwarded) 
  23.  
  24. For the 128:
  25. Disable run/stop      POKE 808,100
  26. Enable  run/stop      POKE 808,110
  27. Diable  list          POKE 775,139
  28. Enable  list          POKE 775,81
  29. Disable restore       POKE 792,125
  30. Enable  restore       POKE 792,64
  31. Disable keyboard      POKE 2592,0
  32. Enable  keyboard      POKE 2592,10
  33. Remove line numbers
  34.  from LIST            POKE 24,37  (enable: POKE 24,27)
  35. Clear keyboard input
  36.  buffer before INPUT  POKE 208,0
  37. Cold reset            POKE 65341
  38.  
  39.  Hope this helps.   Courtney
  40. ----------
  41. Category 14,  Topic 12
  42. Message 3         Sun May 18, 1986
  43. RICKERS [Rickers]            (Forwarded) 
  44.  
  45. I'm sure you mean SYS 65341, eh Courtney? <grin>
  46. ----------
  47. Category 14,  Topic 12
  48. Message 4         Sun May 18, 1986
  49. MIKEM [Pax Regal]            (Forwarded) 
  50.  
  51. Not on Courtney's list, and probably listed b4, but:
  52. Auto-boot disk       SYS 65363
  53. Go 64                SYS 65357
  54. Toggle 40/80col      SYS 65375
  55. Position Cursor      SYS 65520,r,c,0
  56. Clear window area    SYS 49474
  57. HOME window cursor   SYS 49482
  58. ----------
  59. Category 14,  Topic 12
  60. Message 5         Mon May 19, 1986
  61. FINNER [Tom Sawyer]          (Forwarded) 
  62.  
  63. Thanks for the information.  That's exactly, (and more than) what I was
  64. looking for.  I sure know where to raise any questions I might have.  You
  65. sure do come through!
  66.      Tom Sawyer
  67. ----------
  68. Category 14,  Topic 12
  69. Message 6         Mon May 19, 1986
  70. CHARRINGTON                  (Forwarded) 
  71.  
  72. RICKERS--
  73.      *...blush...*
  74. Thanks for catching my error. I well, I got most of them right.
  75.   courtney
  76. ----------
  77. Category 14,  Topic 12
  78. Message 7         Tue May 20, 1986
  79. DEB [*deb!*]                 (Forwarded) 
  80.  
  81. You guys are ALL great!  Thanks much!!!   
  82.     **
  83. ----------
  84. Category 14,  Topic 12
  85. Message 8         Tue May 20, 1986
  86. FINNER [Tom Sawyer]          (Forwarded) 
  87.  
  88. Hi Pax, (Pax Regal - Messa Olge #4).  I was looking at the list you provided
  89. and noticed  "Auto-boot disk - sys65363".  How do I use that?  What is the
  90. syntax required?  I tried entering SYS65363 and got a strange prompt line
  91. that seems to act a little weird.  When I hit return, the cursor stays
  92. in place, but the next character I type replaces the one just before the
  93. cursor.  Am I doing something wrong?
  94.             Tom Sawyer
  95.             of:  The River Boat
  96.             (818) 899-3521
  97.             1200/300 Baud
  98.             24 hrs./7 days
  99.             See you there!
  100. ----------
  101. Category 14,  Topic 12
  102. Message 9         Wed May 21, 1986
  103. MIKEM [Pax Regal]            (Forwarded) 
  104.  
  105. Finner:  Hmmm...I just report 'em, I dont use 'em.
  106. Seriously tho, I'm not much of a programmer, and havent
  107. used the 'auto-boot disk' SYS.  Ill give it a shot tonite
  108. to see what it looks like.  Maybe someone else out there
  109. can help shed light on this one<?>
  110.   Mike
  111. ----------
  112. Category 14,  Topic 12
  113. Message 10        Fri Jun 06, 1986
  114. MIKEM [Pax Regal]            (Forwarded) 
  115.  
  116.   I have typed up a file (chart) in 80 columns (on Wordstar),
  117. which shows all the BASIC V7.0 Tokens/Keywords/Addresses.
  118. If anyone is interested, let me know and i can upload it.
  119. (There are a total of 171 tokens).
  120.  -Mike
  121. ----------
  122. Category 14,  Topic 12
  123. Message 11        Fri Jun 06, 1986
  124. DEB [*deb!*]                 (Forwarded) 
  125.  
  126. Mike....
  127.    
  128.    File #28 in the Software Library is already the Token list, unless this
  129. earlier version has some errors in it, I'd hate to have a duplicate file
  130. in there...!
  131.    
  132.               *deb!*
  133. ----------
  134. Category 14,  Topic 12
  135. Message 12        Fri Jun 06, 1986
  136. MIKEM [Pax Regal]            (Forwarded) 
  137.  
  138. Argh.  Deb:  I saw that about three minutes after I posted the
  139. message.  I should look before leaping!
  140.  - Mike
  141. ----------
  142. Category 14,  Topic 12
  143. Message 13        Sun Jun 08, 1986
  144. DEB [*deb!*]                 (Forwarded) 
  145.  
  146. No problem Mike, I just wanted to make sure yawl knew I'd not make a duplicate
  147. file public, unless it was *NEW* or a revision.
  148.   
  149.     **
  150. ----------
  151. Category 14,  Topic 12
  152. Message 14        Fri Jun 27, 1986
  153. FINNER [Tom Sawyer]          (Forwarded) 
  154.  
  155. Another question.........
  156.   I know the Commodore 128 keyboard buffer is located from 512-576, but
  157. where do you poke the value to tell the computer how many bytes are
  158. currently in the buffer (the 64 location is 198)?
  159.      Tom Sawyer
  160.  
  161. ----------
  162. Category 14,  Topic 12
  163. Message 15        Fri Jun 27, 1986
  164. S.LEWIS                      (Forwarded) 
  165.  
  166. The location you are looking for, NDX, is $D0 on the 128...
  167.  
  168. Steve
  169. ----------
  170. Category 14,  Topic 12
  171. Message 16        Sat Jun 28, 1986
  172. FINNER [Tom Sawyer]          (Forwarded) 
  173.  
  174. I already found that in a 128 memory map today, but I can't seem to
  175. get it to work.  I entered:
  176.   POKE512,ASC("R"):POKE513,ASC("U"):POKE514,ASC("N"):POKE515,13:POKE208,4
  177. I tried that a few times and always got a different response but not
  178. the response I was looking for.  What am I doing wrong?
  179.      Tom Sawyer
  180.  
  181. ----------
  182. Category 14,  Topic 12
  183. Message 17        Sun Jun 29, 1986
  184. DEB [*deb!*]                 (Forwarded) 
  185.  
  186. What *DID* you get when you tried it?  From direct mode or program control?
  187.    *deb!*
  188. ----------
  189. Category 14,  Topic 12
  190. Message 18        Sun Jun 29, 1986
  191. S.LEWIS                      (Forwarded) 
  192.  
  193. Ah HAH! Wrong buffer - you managed your way into the basic input buffer where
  194. basic program lines are manipulated and INPUT can do its thing...
  195.  
  196. You WANT the KEYBOARD buffer at $034A...
  197.  
  198. Steve
  199. ----------
  200. Category 14,  Topic 12
  201. Message 19        Sun Jun 29, 1986
  202. DEB [*deb!*]                 (Forwarded) 
  203.  
  204. GAds, thanks, Steve, <<Wow, that was an obvious one, too>>  Keyboard buffer
  205. is only 10 bytes long...!
  206.   
  207.      **
  208. ----------
  209. Category 14,  Topic 12
  210. Message 20        Tue Jul 01, 1986
  211. FINNER [Tom Sawyer]          (Forwarded) 
  212.  
  213. I thought that seemed a bit long!  So... How do I use the keyboard
  214. buffer at $034A?  Is that the actuall starting point for the buffer
  215. or the byte that tells how many chars are in it?
  216.  
  217.      Tom Sawyer
  218.  
  219. P.S.  *DEB*---  I didn't get anything when I tried it (manual control).
  220. ----------
  221. Category 14,  Topic 12
  222. Message 21        Wed Jul 02, 1986
  223. S.LEWIS                      (Forwarded) 
  224.  
  225. From within the program, poke the ascii codes for whatever you want the
  226. program to do into the buffer at $034A, 034B, etc. Then poke NDEX to
  227. keyboard buffer (that other location you already know) with the number of
  228. bytes you left in the buffer.
  229.  
  230. When you exit the program and go back to direct mode, the computer will
  231. seem to type the bytes you stored previously.
  232.  
  233. This method does nothing in direct mode except create, at best, garbage
  234. and cannot be tested in direct mode.
  235.  
  236. This method also works if you want to pass things from within a program,
  237. say, you had a terminal program and were in machine language and pressed a 
  238. certain key to tell it to download. The ML could poke, say, a "d" into the 
  239. buffer, set NDEX to 1, exit the ML immediately to end back up at a menu
  240. which might have a GET in basic which would retrieve the stored "d" and
  241. proceed to do whatever "d" was supposed to do. Tacky, but one way of 
  242. interfacing basic and ML.
  243.  
  244. Hope this is of some help.
  245.  
  246. Steve
  247. ----------
  248. Category 14,  Topic 12
  249. Message 22        Sun Jul 13, 1986
  250. DEB [*deb!*]                 (Forwarded) 
  251.  
  252. A complete Dynamic Keyboard Tutorial in No-Tek Language is in the library
  253.  #1, INFORMATION EXCHANGE, too, if anyone needs a brush up!
  254.   
  255.      *deb!*
  256. **********
  257. Topic 9         Fri Nov 29, 1985
  258. DEB                          (Forwarded) 
  259. Sub: Discovery 128!
  260.  
  261. Share tips, tricks, hints and other newly discovered memory locations
  262. here!
  263. 21 message(s) total
  264. **********
  265. ----------
  266. Category 14,  Topic 9
  267. Message 1         Fri Nov 29, 1985
  268. DEB                          (Forwarded) 
  269.  
  270. Use this message area to supplement the memory maps already in the C-128
  271. Software library area.
  272. ----------
  273. Category 14,  Topic 9
  274. Message 2         Sat Nov 23, 1985
  275. DAFORMAN                     (Forwarded) 
  276.  
  277. Hi!
  278. A little direct mode one liner in native C128 mode:
  279.  
  280. SYS 32800,123,45,6  <RETURN>
  281.  
  282. I won't spoil the fun by telling you what happens. Yes, the
  283. SYS format is strange but do it exactly like I've told you.
  284. Also, there is an unimplemented command: OFF
  285. Try it and see the error message you get. I wonder what they
  286. had in mind for that command?
  287.              DAFORMAN
  288.  
  289. ----------
  290. Category 14,  Topic 9
  291. Message 3         Fri Nov 29, 1985
  292. DEB                          (Forwarded) 
  293.  
  294. Some good tips from Bill Brier:
  295. POKE808,112      Disable the STOP key
  296. POKE808,110      Enable the STOP key
  297. SYS65366         Software cold reset
  298. SYS65363         Auto-Boot disk (just like powering up)
  299. SYS65357         Go to C 64 mode (is non-reversible)
  300. SYS65375         Toggle between 40 & 80 column screen
  301. SYS65520,,R,C,0  Position cursor to row R & column C
  302.     
  303. Useful window commands:
  304. SYS49474         Clear area inside window
  305. SYS49482         Home cursor inside window 
  306. C-128 INTERNALS (Abacus) says that the Run-stop/Restore can be disabled with:
  307.   POKE 808,112:POKE792,98
  308. To restore:  Poke 792,64:Poke808,110
  309.     
  310.  
  311. If you are running your C 128 in 64 mode and you need to speed up the program
  312. that is running, you can use the following sequence:
  313.  
  314. POKE53265,PEEK(53265)AND239:POKE53296,1
  315.  
  316. This switches the machine to 2 Mhz mode, essentially doubling the processor
  317. rate.  Unfortunately, the 40 column screen will be blank during this speed
  318. increase.  However, if your program is doing a long sort or number crunch, the
  319. speed is worth having a blank screen.
  320.  
  321. To restore everything back to where it usta be:
  322.  
  323. POKE53296,0:POKE53265,PEEK(53265)OR16
  324.   *Enjoy*
  325.