![]() |
Routines |
| Prev: A24D | Up: Map | Next: A277 |
|
Used by the routine at ProcessTextToken.
Sets the zero flag when pictures are off, the token pointer is zero, or SearchThreeByteTable returns FF.
|
||||||||||||
| CheckTextTokenMatch | A25D | PUSH BC | Jump to CheckTextTokenMatch_0 if the pictures-enabled flag is zero. | |||||||||
| A25E | LD B,A | |||||||||||
| A25F | LD A,($A011) | |||||||||||
| A262 | AND A | |||||||||||
| A263 | JR Z,CheckTextTokenMatch_0 | |||||||||||
| A265 | LD HL,($A0D8) | Jump ahead to CheckTextTokenMatch_0 if the pointer is zero. | ||||||||||
| A268 | LD A,H | |||||||||||
| A269 | OR L | |||||||||||
| A26A | JR Z,CheckTextTokenMatch_0 | |||||||||||
| A26C | PUSH HL | Copy the pointer into the record and call SearchThreeByteTable with the count in B to search the three-byte table. | ||||||||||
| A26D | POP IX | |||||||||||
| A26F | LD A,B | |||||||||||
| A270 | CALL SearchThreeByteTable | |||||||||||
| A273 | CP $FF | See whether the entry is the end marker. | ||||||||||
| CheckTextTokenMatch_0 | A275 | POP BC | Restore BC from the stack. | |||||||||
| A276 | RET | Return. | ||||||||||
| Prev: A24D | Up: Map | Next: A277 |