John Douma wrote
I am testing my drawing operations in Screen.jack using the supplied files in ScreenTest. As the test is running I see the objects being drawn. However, if I remove my copy of Screen.jack and just compile Main.jack so that the built-ins are used, the objects get drawn instantaneously. Should my code be that fast?
Mine works the same way. I imagine that the VM Emulator's built in system functions are Java and that no VM interpretation is done to run them. As an experiment you could copy TECS/tools/OS/Screen.vm into your ScreenTest directory to see how the authors' compiled Screen.jack VM code performs compared to yours.
--Mark