req/endreq directives; rewritten xtermpal in asm