timer works in bochs and on physical machine. need global definition for bochs...