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

Function memory_map_dump_2

src/debug.cpp:5678–5704  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5676}
5677
5678static void memory_map_dump_2 (int log)
5679{
5680 UaeMemoryMap map;
5681 memory_map_dump_3(&map, log);
5682#if 0
5683 for (int i = 0; i < map.num_regions; i++) {
5684 TCHAR txt[256];
5685 UaeMemoryRegion *r = &map.regions[i];
5686 int size = r->size / 1024;
5687 TCHAR size_ext = 'K';
5688 int mirrored = 1;
5689 int size_out = 0;
5690 _sntprintf(txt, sizeof txt, _T("%08X %7u%c/%d = %7u%c %s\n"), r->start, size, size_ext,
5691 r->flags & UAE_MEMORY_REGION_RAM, size, size_ext, r->name);
5692 if (log)
5693 write_log (_T("%s"), txt);
5694 else
5695 console_out (txt);
5696 if (r->rom_name[0]) {
5697 if (log)
5698 write_log (_T("%s"), r->rom_name);
5699 else
5700 console_out (r->rom_name);
5701 }
5702 }
5703#endif
5704}
5705
5706void memory_map_dump (void)
5707{

Callers 2

memory_map_dumpFunction · 0.85
debug_lineFunction · 0.85

Calls 3

memory_map_dump_3Function · 0.85
write_logFunction · 0.70
console_outFunction · 0.50

Tested by

no test coverage detected