Revision 7f5b7d3e hw/parallel.c
b/hw/parallel.c | ||
---|---|---|
414 | 414 |
|
415 | 415 |
static void parallel_ioport_ecp_write(void *opaque, uint32_t addr, uint32_t val) |
416 | 416 |
{ |
417 |
addr &= 7; |
|
418 |
pdebug("wecp%d=%02x\n", addr, val); |
|
417 |
pdebug("wecp%d=%02x\n", addr & 7, val); |
|
419 | 418 |
} |
420 | 419 |
|
421 | 420 |
static uint32_t parallel_ioport_ecp_read(void *opaque, uint32_t addr) |
422 | 421 |
{ |
423 | 422 |
uint8_t ret = 0xff; |
424 |
addr &= 7; |
|
425 |
pdebug("recp%d:%02x\n", addr, ret); |
|
423 |
|
|
424 |
pdebug("recp%d:%02x\n", addr & 7, ret);
|
|
426 | 425 |
return ret; |
427 | 426 |
} |
428 | 427 |
|
Also available in: Unified diff