Prev: 8E92 Up: Map Next: 8EB3
8EAA: Print Handler: Left Margin
Left margin parameter handler. Called on the byte immediately following a 18 control code. Sets the left margin X position at 8005 to the lower six bits of the parameter.
PrintHandler_LeftMargin 8EAA LD B,$40 B=40 (mask limit: lower six bits, 00–3F).
8EAC CALL PrintHandler_MaskParam Call PrintHandler_MaskParam to reset PrintState_Handler and mask A to the lower six bits.
8EAF LD ($8005),A Write the masked parameter to *PrintState_LeftMargin (left margin X position).
8EB2 RET Return.
Prev: 8E92 Up: Map Next: 8EB3