home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.whtech.com
/
ftp.whtech.com.tar
/
ftp.whtech.com
/
club100
/
pg
/
pg200
/
rammap.do
< prev
next >
Wrap
Text File
|
2006-10-19
|
10KB
|
278 lines
T200 Memory Map @ 10/13/88
---------------------------------------
*CALLS*
0 WARM START (RESET)
128-608 BASIC TOKENS
4455: A=0(LIST)/A=1(LLIST)
4855: WAIT FOR A KEY PRESS/A=KEY
5449: PWR OFF
5568: MOTOR ON
5570: MOTOR OFF
10566: LCOPY
10763:* SAVE .BA
10794: FILES
11174:* FIND .CO/DE=MEM,HL=DIR,ZERO FLAG OFF IF FOUND
11197:* FIND .DO/DE=MEM,HL=DIR,ZERO FLAG OFF IF FOUND
11203:* FIND .BA/DE=MEM,HL=DIR,ZERO FLAG OFF IF FOUND
11635: JMP TO .DO/CREATE IF DOESN'T EXIST/FILE NAME MUST BE AT [HL]
11644: JMP TO TEXT FILE NAME @ 63302
11711: SWAP FILE NAMES IN 63302 AND 63311
12390:* SAVEM .CO
18187: PRINT INTEGER HL
20286: CR&LF
20293: BEEP
20297: HOME
20301: CLS
20308: LABEL ON(WITHOUT DISPLAY)
20313: LABEL OFF
20318: SCROLL OFF
20323: SCROLL ON
20328: cursor on
20333: cursor off
20360: INV
20365: NORM
20367: PRINT ESC,A
20393: LABEL OFF
20423: LABEL ON(WITH DISPLAY)
21020: SCRL UP
21101: SCRL DOWN
21671: DISPLAY CURRENT PAGE
21713: DISPLAY PREV PAGE
21744: INPUT$/STORED AT 61296
23060,n SEND n (ASCII) TO PRINTER
23159: CR&LF IF NOT 1ST COLUMN
24573: JMP TO TELCOM
25018: DISCONNECT PHONE LN
25040: CONNECT PHONE LINE
25102: 2 SEC DELAY
25386,n DIAL A DIGIT n
25464: JMP TO TERM
26532: MENU
25757: Dsply prev pg with key rtn
27272:**DISPLAY FILE LENGTH
27719:**JMP TO FILE
28062: DISP DAY,DATE,TIME
28391: JUMP TO ADDRSS
28397: JMP TO SCHDL
28797: FIND EOL
29085: JMP TO TEXT
29118,0,X: (JMP TO .DO) A=VARPTR((file.exe)+chr$(0)) x=peek(a+1)+256*peek(a+2)
29402,,v: WAITS FOR SPACEBAR AND JUMPS TO "v" ($ adrs for dsply or a routine)
32287: JMP TO .DO/FILE NAME MUST BE AT [HL]
33820: COLD START
33679: JMP TO BASIC
34312: SEND Xon ^Q
34327: SEND Xoff ^S
35587: CLEARS ONE SET OF KYBRD BYTES
36611: SHIFT SCREEN BY +- HL
36809: "TIC"
36963-38754: CHAR BIT MAP
39677: LIST FREE RAM
40104: DO NOTHING (Return)
*6 char file name w/o ext @ 63302
** file# @ 63560
=====================================
"+" means one more byte, "++" means two more bytes (the RST #.5 vectors allow
for a 3 byte jump).
=====================================
61104 EEB0 MAXRAM
61108 EEB4+ Holds HIMEM value
61113 EEB9++ RST 5.5 vector (bar code)
61119 EEBF++ RST 6.5 vector
61122 EEC2++ RST 7.5 vector
61172 EEF4 Dialing method 0=tone,1,14
61173 EEF5 Active bank stored (in bank 1)
61181-61118 KEY ON/OFF FLAGS 8 bytes
61189 EF05 Current screen in use
61190 EF06 Current cursor row position
61191 EF07 Current cursor column position
61192 EF08 Max number of lines on screen
61193 EF09 Max screen width (basic line width)
61194 EF0A LABEL LINE FLAG 0/off 255/on
61195 EF0B Screen lock flag
61197 EF0D Current LCD Y position
61198 EF0E Current LCD X position
61205 EF15 Reverse LCD Display Flag: 1=rev 0=normal
61234 EF32 0=BREAK 128=NO_BREAK
61236 EF34+ Error trap - 0/basic or use adr
61240 EF38 Power setting 0=cont.
61241 EF39 Full/Half Duplex (255=full)
61242 EF3A Echo to Lpt:
61243 EF3B 1= LF,0=LF 0FF
61244-61250 TELCOM parameter
61250 EF42
61252 EF44 Orig/Ans mode 0=Orig non-0=Ans
61257 EF49+ CALL target address
61266 EF52++ Code for OUT command
61269 EF55++ Code for INP commpnd
61280 EF60 Output flag 1=Lpt 0=Lcd
61285 EF65+ Holds line # being executed
61287 EF67+ Holds start adrs of BASIC pgm
61291 EF6B End of BASIC stmt marker
61292 EF6C Holds tokenized BASIC line
61296 EF70 Holds line from CALL21750
61556 F074 F1 - Table 1
61572 F084 F2 - Table 1
61588 F094 F3 - Table 1
61604 F0A4 F4 - Table 1
61620 F0B4 F5 - Table 1
61636 F0C4 F6 - Table 1
61652 F0D4 F7 - Table 1
61668 F0E4 F8 - Table 1
61684 F0F4
61685 F0F5 F1 - Table 2
61701 F105 F2 - Table 2
61717 F115 F3 - Table 2
61733 F125 F4 - Table 2
61749 F135 F5 - Table 2
61765 F145 F6 - Table 2
61781 F155 F7 - Table 2
61797 F165 F8 - Table 2
61976 F218 Day of week
61977 F219 Day of month - low digit
61978 F21A Day of month - high digit
61979 F21B Month - low digit
61980 F21C Month - high digit
61981 F21D Year - low digit
61982 F21E Year - high digit
61983 F21F Counter - Decrements 150 to 1
61984 F220 Counter - Decrements 12 to 1
61985 F221 Counter - Power Down
62004 F234 ON COM GOSUB status
62005 F235+ Adr of line# to GOSUB for COM
62007 F237 ON TIME$ GOSUB status
62008 F238+ Adr of line# to GOSUB for TIME$
62010 F23A ON KEY 1 GOSUB status
62011 F23B+ Adr of line# to GOSUB for KEY 1
62013 F23D ON KEY 2 GOSUB status
62014 F23E+ Adr of line# to GOSUB for KEY 2
62016 F240 ON KEY 3 GOSUB status
62017 F241+ Adr of line# to GOSUB for KEY 3
62019 F243 ON KEY 4 GOSUB status
62020 F244+ Adr of line# to GOSUB for KEY 4
62022 F246 ON KEY 5 GOSUB status
62023 F247+ Adr of line# to GOSUB for KEY 5
62025 F249 ON KEY 6 GOSUB status
62026 F24A+ Adr of line# to GOSUB for KEY 6
62028 F24C ON KEY 7 GOSUB status
62029 F24D+ Adr of line# to GOSUB for KEY 7
62031 F24F ON KEY 8 GOSUB status
62032 F250+ Adr of line# to GOSUB for KEY 8
62034 F252 DIRECTORY OF FILE ENTRIES
Each enrty = 11 bytes. First byte is file attribute byte
Bit 7=1 if valid entry
Bit 6=1 if .DO file
Bit 5=1 if .CO file
Bit 4=1 if ROM file
Bit 3=1 if invisible
The next 2 bytes point to RAM storage area.
Last 8 bytes =filename no (.)
62034 F252 BASIC's file slot
62045 F25D TEXT's file slot
62056 F268 TELCOM's file slot
62067 F273 ADDRSS's file slot
62078 F27E SCHEDL's file slot
62089 F289 MSPLAN's file slot
62100 F294 UNSAVED BASIC PGRM's file slot
62111 F29F PASTE BUFFER's file slot
62122 F2AA BASIC EDITOR's file slot
62133 F2B5 user slot 1
62144 F2C0 user slot 2
62155 F2CB user slot 3
62166 F2D6 user slot 4
| |
62628 F4A4 user slot 46
62639 F4AF End of directory flag
62651 F4BB+ Holds dir adrs of current BASIC program
62685-62695 IPL string
62700 F4EC+ Holds SP when power off occurs
62702 F4EE+ LOMEM - Adrs of 1st RAM byte
62711 F4F7 Holds offset into RST 7 jmp tbl
62715+ TOP
62717+ LEN
62719+ EXE
62727 F507 Branch table for RST 7 (48 sets of 2 bytes)
62727 F507 1 CLEAR vector
62729 F509 2 CLEAR x,HIMEM vector
62731 F50B 3 Keypress vector
62733 F50D 4 Keyscan vector
62735 F50F 5 LCD
62781 F53D 28 To/From Menu
62783 F53F+29 F6 TELCOM (Term) vector
62785 F541+30 F7 TELCOM (Term) vector
62789 F545+32 F8 TEXT (and Basic Editor)
62791 F547 1 Width a,b
62793 F549 2 Screen 1,x(0)
62795 F54B 3 Open/Save"crt:"(1)
62797 F54D 4
62799 F54F 5 Open/Save"crt:"(2)
62801 F551 6 Open/Load"wand:"(1)
62803 F553 7 Open/Load"wand:"(2)
62805 F555 8 Open/Load"wand:"(3)
62807 F557 9 Open/Load"wand:"(4)
62809 F559 10
62811 F55B 11
62813 F55D 12 Lfiles(1)
62815 F55F 13 Lfiles(3)/dsko$=a$(2)/a$=dski$(0)
62817 F561 14 Lfiles(2)/dsko$=a$(1)
62819 F563 15
62821 F565 16
63058 F652+ line # where error occurred
63060 F654+ line # of last entered/listed
63062 F656+ mem adrs where error occurred
63064 F658+ address of "ON ERROR GOTO" line
63069 F65D+ line # where BREAK occurred
63073 F661+ points to 1st byte
63077 F665+ points to start of variable storage
63079 F667+ points to adrs for next variable data
63081 F669+ Holds location of first free byte in RAM
63285 F735 Holds MAXFILES value
63301 F745 File name #1(?)
63302-63310 Search file name
63311-63318 Found file name; (#2)
63332-63337 Each time digit
63408-64047 ALT/LCD Buffer
63433-63536 LSB/MSB Visible file adrs table
63537 F831+ Pointer into VisFilTbl for next address
63539-63548 Holds Filename being searched for by 28239 routine
63560 F848 Holds # of file under cursor
63561 F849 Holds # of visible entries -1
63574 Typical ALT/LCD PGM TOP
64048-64687 LCD screen 640 bytes
64756 FCF4 SOUND ON/OFF flag. ON=0 OFF=175
64771 FD03 TIC for kbd scan
64773 FD05 KBD matrix buf a/b (18 bytes)
Buf1 7 6 5 4 3 2 1 0 Buf2
============================================
64773 FD05 L M N B V C X Z FD0E/64782
--------------------------------------------
64774 FD06 K J H G F D S A FD0F/64783
--------------------------------------------
64775 FD07 I U Y T R E W Q FD10/64784
--------------------------------------------
? > < " : ]
64776 FD08 / . , ' ; [ P O FD11/64785
--------------------------------------------
* & ^ % $ # @ !
64777 FD09 8 7 6 5 4 3 2 1 FD12/64786
--------------------------------------------
+ _ ) (
64778 FD0A dwn up rght lft = - 0 9 FD13/64787
--------------------------------------------
64779 FD0B <cr> prt lbl pas esc tab del space FD14/64788
--------------------------------------------
64780 FD0C F8 F7 F6 F5 F4 F3 F2 F1 FD15/64789
--------------------------------------------
64781 FD0D brk cap num cod grh ctl shf FD16/64790
--------------------------------------------
64798 FD1E # of keystrokes pending
64799 FD1F Keyboard queue (64 bytes)
65188 FEA4+ Holds adrs of 8 byte pixel map
65196 FEAC+ Holds offset into map
65198 OFFSET INTO CIRCULAR LCD BUFFER (pos of "0")
65362-65535 Telcom buffer