static void didaktik_memory_map( void ) { if( !didaktik80_active ) return; memory_map_romcs_8k( 0x0000, didaktik_memory_map_romcs_rom ); memory_map_romcs_4k( 0x2000, didaktik_memory_map_romcs_rom + MEMORY_PAGES_IN_8K ); memory_map_romcs_2k( 0x3000, didaktik_memory_map_romcs_rom + MEMORY_PAGES_IN_12K ); memory_map_romcs_2k( 0x3800, didaktik_memory_map_romcs_ram ); }
static void opus_memory_map( void ) { if( !opus_active ) return; memory_map_romcs_8k( 0x0000, opus_memory_map_romcs_rom ); memory_map_romcs_2k( 0x2000, opus_memory_map_romcs_ram ); /* FIXME: should we add mirroring at 0x2800, 0x3000 and/or 0x3800? */ }