Inside the Einstein: The MOS, a TatungBytes course: the MOS 1.2 start up screen on a rainbow sunburst
← Back to Modules
module
17

Appendix II: The Table, Entry by Entry

FMTBL, at 0282h in MOS 1.2: 85 two-byte addresses. Entry k is the routine for call 128 + k, and for the monitor command letter A + k (S8). The routine address is the word stored in the entry; where the routine has an original name in the course's source, it is given.

The last column says what the routine does where this course describes it. Where it is blank, the routine is there to read in the source.

CallHexLetterEntry atRoutineNameWhat it does
12880hA0282h032ChARITHarithmetic: sum, difference, offset
12981hB0284h0349h
13082hC0286h039DhCOPYcopy memory
13183hD0288h03B9hDECIMLhexadecimal to decimal
13284hE028Ah0402h
13385hF028Ch03EChMFILLfill memory
13486hG028Eh03FEh
13587hH0290h0434hHEXdecimal to hexadecimal
13688hI0292h01F5hERRORprints Error!
13789hJ0294h01F5hERRORprints Error!
1388AhK0296h01F5hERRORprints Error!
1398BhL0298h01F5hERRORprints Error!
1408ChM029Ah045ChMODIFYmodify memory
1418DhN029Ch01F5hERRORprints Error!
1428EhO029Eh01F5hERRORprints Error!
1438FhP02A0h01F5hERRORprints Error!
14490hQ02A2h01F5hERRORprints Error!
14591hR02A4h0489h
14692hS02A6h01F5hERRORprints Error!
14793hT02A8h054DhTBLATEtabulate memory
14894hU02AAh01F5hERRORprints Error!
14995hV02ACh01F5hERRORprints Error!
15096hW02AEh0491h
15197hX02B0h0587h
15298hY02B2h058Ch
15399hZ02B4h0593hREGSTRregister display
1549Ah02B6h015Dh
1559Bh02B8h06D7h
1569Ch02BAh065EhKEYINcall: waits for a key, returns its code in A
1579Dh02BCh0614hGETLNcall: reads a line into memory at (DE)
1589Eh02BEh0F1AhOUTCcall: prints the character in A
1599Fh02C0h0F5Ch
160A0h02C2h0F48h
161A1h02C4h0F52h
162A2h02C6h1CEBh
163A3h02C8h1CEEh
164A4h02CAh04E8h
165A5h02CCh04F8h
166A6h02CEh0F14h
167A7h02D0h0F0Fh
168A8h02D2h0F18h
169A9h02D4h0E9Dh
170AAh02D6h0EA1h
171ABh02D8h0EA5h
172ACh02DAh0EE4h
173ADh02DCh0ED1h
174AEh02DEh1E1Bh
175AFh02E0h1DDCh
176B0h02E2h0EFDh
177B1h02E4hFB14hcall: reads the byte at (HL) from the RAM under the ROM
178B2h02E6hFB1Ah
179B3h02E8hFB21h
180B4h02EAh0F6Ah
181B5h02ECh076FhKSCANcall: returns a key code in A, or 0 if no key, without waiting
182B6h02EEh1E8Dh
183B7h02F0h1EA2h
184B8h02F2h1EA7h
185B9h02F4h1EACh
186BAh02F6h1EB1h
187BBh02F8h1ECDh
188BCh02FAh0FAEh
189BDh02FCh1E72h
190BEh02FEh0DC7h
191BFh0300h0E7Bh
192C0h0302h0F92h
193C1h0304h0020h
194C2h0306h0BE1h
195C3h0308h0030h
196C4h030Ah1893h
197C5h030Ch186Dh
198C6h030Eh190Ah
199C7h0310h1904h
200C8h0312h1919hcall: draws a line
201C9h0314h1B1Ah
202CAh0316h18F6h
203CBh0318h18BAh
204CCh031Ah1A45h
205CDh031Ch19B6h
206CEh031Eh0E60h
207CFh0320h0F26h
208D0h0322h0ACEh
209D1h0324h0C45h
210D2h0326h4004h
211D3h0328h0E0Bh
212D4h032Ah0D41h

Routine 0020h (call 193) and 0030h (call 195) are the same code as RST 20h and RST 30h; 4004h (call 210) is outside the ROM.

Get the Newsletter

New guides, disk images and community finds, roughly once a quarter. No spam, we promise, this isn't Tatung's marketing department.
Your subscription could not be saved. Please try again.
Your subscription has been successful.

Newsletter

Subscribe to our newsletter and stay updated.

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.