MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / BEAMCON0

Function BEAMCON0

src/custom.cpp:3402–3423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3400}
3401
3402static void BEAMCON0(uae_u16 v)
3403{
3404 if (ecs_agnus) {
3405 bool beamcon0_changed = false;
3406 if (v != new_beamcon0) {
3407 new_beamcon0 = v;
3408 write_log(_T("BEAMCON0 = %04X, PC=%08X\n"), v, M68K_GETPC);
3409 // not LPENDIS, LOLDIS, PAL, BLANKEN, SYNC INVERT
3410 if (v & ~(BEAMCON0_LPENDIS | BEAMCON0_LOLDIS | BEAMCON0_PAL | BEAMCON0_BLANKEN | BEAMCON0_CSYTRUE | BEAMCON0_VSYTRUE | BEAMCON0_HSYTRUE)) {
3411 dumpsync();
3412 }
3413 beamcon0_changed = true;
3414 beamcon0_saved = v;
3415 check_harddis();
3416 update_agnus_vb();
3417 }
3418 if (beamcon0_changed) {
3419 init_beamcon0();
3420 }
3421 need_vdiw_check = true;
3422 }
3423}
3424
3425static void check_exthblank(void)
3426{

Callers 1

custom_wput_agnusFunction · 0.85

Calls 5

dumpsyncFunction · 0.85
check_harddisFunction · 0.85
update_agnus_vbFunction · 0.85
init_beamcon0Function · 0.85
write_logFunction · 0.70

Tested by

no test coverage detected