Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext Thread**


SubjectTekhmaster, I need you help, about osd_update_video_and_audio Reply to this message
Posted byTerry.B
Posted on06/21/05 02:24 PM



Hello,

Since 2003 I had use MameCE3, I feel it great!
Now, I ready repot Mame 0.96 to PPC2005, first I cut down Drivers at desktop, it look work well, so I repot project to PPC, but when I ready render video, a trouble hitted me.

In video.c, from render_frame function to blit.c, at last, win_perform_blit function be call. At here have some asm function...you konw, I can't use it at ARM CPU.

That is fatal, my asm is poor, so I need rewrite win_perform_blit use strandard C, I konw win_perform_blit make a mame_bitmap switch to a DisplayDIB, at dib_draw_window function in windows.c, it use win_prepare_palette and win_determine_effect as params switch mame_bitmap'data to DisplayDIB, but I don't understand it's internal arithmetic, I consult XMAME and MacMAME, but them use asm too. so I read MameCE3's code, it's lucky, you use C do this work, but mame_bitmap then is osd_bitmap, and I only find GDIDisplay.c have some function for it. Infact, I want write a new fuction replace win_perform_blit.

Can you help we get a start? I hope understand whole process for a mame_bitmap switch to a DisplayDIB.

Thanks!