systest.l 205 B

12345678910111213
  1. (def keyboard (open "/keyboard"))
  2. (def i 0)
  3. (while (lt i 10) (do
  4. (print (list "i:" i))
  5. (print (recv keyboard))
  6. (def i (+ i 1))
  7. ))
  8. (def fb (mmap "/framebuffer"))
  9. (print (list "framebuffer: " fb))