Final Burn Neo > FBN Development

What I've been working on (iq_132's work in progress)

(1/330) > >>

It's been pretty quiet from me for a while now...

One of the things I've been messing around with a bit is a "Virtual Memory Manager" for FBA-XXX. 
While it does have one already, I wanted to make an attempt at one myself and am quite happy
with the results.

Here's a short description of what my VMM does:

First, I allocate a structure holding information for each object (sprite/tile) such as size, when it was last used, and the offset in the data at which it is located, and a pointer to allocated ram for just this object. Next, I dump the data that we're trying to keep out of RAM and free the RAM it was loaded into. Then, in the drawing function, I make a call to my vmm_get_data function. The vmm_get_data function checks to see if we have enough free ram to load another object (the amount of ram available is definable), then it either frees some ram or starts looking to see if our object has already been read into ram.  If it is in ram already, we move it to the temporary malloc used by the drawing function, if it's not, we allocate some ram to put the object in, seek in the data file to the offset the object is located, read it into the allocated memory, and then move a copy of it into the temporary ram used by the drawing function.

While this may sound very slow, it seems to be fairly effective for games that take a great deal of memory, such as the PGM games.  Knights of Valour, Oriental Legend, etc. all work at a fairly steady rate (usually full speed [~59.97fps]), dropping in areas with excessively heavy sprite use.

The next project that's been eating up a lot of my time is a "Magical Cat Adventure" driver.  It's probably the most complicated drawing hardware I've tried to work with yet.  It has "line scrolling," and variably-sized sprites, meaning that it takes complex, slow drawing routines to draw them.  I've spent a lot of time making sure the routines are as fast as possible and take as little code as possible.  I've hit several roadblocks that have taken a great deal of time, such as a small glitch with the background layer -- part of it doesn't scroll correctly, and the second is that the other game on the hardware "Nostradamus" is having problems communicating with the Z80 -- I'm not entirely sure if this is related to some sort of doze bug or a timing issue.

I've also been working on completing a snk68 (P.O.W., Search and Rescue, Ikari III, and Street Smart) driver that I've had almost finished for ages.  I can't quite get the analog "spinner" inputs hooked up correctly using the mouse input.
I've ported, and re-ported a "Kangaroo" driver, but have had no luck fixing graphics issues, which, at this point, I am assuming are related to doze.
I started porting a Bubble Bobble driver (only some of the bootlegs work atm).

nice. It will be interesting to compare your xbox port with what I have in my build. I optimised the code a bit over the last version lantus and I wrote and it seems to run fullspeed on everything I have tried, although I am using a debug xbox so it has 128mb. Can't get it working in 1080i at a decent speed tho.

Your drivers should be interesting as well. I have been taking a look at the megadeive driver again and almost all the graphics problems I have found are fixed but the sound is going wrong with doze.sorry for spelling mistakes etc  I am posting from my phone and it doesnt like your board software much :)

Barry Harris:
Cool on all counts!

Megadrive fixes would be cool.

I've been working on a driver for Unico games.

Only Zero Point 2 left to add but that is rather different.

OMG! T__T a lot has happened here...I don't know where to post exactly so I will post here, in the latest thread.  I have to say that FBA have a load of cool stuff since the last time i used it and the things you have been working (IQ) are very nice too =)...

I have been very busy as IQ wrote in a recent post, most of the stuff is related with work, I have been doing PC repairs here at home and doing works outside but I havent find a stable job, one that i can be relaxed and say 'ok, now i can go back to all my hobbies''s not easy these days to get a job (it doesnt matter if I have 4.0 pts score)...sometimes I came here to check things but I just didnt want to lose focus of things i was doing in real life, like for example a comic story im writting for my future comic book series...its not like i have it completely done but its a WIP project, I still have to register / copyright chars and stuff.

Anyway, I will try to come here again, because I miss this place so much, I miss emulation T___T... probably I will not be able to make FBA modifications like i used to do but, I have some small ideas that probably can help the FBA original project, not to be better because its great as it is now ^^, but I just want to do small collaborations =)

BTW, I'm so sorry to dissapear like i dissapeared but it's just that I was having so much issues in real life and couldnt been on like i normally do. My desktop PC is fkd up too, and I have been using my laptop all this time and just recently i was able to buy a HDD converter so I can connect them to my laptop via USB and recover my old files and projects.

I hope to be online some more from now on guys, I hope all understand my situation =)

Take Care all!!

Ho, captain CPS-X. Welcome back :)


[0] Message Index

[#] Next page

Go to full version