I had a look at hardware scrolling too.
Unfortunately you only have one scrolling playfield and the frame pointer is the same for all regions.
For arcade game style scrolling I think you're best off using the blitter for your playfields and sprites redrawing the screen each time. The blitter can...
Hi there
Does anyone know how to link to the floating point maths lib?
I'm trying to get LUA compiling and it needs all the standard C floating point maths functions.
Cheers,
Mark.
P.S. I know floats are not the way to go on ARM9 so lets not go down that route with this thread.
Assembler isn't complicated in itself but when you start writing larger programs it does get complex, it's why C was invented!
ARM assembler isn't the best to start learning assembler as it was designed for compilers not assembler programming. 6502,Z80 or even x86 is better to start off. A lot...
The first step in optimizing is finding out which areas need optimization.
If I were you I'd write some profiling code and profile the various aspects of the emulator.
Could you give us some more info?
Is it an SDL port?
What is the spec of the Neo-Geo?
Cheers,
Mark.
One thing I would like to point out is that even though not many commercial developers are releasing products for the GP2X, don't think that their programmers aren't writing games, emulators etc. for it as a hobby ;)
The problem is that the blitter needs to know the physical address of the source data. Stuff that get malloced through the OS goes through the virtual table so you can't find the physical address from the pointer.
Reserve some memory after the frame buffer and write an incremental malloc for...
That's great! For a 320x240 screen that's a large fill-rate.
In the manual it says that the blitter registers are double buffered so you should be able to put your 'wait' in just before you despatch the next blitter command.
I got mine working now, hooray!
I'd done everything correctly but I hadn't set the MESGSTATUS bit, bloody docs!
I think it would be a good idea to set up a page in the wiki about this so that other people don't go through the problems we've had.
Has anyone put the blitter through it's paces to...
Got it working! (I wasn't setting MLC_OVLAY_CNTR).
All the regions seem to display the same frame buffer, can't see much point in it to be honest except for fading in regions of the screen.
Hooray! I'm finally getting things working! (although I still can't get the bloody blitter to do anything!)
Hi
I've been messing around with the display regions using the video post processor.
I only seem to be able to get region 1 working properly.
When I enable the other regions all I get is black for them so they are displaying but I only seem to be getting black.
There is a register for setting...
Sorry but I won't be in tonight. I'll try and come up with a comprehensive test app at some point today or tomorrow and send it to you.
Where did you get you're serial cable?
The serial cable sounds like the best plan to me.
Does this mean I can access a command shell on the GP2X?
Also can I send new .gpe files over to it using ftp?