1 fn draw-box-on-real-screen x1: int, y1: int, x2: int, y2: int, color: int {
2 draw-horizontal-line-on-real-screen x1, x2, y1, color
3 draw-vertical-line-on-real-screen x1, y1, y2, color
4 draw-horizontal-line-on-real-screen x1, x2, y2, color
5 draw-vertical-line-on-real-screen x2, y1, y2, color
8 fn draw-horizontal-line-on-real-screen x1: int, x2: int, y: int, color: int {
9 var x/eax: int <- copy x1
13 pixel-on-real-screen x, y, color
19 fn draw-vertical-line-on-real-screen x: int, y1: int, y2: int, color: int {
20 var y/eax: int <- copy y1
24 pixel-on-real-screen x, y, color