The pascal calling convention for TH03's input mode functions actually sort of matters, since we have this nice function pointer type that expects pascal.