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

Function make_csbits

source/NTSC_CharSet.cpp:289–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287//-------------------------------------
288
289void make_csbits(void)
290{
291 get_csbits(&csbits_pravets82[0], IDB_CHARSET82, 0); // Pravets 82
292 get_csbits(&csbits_pravets8M[0], IDB_CHARSET8M, 0); // Pravets 8M
293 get_csbits(&csbits_pravets8C[0], IDB_CHARSET8C, 0); // Pravets 8A / 8C: Alt char set off
294 get_csbits(&csbits_pravets8C[1], IDB_CHARSET8C, 16); // Pravets 8A / 8C: Alt char set on
295
296 VideoRomForIIandIIPlus(); // GH#1308
297 VideoRomForIIeEnhanced(); // GH#1308
298
299 // Original //e is just Enhanced //e with the 32 mousetext chars [0x40..0x5F] replaced by the non-alt charset chars [0x40..0x5F]
300 memcpy(csbits_2e, csbits_enhanced2e, sizeof(csbits_enhanced2e));
301 memcpy(&csbits_2e[1][64], &csbits_2e[0][64], 32*8);
302
303 VideoRomForIIJPlus(); // GH#773
304 VideoRomForBase64A(); // GH#806
305
306 // Try to use any user-provided video ROM for Original/Enhanced //e
307 userVideoRomForIIe();
308
309 // Try to use any user-provided video ROM for II/II+
310 userVideoRomForIIPlus();
311}
312
313csbits_t Get2e_csbits(void)
314{

Callers 1

NTSC_VideoInitFunction · 0.85

Calls 7

get_csbitsFunction · 0.85
VideoRomForIIandIIPlusFunction · 0.85
VideoRomForIIeEnhancedFunction · 0.85
VideoRomForIIJPlusFunction · 0.85
VideoRomForBase64AFunction · 0.85
userVideoRomForIIeFunction · 0.85
userVideoRomForIIPlusFunction · 0.85

Tested by

no test coverage detected