Andrea releases a bunch of patches for this that and the other, but especially for video device drivers. His kernel fb patches are in the contrib directory of AdvanceCD. HIs svgalib patches are in the contrib directory of the AdvanceMAME source.
To apply the patch, change to the source directory that needs to be patched, like say
svgalib-1.9.19
and then issue the command
patch -p1 < $ADVANCEMAMEDIR/contrib/patch-version.diff
where ADVANCEMAMEDIR= the directory of your advancemame source and patch is the patch you want to install.
To compile svgalib you need to install the linux sources that came with your distribution. svgalib looks for the linux headers in /usr/src/linux
if they aren't there it won't compile
If you compile with gcc-2.95.3 (follow LFS website for install of 2.95.3), then you would compile svgalib using the following commands
rpm ivh your-linux-src
tar xvzf advancemame-version*.gz -C /usr/src
tar xvzf svgalib-version*.gz -C /usr/src
cd /usr/src/svgalib-version
patch -p1 < ../advancemame-version/contrib/patch-version.diff
make CC=/opt/gcc-2.95.3/bin/gcc install
insmod kernel/svgalib_helper/svgalib_helper.o
lsmod
if everthing went well you should see the svgalib_helper module there.
Then you need to edit /etc/vga/libvga.conf and change the horizsync and vertrefresh to something like
HorizSync 15 32.5
VertRefresh 50 85
then compile advancemame
cd /usr/src/advancemame-version
./configure
make && make install
PATH=$PATH:/usr/local/bin
then use my advmame.rc config and you should be up and running. unfortunately i couldn't get the advcfg.exe utlity to work, so you'll have to edit the advmame.rc file manually, which is no big deal. Just use my values.
YOU HAVE TO COMPILE SVGALIB (and alsa for that matter) USING THE SAME COMPILER THAT YOU COMPILED YOUR KERNEL WITH. Since I used 2.95.3, that's what I needed to use for svgalib. I normally don't bother with 2.95.3, but it did make a difference in the fb driver I tested earlier, so it might be worth the extra trouble.
Beaware that I haven't tested this mess completely. I got it running and then stopped to eat. I'll give it some more time tonight, after a beer or two

I forgot to mention, you need to use the advancemame source, not a precompiled binary.