(m_ptr)
| 91 | } |
| 92 | |
| 93 | function start_machine_interval(m_ptr) { |
| 94 | print_msg("starting the machine. please be patient...") |
| 95 | last_updated = Date.now(); |
| 96 | set_interval(() => {machine_tick(m_ptr)}, 1) |
| 97 | } |
| 98 | |
| 99 | function update_framebuffer(width, height, data, start_y, updated_height) { |
| 100 | for (let y=start_y; y < start_y + updated_height; y++) { |
no test coverage detected