Into a large bowl sift together cornmeal, flour, sugar, salt, baking soda, and baking powder. Put butter in a well seasoned 8-inch cast iron skillet or a 1-quart baking dish and heat in middle of oven until melted. Swirl skillet or baking dish to coat bottom and sides with butter and pour excess into another large bowl.