initialise the frame table in init.c