home *** CD-ROM | disk | FTP | other *** search
- **********
- Topic 12 Sat May 17, 1986
- FINNER [Tom Sawyer] (Forwarded)
- Sub: C128 128 Mode memory locations
-
- PEEKs, POKEs and SYS's in the C128 RAM, ROM, and KERNAL
- 22 message(s) total
- **********
- ----------
- Category 14, Topic 12
- Message 1 Sat May 17, 1986
- FINNER [Tom Sawyer] (Forwarded)
-
- I have a couple questions regarding the 128's memory locations. What is
- the 128's equivalent of the 64's POKE808,234 (disable RUN/STOP-RESTORE),
- and SYS64738 (cold-start routine)? Also, I doubt it can be done, but is
- there any way to read the numeric keypad in 64 mode?
- Tom Sawyer
- ----------
- Category 14, Topic 12
- Message 2 Sun May 18, 1986
- CHARRINGTON (Forwarded)
-
- For the 128:
- Disable run/stop POKE 808,100
- Enable run/stop POKE 808,110
- Diable list POKE 775,139
- Enable list POKE 775,81
- Disable restore POKE 792,125
- Enable restore POKE 792,64
- Disable keyboard POKE 2592,0
- Enable keyboard POKE 2592,10
- Remove line numbers
- from LIST POKE 24,37 (enable: POKE 24,27)
- Clear keyboard input
- buffer before INPUT POKE 208,0
- Cold reset POKE 65341
-
- Hope this helps. Courtney
- ----------
- Category 14, Topic 12
- Message 3 Sun May 18, 1986
- RICKERS [Rickers] (Forwarded)
-
- I'm sure you mean SYS 65341, eh Courtney? <grin>
- ----------
- Category 14, Topic 12
- Message 4 Sun May 18, 1986
- MIKEM [Pax Regal] (Forwarded)
-
- Not on Courtney's list, and probably listed b4, but:
- Auto-boot disk SYS 65363
- Go 64 SYS 65357
- Toggle 40/80col SYS 65375
- Position Cursor SYS 65520,r,c,0
- Clear window area SYS 49474
- HOME window cursor SYS 49482
- ----------
- Category 14, Topic 12
- Message 5 Mon May 19, 1986
- FINNER [Tom Sawyer] (Forwarded)
-
- Thanks for the information. That's exactly, (and more than) what I was
- looking for. I sure know where to raise any questions I might have. You
- sure do come through!
- Tom Sawyer
- ----------
- Category 14, Topic 12
- Message 6 Mon May 19, 1986
- CHARRINGTON (Forwarded)
-
- RICKERS--
- *...blush...*
- Thanks for catching my error. I well, I got most of them right.
- courtney
- ----------
- Category 14, Topic 12
- Message 7 Tue May 20, 1986
- DEB [*deb!*] (Forwarded)
-
- You guys are ALL great! Thanks much!!!
- **
- ----------
- Category 14, Topic 12
- Message 8 Tue May 20, 1986
- FINNER [Tom Sawyer] (Forwarded)
-
- Hi Pax, (Pax Regal - Messa Olge #4). I was looking at the list you provided
- and noticed "Auto-boot disk - sys65363". How do I use that? What is the
- syntax required? I tried entering SYS65363 and got a strange prompt line
- that seems to act a little weird. When I hit return, the cursor stays
- in place, but the next character I type replaces the one just before the
- cursor. Am I doing something wrong?
- Tom Sawyer
- of: The River Boat
- (818) 899-3521
- 1200/300 Baud
- 24 hrs./7 days
- See you there!
- ----------
- Category 14, Topic 12
- Message 9 Wed May 21, 1986
- MIKEM [Pax Regal] (Forwarded)
-
- Finner: Hmmm...I just report 'em, I dont use 'em.
- Seriously tho, I'm not much of a programmer, and havent
- used the 'auto-boot disk' SYS. Ill give it a shot tonite
- to see what it looks like. Maybe someone else out there
- can help shed light on this one<?>
- Mike
- ----------
- Category 14, Topic 12
- Message 10 Fri Jun 06, 1986
- MIKEM [Pax Regal] (Forwarded)
-
- I have typed up a file (chart) in 80 columns (on Wordstar),
- which shows all the BASIC V7.0 Tokens/Keywords/Addresses.
- If anyone is interested, let me know and i can upload it.
- (There are a total of 171 tokens).
- -Mike
- ----------
- Category 14, Topic 12
- Message 11 Fri Jun 06, 1986
- DEB [*deb!*] (Forwarded)
-
- Mike....
-
- File #28 in the Software Library is already the Token list, unless this
- earlier version has some errors in it, I'd hate to have a duplicate file
- in there...!
-
- *deb!*
- ----------
- Category 14, Topic 12
- Message 12 Fri Jun 06, 1986
- MIKEM [Pax Regal] (Forwarded)
-
- Argh. Deb: I saw that about three minutes after I posted the
- message. I should look before leaping!
- - Mike
- ----------
- Category 14, Topic 12
- Message 13 Sun Jun 08, 1986
- DEB [*deb!*] (Forwarded)
-
- No problem Mike, I just wanted to make sure yawl knew I'd not make a duplicate
- file public, unless it was *NEW* or a revision.
-
- **
- ----------
- Category 14, Topic 12
- Message 14 Fri Jun 27, 1986
- FINNER [Tom Sawyer] (Forwarded)
-
- Another question.........
- I know the Commodore 128 keyboard buffer is located from 512-576, but
- where do you poke the value to tell the computer how many bytes are
- currently in the buffer (the 64 location is 198)?
- Tom Sawyer
-
- ----------
- Category 14, Topic 12
- Message 15 Fri Jun 27, 1986
- S.LEWIS (Forwarded)
-
- The location you are looking for, NDX, is $D0 on the 128...
-
- Steve
- ----------
- Category 14, Topic 12
- Message 16 Sat Jun 28, 1986
- FINNER [Tom Sawyer] (Forwarded)
-
- I already found that in a 128 memory map today, but I can't seem to
- get it to work. I entered:
- POKE512,ASC("R"):POKE513,ASC("U"):POKE514,ASC("N"):POKE515,13:POKE208,4
- I tried that a few times and always got a different response but not
- the response I was looking for. What am I doing wrong?
- Tom Sawyer
-
- ----------
- Category 14, Topic 12
- Message 17 Sun Jun 29, 1986
- DEB [*deb!*] (Forwarded)
-
- What *DID* you get when you tried it? From direct mode or program control?
- *deb!*
- ----------
- Category 14, Topic 12
- Message 18 Sun Jun 29, 1986
- S.LEWIS (Forwarded)
-
- Ah HAH! Wrong buffer - you managed your way into the basic input buffer where
- basic program lines are manipulated and INPUT can do its thing...
-
- You WANT the KEYBOARD buffer at $034A...
-
- Steve
- ----------
- Category 14, Topic 12
- Message 19 Sun Jun 29, 1986
- DEB [*deb!*] (Forwarded)
-
- GAds, thanks, Steve, <<Wow, that was an obvious one, too>> Keyboard buffer
- is only 10 bytes long...!
-
- **
- ----------
- Category 14, Topic 12
- Message 20 Tue Jul 01, 1986
- FINNER [Tom Sawyer] (Forwarded)
-
- I thought that seemed a bit long! So... How do I use the keyboard
- buffer at $034A? Is that the actuall starting point for the buffer
- or the byte that tells how many chars are in it?
-
- Tom Sawyer
-
- P.S. *DEB*--- I didn't get anything when I tried it (manual control).
- ----------
- Category 14, Topic 12
- Message 21 Wed Jul 02, 1986
- S.LEWIS (Forwarded)
-
- From within the program, poke the ascii codes for whatever you want the
- program to do into the buffer at $034A, 034B, etc. Then poke NDEX to
- keyboard buffer (that other location you already know) with the number of
- bytes you left in the buffer.
-
- When you exit the program and go back to direct mode, the computer will
- seem to type the bytes you stored previously.
-
- This method does nothing in direct mode except create, at best, garbage
- and cannot be tested in direct mode.
-
- This method also works if you want to pass things from within a program,
- say, you had a terminal program and were in machine language and pressed a
- certain key to tell it to download. The ML could poke, say, a "d" into the
- buffer, set NDEX to 1, exit the ML immediately to end back up at a menu
- which might have a GET in basic which would retrieve the stored "d" and
- proceed to do whatever "d" was supposed to do. Tacky, but one way of
- interfacing basic and ML.
-
- Hope this is of some help.
-
- Steve
- ----------
- Category 14, Topic 12
- Message 22 Sun Jul 13, 1986
- DEB [*deb!*] (Forwarded)
-
- A complete Dynamic Keyboard Tutorial in No-Tek Language is in the library
- #1, INFORMATION EXCHANGE, too, if anyone needs a brush up!
-
- *deb!*
- **********
- Topic 9 Fri Nov 29, 1985
- DEB (Forwarded)
- Sub: Discovery 128!
-
- Share tips, tricks, hints and other newly discovered memory locations
- here!
- 21 message(s) total
- **********
- ----------
- Category 14, Topic 9
- Message 1 Fri Nov 29, 1985
- DEB (Forwarded)
-
- Use this message area to supplement the memory maps already in the C-128
- Software library area.
- ----------
- Category 14, Topic 9
- Message 2 Sat Nov 23, 1985
- DAFORMAN (Forwarded)
-
- Hi!
- A little direct mode one liner in native C128 mode:
-
- SYS 32800,123,45,6 <RETURN>
-
- I won't spoil the fun by telling you what happens. Yes, the
- SYS format is strange but do it exactly like I've told you.
- Also, there is an unimplemented command: OFF
- Try it and see the error message you get. I wonder what they
- had in mind for that command?
- DAFORMAN
-
- ----------
- Category 14, Topic 9
- Message 3 Fri Nov 29, 1985
- DEB (Forwarded)
-
- Some good tips from Bill Brier:
- POKE808,112 Disable the STOP key
- POKE808,110 Enable the STOP key
- SYS65366 Software cold reset
- SYS65363 Auto-Boot disk (just like powering up)
- SYS65357 Go to C 64 mode (is non-reversible)
- SYS65375 Toggle between 40 & 80 column screen
- SYS65520,,R,C,0 Position cursor to row R & column C
-
- Useful window commands:
- SYS49474 Clear area inside window
- SYS49482 Home cursor inside window
- C-128 INTERNALS (Abacus) says that the Run-stop/Restore can be disabled with:
- POKE 808,112:POKE792,98
- To restore: Poke 792,64:Poke808,110
-
-
- If you are running your C 128 in 64 mode and you need to speed up the program
- that is running, you can use the following sequence:
-
- POKE53265,PEEK(53265)AND239:POKE53296,1
-
- This switches the machine to 2 Mhz mode, essentially doubling the processor
- rate. Unfortunately, the 40 column screen will be blank during this speed
- increase. However, if your program is doing a long sort or number crunch, the
- speed is worth having a blank screen.
-
- To restore everything back to where it usta be:
-
- POKE53296,0:POKE53265,PEEK(53265)OR16
- *Enjoy*