I am sorry, but I am too incompetent/lazy to mess with it anymore.
Sound uses opl emulator - I have no idea how it works, a lot of magic numbers and low level bitwise operations. I gave up.
Screen height looks hard coded, played a little with these macros - now looks mostly neat, but crashes...