Prev: 36543 Up: Map Next: 36602
36573: Draw a rectangle with opposite vertices at (C, B) and (E, D) (pixels)
Used by the routine at 35882.
Input
B y-coordinate of vertex 1
C x-coordinate of vertex 1
D y-coordinate of vertex 2
E x-coordinate of vertex 2
36573 PUSH DE Draw a line from (E, B) to (E, D)...
36574 PUSH BC ...
36575 LD C,E ...
36576 CALL 36543 ...
36579 POP BC ...
36580 POP DE ...
36581 PUSH DE Draw a line from (C, D) to (E, D)...
36582 PUSH BC ...
36583 LD B,D ...
36584 CALL 36543 ...
36587 POP BC ...
36588 POP DE ...
36589 PUSH DE Draw a line from (C, B) to (E, B)...
36590 PUSH BC ...
36591 LD D,B ...
36592 CALL 36543 ...
36595 POP BC ...
36596 POP DE ...
36597 LD E,C Draw a line from (C, B) to (C, D)...
36598 CALL 36543 ...
36601 RET Return
Prev: 36543 Up: Map Next: 36602