# WARNING: This overwrites \_ISO\MyE2B.cfg which must be present!

iftitle [if exist /_ISO/MyE2B.cfg] Blue Theme\n Change to the Blue Theme
set CHOSEN=blue.cfg
echo
echo Overwriting \_ISO\MyE2B.cfg file with \_ISO\docs\mythemes\%CHOSEN%...
# fill (rd) with 0's , 0x82d0 is rd-base mem address, Fn24 is memset - fill memory  <addr> <string> <size>
map (md)0x300+200 (rd) > nul ;; read 0x82d0 > nul ;; call Fn.24  %@retval% 0x20  102400 > nul 
dd if=(rd)+1 of=()/_ISO/MYE2B.cfg > nul
if exist ()/_ISO/docs/mythemes/%CHOSEN% dd if=()/_ISO/docs/mythemes/%CHOSEN% of=()/_ISO/MyE2B.cfg > nul
if exist ()/_ISO/docs/mythemes/%CHOSEN% chainloader /grldr
boot

