İ can write a program with rtx51 tiny and this circuit use 16 external I/O port mapped from a 74154. All code is work with RTX51tny. I can declare all port following table.
unsigned char xdata PORT1 _at_ 0x9c00; unsigned char xdata PORT2 _at_ 0xbc00;
But if i can change program base and code for RTX51 full this code not working.