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

Function ide_generic_check

src/idecontrollers.cpp:2301–2310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2299 return ide->rom + addr;
2300}
2301static int REGPARAM2 ide_generic_check(uaecptr a, uae_u32 b)
2302{
2303 struct ide_board *ide = getideboard(a);
2304 if (!ide)
2305 return 0;
2306 a &= ide->rom_mask;
2307 if (a >= ide->rom_start && a + b < ide->rom_size)
2308 return 1;
2309 return 0;
2310}
2311
2312static addrbank ide_bank_generic = {
2313 ide_generic_lget, ide_generic_wget, ide_generic_bget,

Callers

nothing calls this directly

Calls 1

getideboardFunction · 0.85

Tested by

no test coverage detected