def dic2blockheader(dic):
    """
    Convert a python dictionary into block header list.

    Does not repack status and mode from bit flags.
    """
    head = [0] * 9
    head[0] = dic['scale']
    head[1] = dic['status']
    head[2] = dic['index']
    head[3] = dic['mode']
    head[4] = dic['ctcount']
    head[5] = dic['lpval']
    head[6] = dic['rpval']
    head[7] = dic['lvl']
    head[8] = dic['tlt']
    return head
