| Previous | 199869 Revisions | Next |
| r31983 Monday 8th September, 2014 at 06:03:27 UTC by Fabio Priuli |
|---|
| another small antic bit. nw. |
| [src/mame/includes] | atari.h |
| [src/mame/video] | antic.c atari.c |
| r31982 | r31983 | |
|---|---|---|
| 562 | 562 | void antic_start(running_machine &machine); |
| 563 | 563 | void antic_vstart(running_machine &machine); |
| 564 | 564 | void antic_reset(void); |
| 565 | void antic_render(address_space &space, | |
| 565 | void antic_render(address_space &space, int param1, int param2, int param3); | |
| 566 | 566 | |
| 567 | 567 | |
| 568 | 568 | #endif /* ATARI_H */ |
| r31982 | r31983 | |
|---|---|---|
| 394 | 394 | { |
| 395 | 395 | address_space &space = machine().device("maincpu")->memory().space(AS_PROGRAM); |
| 396 | 396 | |
| 397 | VIDEO *video = antic.video[antic.scanline]; | |
| 398 | 397 | LOG((" @cycle #%3d render mode $%X lines to go #%d\n", cycle(), (antic.cmd & 0x0f), antic.modelines)); |
| 399 | 398 | |
| 400 | antic_render(space, | |
| 399 | antic_render(space, m_antic_render1, m_antic_render2, m_antic_render3); | |
| 401 | 400 | |
| 402 | 401 | /* if player/missile graphics is enabled */ |
| 403 | 402 | if( antic.scanline < 256 && (antic.w.dmactl & (DMA_PLAYER|DMA_MISSILE)) ) |
| r31982 | r31983 | |
|---|---|---|
| 1079 | 1079 | } |
| 1080 | 1080 | }; |
| 1081 | 1081 | |
| 1082 | void antic_render(address_space &space, | |
| 1082 | void antic_render(address_space &space, int param1, int param2, int param3) | |
| 1083 | 1083 | { |
| 1084 | VIDEO *video = antic.video[antic.scanline]; | |
| 1084 | 1085 | (*renderer[param1][param2][param3])(space, video); |
| 1085 | 1086 | } |
| 1086 | 1087 |
| Previous | 199869 Revisions | Next |