MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / Get2e_csbits

Function Get2e_csbits

source/NTSC_CharSet.cpp:313–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313csbits_t Get2e_csbits(void)
314{
315 const csbits_t videoRom4K = (GetApple2Type() == A2TYPE_APPLE2E) ? csbits_2e : csbits_enhanced2e;
316
317 if (GetVideo().IsVideoRom4K()) // 4K means US-only, so no secondary PAL video ROM
318 return videoRom4K;
319
320 return GetVideo().GetVideoRomRockerSwitch() == false ? videoRom4K : csbits_2e_pal; // NB. Same PAL video ROM for Original & Enhanced //e
321}

Callers 1

set_csbitsFunction · 0.85

Calls 3

GetApple2TypeFunction · 0.85
IsVideoRom4KMethod · 0.80

Tested by

no test coverage detected