Port & intr in NT4

Hey everyone ..
I have a question about running Turbo Pascal in Windows NT4.

I am a student and I have to make some programms with the commands they told
me at school ..

Since I am using windows NT4.. I cannot use the port instruction to read for
example the printer status port..
this returnes a value in Status that is not the correct one ..
I know that the problem is that NT doesn't fill out the memory adresses..
But I would like to test & debug the program at home ..
Does someone have a solution for this "Problem" ..

I hope someone can help me .. Thanks