Prev: 44198 Up: Map Next: 44283
44236: Process Text Token And Save State
Used by the routines at 43698, 43858 and 45050.
Processes text tokens until a non-160 token is found, then saves the current text processing state (pointer, flags, and display mode) to the display buffer structure.
Input
E Flags (bit 3 is reset)
ProcessTextTokenAndSaveState 44236 RES 3,E
44238 PUSH DE
ProcessTextTokenAndSaveState_0 44239 CALL 44671
44242 CP 160
44244 JR Z,ProcessTextTokenAndSaveState_0
44246 LD HL,(41001)
44249 LD (43681),HL
44252 LD (41003),HL
44255 POP DE
44256 LD A,E
44257 LD (43683),A
44260 LD (43684),IY
44264 LD A,(40978)
44267 LD (43686),A
44270 LD A,(40986)
44273 CP 2
44275 JR NZ,44375
44277 SET 6,(IY+1)
44281 JR 44375
Prev: 44198 Up: Map Next: 44283