Object-based real-time programming in Modula-2