Fix MSB masking on parallel port output.

This commit is contained in:
Christopher Mason 2011-01-07 03:03:10 +00:00
parent 7a31afd2a9
commit 4c106419f5

View File

@ -45,7 +45,7 @@ void parallel_write(word16 io_address, byte val)
{
//Mask MSB if user has it set.
if(g_parallel_out_masking) {
val = val & 0xfe;
val = val & 0x7f;
}
printf("parallel card called at %x\n", io_address);
//send a byte to the virtual printer