src/mess/video/cdp1862.c
| r3958 | r3959 | |
| 132 | 132 | assert(device != NULL); |
| 133 | 133 | assert(device->tag != NULL); |
| 134 | 134 | assert(strlen(device->tag) < 20); |
| 135 | assert(device->clock > 0); |
| 135 | 136 | |
| 136 | 137 | cdp1862->intf = device->static_config; |
| 137 | 138 | |
| 138 | 139 | assert(cdp1862->intf != NULL); |
| 139 | | assert(cdp1862->intf->clock > 0); |
| 140 | 140 | |
| 141 | 141 | /* get the screen device */ |
| 142 | 142 | cdp1862->screen = device_list_find_by_tag(device->machine->config->devicelist, VIDEO_SCREEN, cdp1862->intf->screen_tag); |
src/mess/video/crtc_ega.c
| r3958 | r3959 | |
| 724 | 724 | assert(device != NULL); |
| 725 | 725 | assert(device->tag != NULL); |
| 726 | 726 | assert(strlen(device->tag) < 20); |
| 727 | assert(device->clock > 0); |
| 727 | 728 | |
| 728 | 729 | crtc_ega->intf = device->static_config; |
| 729 | 730 | crtc_ega->device_type = device_type; |
| 730 | 731 | |
| 731 | 732 | if (crtc_ega->intf != NULL) |
| 732 | 733 | { |
| 733 | | assert(crtc_ega->intf->clock > 0); |
| 734 | 734 | assert(crtc_ega->intf->hpixels_per_column > 0); |
| 735 | 735 | |
| 736 | 736 | /* copy the initial parameters */ |
| 737 | | crtc_ega->clock = crtc_ega->clock; |
| 738 | 737 | crtc_ega->hpixels_per_column = crtc_ega->intf->hpixels_per_column; |
| 739 | 738 | |
| 740 | 739 | /* get the screen device */ |
src/mess/video/zx8301.c
| r3958 | r3959 | |
| 236 | 236 | assert(device != NULL); |
| 237 | 237 | assert(device->tag != NULL); |
| 238 | 238 | assert(strlen(device->tag) < 20); |
| 239 | assert(device->clock > 0); |
| 239 | 240 | |
| 240 | 241 | zx8301->intf = device->static_config; |
| 241 | 242 | |
| 242 | 243 | assert(zx8301->intf != NULL); |
| 243 | | assert(zx8301->intf->clock > 0); |
| 244 | 244 | assert(zx8301->intf->on_vsync_changed != NULL); |
| 245 | 245 | assert(zx8301->intf->ram_r != NULL); |
| 246 | 246 | assert(zx8301->intf->ram_w != NULL); |
src/mess/video/cdp1864.c
| r3958 | r3959 | |
| 360 | 360 | assert(device != NULL); |
| 361 | 361 | assert(device->tag != NULL); |
| 362 | 362 | assert(strlen(device->tag) < 20); |
| 363 | assert(device->clock > 0); |
| 363 | 364 | |
| 364 | 365 | cdp1864->intf = device->static_config; |
| 365 | 366 | |
| 366 | 367 | assert(cdp1864->intf != NULL); |
| 367 | | assert(cdp1864->intf->clock > 0); |
| 368 | 368 | assert(cdp1864->intf->on_int_changed != NULL); |
| 369 | 369 | assert(cdp1864->intf->on_dmao_changed != NULL); |
| 370 | 370 | assert(cdp1864->intf->on_efx_changed != NULL); |
src/mess/video/cdp1861.c
| r3958 | r3959 | |
| 192 | 192 | assert(device != NULL); |
| 193 | 193 | assert(device->tag != NULL); |
| 194 | 194 | assert(strlen(device->tag) < 20); |
| 195 | assert(device->clock > 0); |
| 195 | 196 | |
| 196 | 197 | cdp1861->intf = device->static_config; |
| 197 | 198 | |
| 198 | 199 | assert(cdp1861->intf != NULL); |
| 199 | | assert(cdp1861->intf->clock > 0); |
| 200 | 200 | assert(cdp1861->intf->on_int_changed != NULL); |
| 201 | 201 | assert(cdp1861->intf->on_dmao_changed != NULL); |
| 202 | 202 | assert(cdp1861->intf->on_efx_changed != NULL); |