Searched refs:GB_IO_LCDC (Results 1 – 10 of 10) sorted by relevance
/dports/emulators/sameboy/SameBoy-0.14.7/Core/ |
H A D | display.c | 391 if (!(gb->io_registers[GB_IO_LCDC] & 0x80)) return; in GB_STAT_update() 471 bool height_16 = (gb->io_registers[GB_IO_LCDC] & 4) != 0; in add_object_from_index() 494 if (gb->io_registers[GB_IO_LCDC] & 0x10) { in data_for_tile_sel_glitch() 534 if ((gb->io_registers[GB_IO_LCDC] & 0x1) == 0) { in render_pixel_if_possible() 649 if (!(gb->io_registers[GB_IO_LCDC] & 0x20)) { in advance_fetcher_state_machine() 705 if (gb->io_registers[GB_IO_LCDC] & 0x10) { in advance_fetcher_state_machine() 746 if (gb->io_registers[GB_IO_LCDC] & 0x10) { in advance_fetcher_state_machine() 887 if (!(gb->io_registers[GB_IO_LCDC] & 0x80)) { in GB_display_run() 1036 if ((gb->io_registers[GB_IO_LCDC] & 0x20) && in GB_display_run() 1293 if ((gb->io_registers[GB_IO_LCDC] & 0x20) && in GB_display_run() [all …]
|
H A D | memory.c | 549 case GB_IO_LCDC: in read_high_memory() 1147 case GB_IO_LCDC: in write_high_memory() 1148 if ((value & 0x80) && !(gb->io_registers[GB_IO_LCDC] & 0x80)) { in write_high_memory() 1160 else if (!(value & 0x80) && (gb->io_registers[GB_IO_LCDC] & 0x80)) { in write_high_memory() 1167 if ((gb->io_registers[GB_IO_LCDC] & 2) && !(value & 2)) { in write_high_memory() 1174 gb->io_registers[GB_IO_LCDC] = value; in write_high_memory()
|
H A D | debugger.c | 1660 … GB_log(gb, " LCD enabled: %s\n",(gb->io_registers[GB_IO_LCDC] & 128)? "Enabled" : "Disabled"); in lcd() 1662 (gb->io_registers[GB_IO_LCDC] & 1)? "Enabled" : "Disabled"); in lcd() 1663 GB_log(gb, " Objects: %s\n", (gb->io_registers[GB_IO_LCDC] & 2)? "Enabled" : "Disabled"); in lcd() 1664 GB_log(gb, " Object size: %s\n", (gb->io_registers[GB_IO_LCDC] & 4)? "8x16" : "8x8"); in lcd() 1665 … GB_log(gb, " Background tilemap: %s\n", (gb->io_registers[GB_IO_LCDC] & 8)? "$9C00" : "$9800"); in lcd() 1666 …GB_log(gb, " Background and Window Tileset: %s\n", (gb->io_registers[GB_IO_LCDC] & 16)? "$8000"… in lcd() 1667 GB_log(gb, " Window: %s\n", (gb->io_registers[GB_IO_LCDC] & 32)? "Enabled" : "Disabled"); in lcd() 1668 GB_log(gb, " Window tilemap: %s\n", (gb->io_registers[GB_IO_LCDC] & 64)? "$9C00" : "$9800"); in lcd() 1683 if (!(gb->io_registers[GB_IO_LCDC] & 0x80)) { in lcd()
|
H A D | sm83_cpu.c | 30 [GB_IO_LCDC] = GB_CONFLICT_CGB_LCDC, 47 [GB_IO_LCDC] = GB_CONFLICT_DMG_LCDC, 66 [GB_IO_LCDC] = GB_CONFLICT_SGB_LCDC, 245 if ((value ^ gb->io_registers[GB_IO_LCDC]) & 0x10) { in cycle_write() 383 if (gb->io_registers[GB_IO_LCDC] & 0x80 && gb->cgb_double_speed) { in stop()
|
H A D | timing.c | 400 if (gb->io_registers[GB_IO_LCDC] & 0x80) { in GB_advance_cycles()
|
H A D | gb.h | 215 GB_IO_LCDC = 0x40, // LCD Control (R/W) enumerator
|
H A D | save_state.c | 1013 GB_write_memory(&save, 0xFF00 + GB_IO_LCDC, core.io_registers[GB_IO_LCDC]); in load_bess_save()
|
H A D | apu.c | 152 if (gb->io_registers[GB_IO_LCDC] & 0x80) { in interference()
|
H A D | gb.c | 330 GB_write_memory(gb, 0xFF00 + GB_IO_LCDC, 0x80); in GB_gbs_switch_track()
|
/dports/emulators/sameboy/SameBoy-0.14.7/Cocoa/ |
H A D | Document.m | 1780 …uint8_t lcdc = ((uint8_t *)GB_get_direct_access(&gb, GB_DIRECT_ACCESS_IO, NULL, NULL))[GB_IO_LCDC];
|