Have you heard of ponyprog ? The hardware is simple to make (uses 74HC244) and as far as I remember it can program some ATMEL 8051 like AT89S53 / AT89C8252.
Please download the software and see the uC options in the GUI.
If not than you must buy dedicated 8051 programmer which are available on the internet.