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

Function dumpcustom

src/custom.cpp:6993–7012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6991}
6992
6993void dumpcustom(void)
6994{
6995 console_out_f(_T("DMACON: $%04x INTENA: $%04x ($%04x) INTREQ: $%04x ($%04x) VPOS: %03d ($%03x) HPOS: %03d ($%03x)\n"),
6996 DMACONR(),
6997 intena, intena, intreq, intreq, vpos, vpos, current_hpos(), current_hpos());
6998 console_out_f(_T("INT: $%04x IPL: %d\n"), intena & intreq, intlev());
6999 console_out_f(_T("COP1LC: $%08x, COP2LC: $%08x COPPTR: $%08x\n"), cop1lc, cop2lc, cop_state.ip);
7000 console_out_f(_T("DIWSTRT: $%04x DIWSTOP: $%04x DDFSTRT: $%04x DDFSTOP: $%04x\n"),
7001 diwstrt, diwstop, ddfstrt, ddfstop);
7002 console_out_f(_T("BPLCON 0: $%04x 1: $%04x 2: $%04x 3: $%04x 4: $%04x LOF=%d/%d VDIW=%d\n"),
7003 bplcon0, bplcon1, bplcon2, bplcon3, bplcon4,
7004 lof_display, lof_store,
7005 vdiwstate == diw_states::DIW_waiting_start ? 0 : 1);
7006 if (timeframes && vsync_counter) {
7007 console_out_f(_T("Average frame time: %.2f ms [frames: %d time: %d]\n"),
7008 (double)frametime / timeframes, vsync_counter, frametime);
7009 if (total_skipped)
7010 console_out_f(_T("Skipped frames: %d\n"), total_skipped);
7011 }
7012}
7013
7014/* mousehack is now in "filesys boot rom" */
7015static uae_u32 REGPARAM2 mousehack_helper_old(struct TrapContext *ctx)

Callers 1

debug_lineFunction · 0.85

Calls 4

DMACONRFunction · 0.85
current_hposFunction · 0.85
intlevFunction · 0.70
console_out_fFunction · 0.50

Tested by

no test coverage detected