It was a TSR (terminate and stay resident, esentially a background process) that you'd load before firing up the game.
Once in the game, at any time you could press a hot key (F12, I think) and it would freeze the game and open a TUI with a hex editor where you could search for values (money, number of lives, whatever else you could think of), change them and go back to the game.
Fun days!