could you give us the complete code of your project and the diagrams? thus we would have finally an example of code in pbp for the KS0108.
thanks