Mercurial > repos > blastem
comparison vdp.h @ 1377:e587f16e7d3d
Implemented SMS pause button
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 28 May 2017 21:03:55 -0700 |
parents | 5b20840711c1 |
children | b56c8c51ca5d |
comparison
equal
deleted
inserted
replaced
1376:70d88d9bfe13 | 1377:e587f16e7d3d |
---|---|
57 #define FLAG2_READ_PENDING 0x04 | 57 #define FLAG2_READ_PENDING 0x04 |
58 #define FLAG2_SPRITE_COLLIDE 0x08 | 58 #define FLAG2_SPRITE_COLLIDE 0x08 |
59 #define FLAG2_REGION_PAL 0x10 | 59 #define FLAG2_REGION_PAL 0x10 |
60 #define FLAG2_EVEN_FIELD 0x20 | 60 #define FLAG2_EVEN_FIELD 0x20 |
61 #define FLAG2_BYTE_PENDING 0x40 | 61 #define FLAG2_BYTE_PENDING 0x40 |
62 #define FLAG2_PAUSE 0x80 | |
62 | 63 |
63 #define DISPLAY_ENABLE 0x40 | 64 #define DISPLAY_ENABLE 0x40 |
64 | 65 |
65 enum { | 66 enum { |
66 REG_MODE_1=0, | 67 REG_MODE_1=0, |
236 uint16_t vdp_test_port_read(vdp_context * context); | 237 uint16_t vdp_test_port_read(vdp_context * context); |
237 void vdp_adjust_cycles(vdp_context * context, uint32_t deduction); | 238 void vdp_adjust_cycles(vdp_context * context, uint32_t deduction); |
238 uint32_t vdp_next_hint(vdp_context * context); | 239 uint32_t vdp_next_hint(vdp_context * context); |
239 uint32_t vdp_next_vint(vdp_context * context); | 240 uint32_t vdp_next_vint(vdp_context * context); |
240 uint32_t vdp_next_vint_z80(vdp_context * context); | 241 uint32_t vdp_next_vint_z80(vdp_context * context); |
242 uint32_t vdp_next_nmi(vdp_context *context); | |
241 void vdp_int_ack(vdp_context * context); | 243 void vdp_int_ack(vdp_context * context); |
242 void vdp_print_sprite_table(vdp_context * context); | 244 void vdp_print_sprite_table(vdp_context * context); |
243 void vdp_print_reg_explain(vdp_context * context); | 245 void vdp_print_reg_explain(vdp_context * context); |
244 void latch_mode(vdp_context * context); | 246 void latch_mode(vdp_context * context); |
245 uint32_t vdp_cycles_to_frame_end(vdp_context * context); | 247 uint32_t vdp_cycles_to_frame_end(vdp_context * context); |
246 void write_cram(vdp_context * context, uint16_t address, uint16_t value); | 248 void write_cram(vdp_context * context, uint16_t address, uint16_t value); |
247 void vdp_check_update_sat_byte(vdp_context *context, uint32_t address, uint8_t value); | 249 void vdp_check_update_sat_byte(vdp_context *context, uint32_t address, uint8_t value); |
250 void vdp_pbc_pause(vdp_context *context); | |
248 | 251 |
249 #endif //VDP_H_ | 252 #endif //VDP_H_ |