|
|
|
|
|
|
|
|
case NESBank.ACCESSMODE_1K: |
|
|
case NESBank.ACCESSMODE_1K: |
|
|
ELSel.value = "1K"; break; |
|
|
ELSel.value = "1K"; break; |
|
|
break; |
|
|
break; |
|
|
|
|
|
case NESBank.ACCESSMODE_1T: |
|
|
|
|
|
ElSel.value = "1T"; break; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (ELSel.value !== "8K"){ |
|
|
if (ELSel.value !== "8K"){ |
|
|
|
|
|
|
|
|
SURF.access_mode = NESBank.ACCESSMODE_2K; break; |
|
|
SURF.access_mode = NESBank.ACCESSMODE_2K; break; |
|
|
case "1K": |
|
|
case "1K": |
|
|
SURF.access_mode = NESBank.ACCESSMODE_1K; break; |
|
|
SURF.access_mode = NESBank.ACCESSMODE_1K; break; |
|
|
|
|
|
case "1T": |
|
|
|
|
|
SURF.access_mode = NESBank.ACCESSMODE_1T; break; |
|
|
} |
|
|
} |
|
|
if (SURF.access_mode !== NESBank.ACCESSMODE_8K){ |
|
|
if (SURF.access_mode !== NESBank.ACCESSMODE_8K){ |
|
|
ELLab.classList.remove("hidden"); |
|
|
ELLab.classList.remove("hidden"); |