Not a game libray but a game with source code: http://www.wieringsoftware.nl/mario/download.html (although it's for TP 5.5 and TP 6.0)
Maybe this can help.
Another question comes to mind: Why nowadays coding a game for DOS? There are really good game libraries for Delphi/Lazarus.