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

Function ide_generic_lget

src/idecontrollers.cpp:2266–2275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2264 return 0;
2265}
2266static uae_u32 REGPARAM2 ide_generic_lget (uaecptr addr)
2267{
2268 struct ide_board *ide = getideboard(addr);
2269 if (ide) {
2270 uae_u32 v = ide_read_word(ide, addr) << 16;
2271 v |= ide_read_word(ide, addr + 2);
2272 return v;
2273 }
2274 return 0;
2275}
2276static uae_u32 REGPARAM2 ide_generic_wgeti(uaecptr addr)
2277{
2278 struct ide_board *ide = getideboard(addr);

Callers

nothing calls this directly

Calls 2

getideboardFunction · 0.85
ide_read_wordFunction · 0.85

Tested by

no test coverage detected