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

Function frombcd

src/blkdev.cpp:84–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84uae_u8 frombcd (uae_u8 v)
85{
86 return (v >> 4) * 10 + (v & 15);
87}
88uae_u8 tobcd (uae_u8 v)
89{
90 return ((v / 10) << 4) | (v % 10);

Callers 7

dev_do_io_cdFunction · 0.85
fromlongbcdFunction · 0.85
scsi_cd_emulateFunction · 0.85
parsenrgFunction · 0.85
cdrom_subqFunction · 0.85
cdtv_front_panelFunction · 0.85
setsubchannelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected