Twilighte board : software documentation

There is 4 registers : 2 for ch376 (#340 & #341)

2 registers for twilight board firmware.

#342 :

  • b0,b1,b2,b3 : firmware version
  • b5 : 0 rom set, 1 ram set
  • b4 : not used
  • b6 : 0 : banking set mode, 1 linear banking (all banks are available) (not available in firmware 3 version)

#343 : Switch set register

  • b0,b1 : define 16KB*4 set (4 sets of 64 KB)

See twil command source code to understand how it works : https://github.com/orix-software/shell/blob/master/src/commands/twil.asm