Mercurial > repos > blastem
comparison vdp.c @ 1150:322d28e6f13c
Display both byte and word pending values to better reflect VDP pending state in PBC mode
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 04 Jan 2017 21:23:59 -0800 |
parents | 6b0da6021544 |
children | 681e8a13b261 |
comparison
equal
deleted
inserted
replaced
1149:6b0da6021544 | 1150:322d28e6f13c |
---|---|
419 "VCounter: %d\n" | 419 "VCounter: %d\n" |
420 "HCounter: %d\n" | 420 "HCounter: %d\n" |
421 "VINT Pending: %s\n" | 421 "VINT Pending: %s\n" |
422 "HINT Pending: %s\n" | 422 "HINT Pending: %s\n" |
423 "Status: %X\n", | 423 "Status: %X\n", |
424 context->address, context->cd, cd_name(context->cd), (context->flags & FLAG_PENDING) ? "true" : "false", | 424 context->address, context->cd, cd_name(context->cd), |
425 (context->flags & FLAG_PENDING) ? "word" : (context->flags2 & FLAG2_BYTE_PENDING) ? "byte" : "none", | |
425 context->vcounter, context->hslot*2, (context->flags2 & FLAG2_VINT_PENDING) ? "true" : "false", | 426 context->vcounter, context->hslot*2, (context->flags2 & FLAG2_VINT_PENDING) ? "true" : "false", |
426 (context->flags2 & FLAG2_HINT_PENDING) ? "true" : "false", vdp_control_port_read(context)); | 427 (context->flags2 & FLAG2_HINT_PENDING) ? "true" : "false", vdp_control_port_read(context)); |
427 | 428 |
428 //TODO: Window Group, DMA Group | 429 //TODO: Window Group, DMA Group |
429 } | 430 } |