300g/11oz cooking apples, such as Bramley apples, peeled, cores removed, thickly sliced
450g/1lb floury potatoes, such as King Edward or Maris Piper, peeled, thickly sliced
2 onions, peeled, finely sliced
8 sprigs fresh sage leaves, chopped
2 tbsp plain flour, plus extra for dusting
3 tbsp semolina flour
salt and freshly ground black pepper
2-3 tbsp soft brown sugar
110ml/4fl oz double cream
1 egg, beaten
500g/1lb 2oz ready-made shortcrust pastry
300g/11oz cooked ham, thickly sliced
110ml/4fl oz dry cider