MenuetOS32 has a little app for reading IR from an irman connected on com1 (conveniently called IR.)

The source code can be found at http://www.menuetos.org/stuff32.htm (A085.zip)