Robert was correct in pointing you to this OFFICIAL download archive for binaries and sources. MAMEDEV encourages only using later/current versions and/or compile tools. I'm assuming you tried to compile the older source with current (or more recent tools)? We do not carry any tools on MAMEDEV currently beyond the last few packages and they are located, or in a "Previous version" link at the bottom, here: https://www.mamedev.org/tools/
That said, there is a post here at MAMEWORLD which someone compiled a list of older tools and packages but hasn't been updated in quite a while. This may have something you can use. Setting up and using such packages, however, you are on your own: http://www.mameworld.info/ubbthreads/sh ... ber=207730
Beyond that there isn't much we can do to help with your issues. While OS's like Windows XP are still used by some, such support would likely disappear once MAME makes a move to support only 64-bit applications. Microsoft itself first started withdrawing support for XP nearly 10 years ago, not long after it's final Service Pack.
Regarding your original issue, I'm rather sure you have a graphics driver issue (new driver, older card). I seem remember about that time Nvidia/GeForce video cards had windows driver trouble which would cause MAME in some cases of later drivers at the time cause a system crash or "BSOD". You may want to rollback your graphics driver which worked for many at the time. Get some ideas googling "nv4_disp.dll mame".