According to this site hd44780_compatible [MIDIbox]
the controller chips referenced in the datasheet you linked are compatible, so the LCD code should work. You will need the 4 line version if you want to write to lines 3 & 4 .
oh,and a very happy new year to you ![]()