mirror of
https://github.com/david-schmidt/gsport.git
synced 2024-12-29 10:31:50 +00:00
Fix MSB masking on parallel port output.
This commit is contained in:
parent
7a31afd2a9
commit
4c106419f5
@ -45,7 +45,7 @@ void parallel_write(word16 io_address, byte val)
|
|||||||
{
|
{
|
||||||
//Mask MSB if user has it set.
|
//Mask MSB if user has it set.
|
||||||
if(g_parallel_out_masking) {
|
if(g_parallel_out_masking) {
|
||||||
val = val & 0xfe;
|
val = val & 0x7f;
|
||||||
}
|
}
|
||||||
printf("parallel card called at %x\n", io_address);
|
printf("parallel card called at %x\n", io_address);
|
||||||
//send a byte to the virtual printer
|
//send a byte to the virtual printer
|
||||||
|
Loading…
Reference in New Issue
Block a user