    DEVICE ZXSPECTRUM48
     ORG $8000
    di
    ld sp,0

    ld a, 14

case3:
    cp 3
    jr nz, case5
    ld c,7
    jr fin_switch ;maximo 128 lineas
case5:
    cp 5
    jr nz, default
    ld d,9
    jr fin_switch
default:
    ld hl, 400
fin_switch:

    ld a,5
    out ($FE),a

fin: jr fin



