The 8051 is a very well understood device and is still in production. In fact, there are many advanced versions that have internal flash and RAM memory and are far easier to use. But they still share the same architecture.
https://www.nxp.com/docs/en/brochure/75015973.pdfThe L6219 motor driver is not unlike any other bipolar stepper motor driver. Figure 4 needs a lot of thought because it shows 1/3 current position holding, 1/2 current low speed and full speed. Notice all the clocking shown in the middle panel. This will take a little experimenting to figure out. But it's all laid out and there is an application example. Note that current is limited to 1A peak and 0.75A continuous. That's not a lot!
Speed control is done by the rate at which pulses are sent to the driver - step commands. This implies the use of at least one internal timer and some way to programmatically control the rate. Timing (and interrupts) are everything.
https://www.st.com/resource/en/datasheet/l6219.pdfThere should be a ton of information on driving stepper motors with a uC. Not necessarily an 8051 but the logic will be the same even if the code is totally different.
The TLC7528 DAC is a 2 channel parallel load DAC. The application information in Figure 3 and Figure 4 is quite complete. Again, a breadboard and some experimental code will be required.
I'm not sure what the DAC is doing relative to a stepper motor but I don't know anything about the end application either.
https://www.ti.com/lit/ds/symlink/tlc7528.pdfIt seems to me the OP needs to know a good deal more about the overall architecture of the existing boards. A wee bit of reverse engineering will probably be required. But the real work will be in writing the code. Step one is to get all of the components talking together and step two is to get them to work in a real application. This isn't going to happen overnight. There's a lot to learn by reverse engineering even if the code isn't available. How did the thing work? What are the limitations of the application? How do I apply one of the newer 8051 clones so I can get out of the EPROM business? I want onboard flash and RAM! How much did the original board have.
I might go so far as to walk away from the 8051 architecture and just use an ARM chip because the tools are more readily available and the processor is much more capable. I really didn't like programming for an 8051 clone, even in Pascal (which I love). That lower memory thing is a bother!
If the existing board uses external EPROMs, it will be easy to extract the code - not that it will be fun - but it should be possible to get to an assembly level. Of course, given an optimizing C compiler, the assembly language will still be obscure.
Given that I am kind of lazy, I would probably design a brand new system using an ARM even if I did wind up using the same peripherals. Of course, 3.3V vs 5.0V will jump up and bite me in the butt.