PtidyOS is a single-stack event-based real-time operating system, which combines PTIDES semantics with earliest-deadline-first scheduling in order to ensure system responsiveness to the highest priority event. PtidyOS kernel includes a scheduler that performs interrupt handling and context switching and a primitive memory management. When compiled, this kernel links against application code and produces one executable. In  PtidyOS implementation of the Tunneling Ball Device demo is compared to a manual C implementation . We showed the PTIDES semantics ensures the correct order of event execution, which prevents performance degradation even with a large delay introduced at the sensor. This contrasts the manual implementation, whose performance degraded when the same delay is introduced.