At one point you mention a MYIDE ROM. I’m not familiar with that.
FFFF = CPM EQU TRUE ;TRUE IF OUTPUT VIA CPM, FALSE IF DIRECT TO HARDWARE
The next issue is how are you going to communicate with the keyboard/CRT/LCD display. If the equate for CPM=TRUE, communications will be via standard CPM/BDOS calls. However in cases where you do not yet have CPM up and running, if the CPM equate is set to FALSE, output will go to directly your console ports. These need to be set to their correct values. The code is very simple and straightforward. Its menu driven.