Model T Cross Map 0000-2000

From Bitchin100 DocGarden
Revision as of 10:00, 8 April 2009 by Jhoger (talk | contribs) (Model T ROM Cross Map 0000-2000 moved to Model T Cross Map 0000-2000)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
M100 Address PC8201 address T200 address Name1 Name2 Description
HEX DEC HEX DEC HEX DEC
0000 0 0000 0 0000 0 RST 0
System Reset
0008 8 0008 8 0008 8 RST 1
0010 16 0010 16 0010 16 RST 2
0018 24 0018 24 0018 24 RST 3 Compare DE and HL
001E 30 001E 30 001E 30 Send space to the screen or printer
0020 32 0020 32 0020 32 RST 4 Print character in A on the screen or printer
0024 36 0024 36 0024 36 TRAP 8085 TRAP interrupt vector
0028 40 0028 40 0028 40 RST 5 Determine the type of the last variable used
002C 44 002C 44 002C 44 RST 5.5 8085 RST 5.5 interrupt vector
0030 48 0030 48 0030 48 RST 6 Returns sign of FAC1
0034 52 0034 52 0034 52 RST 6.5 8085 RST 6.5 interrupt vector
0038 56 0038 56 0038 56 RST 7 RAM vector table driver
003C 60 003C 60 003C 60 RST 7.5 8085 RST 7.5 interrupt vector
0040 64 0040 64 0040 64 Start of function vector table for SGN to MID$
007F 127 007F 127 007F 127 End of function vector table
0080 128 0080 128 0080 128 Start of BASIC statement keyword table END to NEW
018E 398 018E 398 018E 398 End of BASIC statement keyword table
018F 399 018F 399 018F 399 Start of function keywords TAB to <
01EF 495 01EF 495 01EF 495 End of function keywords TAB to <
01F0 496 01F0 496 01F0 496 Start of function keywords SGN to MID$
025F 607 025F 607 025F 607 End of function keywords SGN to MID$
0262 610 0262 610 0262 610 Start of BASIC statement vector table for END to NEW
02E1 737 02E1 737 02E1 737 End of BASIC statement vector table
02EE 750 02EE 750 02EE 750 Start of vector for math operations (used at 10DAH)
031B 795 031B 795 031B 795 End of math vector table
031C 796 031C 796 031C 796 Start of BASIC 2 character error message text
0359 857 0359 857 0359 857 End of error message text
035C 860 035C 860 035C 860 Initialization image loaded at F5F0H-F76FH on cold boot
036F 879 036F 879 036F 879 Code loaded at F605H on boot to detect external ROM
03E9 1001 03E9 1001 03E9 1001 End of initialization image
03EA 1002 0415 1045 BASIC message strings
0401 1025 042C 1068 Pop the return address for a NEXT or RETURN off the stack.
0422 1058 0544 1348 044D 1101 INIT Init system and go to BASIC ready
0446 1094 0568 1384 0471 1137 SNERR Abort BASIC and issue syntax error message
0449 1097 0571 1393 0474 1140 DVERR Abort BASIC and issue divison by zero error
044C 1100 0574 1396 NFERR Abort BASIC and next without for error
044F 1103 0577 1399 DDERR Abort BASIC and double dimensioned array error
0452 1106 057A 1402 REERR Abort BASIC and issue resume without error message
0455 1109 057D 1405 0480 1152 OVERR Abort BASIC and issue overflow error message
0458 1112 0580 1408 0483 1155 MOERR Abort BASIC and issue missing operand error message
045B 1115 0583 1411 TMERR Abort BASIC and issue type mismatch error message
045D 1117 0585 1413 0488 1160 ERROR Abort BASIC and issue error message
047B 1147 04A6 1190 RETERR
048D 1165 04B8 1208 Restore old stack and runtime pointers
0501 1281 062C 1580 052C 1324 READY JMP vector to enter BASIC interpreter/ pops HL
0502 1282 062D 1581 052D 1325 READY2 JMP vector to enter BASIC interpreter/ no POP *
0511 1297 063C 1596 053C 1340 RDYNOK JMP vector to BASIC ready/ no Init or OK
0523 1315 064E 1614 054E 1358 RUNCMD Performs operation in (HL) buffer/ returns to "ready" *
05F0 1520 0714 1812 061B 1563 LINKER Correct a BASIC program's links
05F3 1523 061E 1566 LINKER2 Same as LINKER only start address is in HL
05F4 1524 0718 1816 061F 1567 LINKER1 Same as LINKER only start address is in DE
0626 1574 075B 1883 0651 1617 FINDLIN Find the line number in DE via 1576 *
0628 1576 075D 1885 0653 1619 FINDLN2 Find line # DE starting at the beginning of the current BASIC *
062B 1579 0760 1888 0656 1622 FINDLN3 Find line # DE starting where HL is pointing *
0646 1606 077C 1916 0671 1649 TKNCMP Token compression routine *
0726 1830 FOR statement
076B 1899 TO statement
0783 1923 STEP statement
0804 2052 0A1D 2589 BASEXC BASIC program execution routine/ HL
083A 2106 Start executing a program at the address in HL
0840 2112 Execute the compressed instruction token in the A register.
0858 2136 RST 2 routine from 10H
0859 2137 Same as RST 10H but with no pre-increment of HL (see 10H).
0872 2162 DEF statement
0881 2177 DEFDBL statement
0886 2182 DEFINT statement
0896 2198 DEFSNG statement
089F 2207 DEFSTR statement
08A1 2209 Declare variables
08DB 2267 0B87 2951 0906 2310 FCERR Abort BASIC and issue illegal function call error message
08E0 2272 Evaluate line number text pointed to by HL.
08EB 2283 0916 2326 GETVAL
08EC 2284 GETVAL1 Same as 08EBH except that conversion starts at HL+1
090F 2319 RUN Statement
091E 2334 GOSUB Statement
0936 2358 GOTO Statement
094D 2381 0978 2424 ULERR Generate UL error
0966 2406 RETURN Statement
099E 2462 DATA Statement
09A0 2464 REM Statement
09BD 2493 0CB0 3248 LET Parse & execute the LET statement
09C3 2499 0CB6 3254 LET2
09D6 2518 0CC9 3273 LETCN2 Do variable assignment
0A2F 2607 ON Statement
0A34 2612 ON ERROR Statement
0AB0 2736 RESUME Statement
0B0F 2831 ERROR Statement
0B1A 2842 IF Statement
0B4E 2894 LPRINT Statement
0B56 2902 PRINT Statement
0C01 3073 TAB Statement
0C39 3129 0F26 3878 FINPNT Final OPEN processing
0C45 3141 LINE Statement
0C99 3225 INPUT
  1. Statement
0CA3 3235 INPUT Statement
0CD9 3289 READ Statement
0DAB 3499 1091 4241 MNEVAL Main evaluation routine *
0F0D 3853 Integer Divide (FAC1=DE/HL)
0F1C 3868 Evaluate the function in the buffer pointed to by HL.
0F47 3911 ERR Function
0F56 3926 ERL Function
0F7E 3966 VARPTR Function
0F92 3986 VARPTR(#buffer) Function
0FDA 4058 Variable evaluation routine
0FE8 4072 12B5 4789 1013 4115 MAKUPS Convert character in M to upper case & store in A
0FE9 4073 1014 4116 CAPS Convert character in M to upper case & store in A if required.
1045 4165 106F 4207 DCXH
1054 4180 NOT Function
1069 4201 RST 28H routine (see 28H).
108C 4236 OR Function
1097 4247 AND Function
10A2 4258 XOR Function
10AD 4269 EQV Function
10B5 4277 IMP Function
10C8 4296 LPOS Function
10CE 4302 POS Function
10D1 4305 Load the integer in the A register into FAC1.
10E6 4326 Check for a running program.
10EF 4335 1119 4377 IDERR Generate ID error
1100 4352 INP Function
110C 4364 OUT Statement
1112 4370 Evaluate the expression in the buffer pointed to by HL
1113 4371 Same as 1112H except that the evalutation starts at HL-1.
112D 4397 Evaluate the expression in the buffer pointed to by HL
112E 4398 1158 4440 EVALEX Same as 112DH except that evaluation starts at HL-1.
113B 4411 LLIST Statement
1140 4416 LIST Statement
11A2 4514 1462 5218 11CC 4556 LCDISP Display string at [HL] until null is reached
11AA 4522 146A 5226 BUFCPY Put chars into buffer until null is reached *
1284 4740 PEEK Function
128B 4747 POKE Function
1297 4759 Evaluate the expression in the buffer pointed to by HL
12CB 4811 174D 5965 12F7 4855 CHGET Wait for a character from the keyboard
12DB 4827 1404 5124
13A5 5029 Toggle function key label line if enabled.
13B5 5045 13DE 5086
13DB 5083 183D 6205 1422 5154 CHSNS Check keyboard queue for pending characters
1419 5145 POWER Statement
1431 5169 1549 5449 Normal TRAP (low power) interrupt routine
143F 5183 18A9 6313 PWROFF2 Power off the computer/ resume same state on power on
1451 5201 18BB 6331 PWROFF Power off the computer/ cause init on power on
1459 5209 POWER CONT Statement
1461 5217 POWER ON Statement
1470 5232 1590 5520 Output character to printer without tab expansions
148A 5258 Start tape and load tape header.
1494 5268 15AC 5548 IOERR Generate I/O error
14A8 5288 15C0 5568 Turn cassette motor on
14AA 5290 15C2 5570 Turn cassette motor off
14B0 5296 15C8 5576 Read a byte from tape and update checksum
14C1 5313 15D9 5593 Write a byte to tape and update checksum
14D2 5330 LCD Device control block
14D8 5336 LCD and LPT file open routine
14DE 5342 15F5 5621
14E5 5349 LCD file output routine
14EA 5354 195A 6490 1601 5633 GSXPOP Clean stack & reset power off timer
14ED 5357 195D 6493 POPALL Pop all regs (AF BC DE HL)/ Jump to this addr ONLY!
14F2 5362 1962 6498 CRTDSP Dispatch table for crt i/o/ CRT device control block
14FC 5372 1974 6516 RAMDSP Dispatch table for ram file i/o /RAM device control block
1506 5382 197E 6526 RAMOPN Open a ram file / RAM file open routine
158D 5517 1A05 6661 RAMCLS Close a ram file / RAM file close routine
15AC 5548 1A24 6692 RAMWRT Write to a ram file / RAM file output routine
15C4 5572 1A3C 6716 RAMINP Read from a ram file/ RAM file input routine
161B 5659 1A93 6803 RAMBCK Back up to previous character for a ram file
167F 5759 1AF7 6903 CASDSP Dispatch table for cassette i/o / CAS device control block
1689 5769 1B01 6913 CASOPN CAS file open routine *
16AD 5805 1B25 6949 CASCLS CAS file close routine *
16C7 5831 1B3F 6975 CASWRT CAS file output routine *
16D2 5842 1B4A 6986 CASINP CAS file input routine *
1754 5972 1BCC 7116 LPTDSP Dispatch table for lprinter i/o / LPT device control block
175A 5978 1BD3 7123 LPTWRT Send a character to the printer * / LPT file output routine
1762 5986 1BDA 7130 COMDSP Dispatch table for com port i/o / COM device control block
1763 5987 MDM file open routine
176D 5997 1BE4 7140 COMOPN COM open file routine
179E 6046 1C01 7169 COMCLS COM close file routine
17A8 6056 1C1D 7197 COMWRT Send a character to COM port / COM and MDM file output routine
17B0 6064 1C28 7208 COMINP Get a character from COM port / COM and MDM file input routine
17CA 6090 1C47 7239 COMBCK

Back up to previous character from com file /Special COM and MDM I/O

routine
17D1 6097 MDM device control block
17D8 6104 MDM file close routine
17E6 6118 1C4E 7246 191D 6429 SETSER Set RS232 parms from string pointed to in HL
1804 6148 1808 6152
1877 6263 1CEC 7404 WNDDSP Dispatch table for bar code reader i/o / WAND device control block
1889 6281 EOF Function
1904 6404 TIME$ Function
190F 6415 1D7F 7551 1A7E 6782 READTM Read system clock time and store it in HL buffer *
1924 6436 DATE$ function
192F 6447 1D9F 7583 READDT Read system date and store it in HL buffer *
1955 6485 DAY$ function
1962 6498 1AC5 6853 Read day and store it in the buffer pointed to by HL.
199E 6558 1B01 6913 INXH
19A0 6560 update clock
19AB 6571 TIME$ Statement
19B3 6579 Update the internal clock chip
19BD 6589 DATE$ Statement
19F1 6641 DAY$ Statement
1A96 6806 Erase current IPL program
1A9E 6814 COM and MDM Statements
1AB2 6834 KEY() Statement
1AC3 6851 KEY STOP/ON/OFF Statements
1B0F 6927 ON TIME$ Statement
1B32 6962 RST 7.5 interrupt routine (see 3CH).
1B35 6965 1CB9 7353
1B44 6980 1CC8 7368
204F 8271 BELL T200 only
1BB1 7089 2697 9879
1BB8 7096 KEY Statement
1BBD 7101 KEY LIST Statement
1BBE 7102 26A4 9892
1BE0 7136 1EFB 7931 DSPCHR Displays B number of characters from the HL buffer *
1C39 7225 PSET Statement
1C66 7270 PRESET Statement
1C6D 7277 LINE (graphic) Statement
1D90 7568 CSRLIN Function
1D9B 7579 MAX Function
1DA7 7591 MAXRAM Function
1DB2 7602 MAXFILES Functions
1DB9 7609 HIMEM Function
1DC3 7619 WIDTH Statement
1DC5 7621 SOUND Statement
1DE5 7653 SOUND OFF Statement
1DE6 7654 SOUNF ON Statement
1DEC 7660 MOTOR Statement
1DF1 7665 MOTOR ON Statement
1DF5 7669 MOTOR OFF Statement
1DFA 7674 CALL Statement
1E22 7714 SCREEN Statement
1E5E 7774 2946 10566 LCOPY Statement
1F1B 7963 2A0B 10763 SAVEBA SAVEBA
1F3A 7994 211F 8479 2A2A 10794 FILES Basic's FILES statement routine */ FILES Statement
1F42 8002 2127 8487 FILLST Display files listing to the screen
1F91 8081 KILL Statement
1FBE 8126 21A7 8615 2AB4 10932 KILASC2 Delete a .DO file *
1FBF 8127 21A8 8616 2AB5 10933 KILASC Delete a .DO file
1FD9 8153 21C2 8642 2ACE 10958 KILCOM Delete a .CO file