Mapped the front panel to I/O addresses 24-27 (dec). The NASCOM basic uses INP to read I/O ports and OUT to write I/O ports.
Writing to address 24 (dec) writes to the bottom LEDs. Writing to address 27 (dec) writes to the top row of LEDs.
Reading address 24 (dec) reads the bottom switches. Reading address 27 (dec) reads the top row of LEDs.
Of course, the other two sets of 8 LEDs and switches are at 25 (dec) and 26 (dec).