Hi guys,
i finally got somewhere with one of my projects, but i have to confess i'm having a few difficulties i was hoping someone might aid me with?
i am feeling a horrid result of having programmed entirely on winuae.
having got a workable game ready to try out on kaillera-winuae for online play, i thought i'd better test my game on my real amiga.... just to ensure i used a suitable realistic setup.
Oh how lovingly it ran... 4 players all on screen at once and not an ounce of slowdown. in fact, probably running a bit quicker than i wanted.
oh well... that's what you would expect from an A1200 68030 (50 mhz) with 24 meg of fastam.
then came the real test (eeek!) a1200 020 - no fast ram....
oh dear. it seemed capable at first, but slowed heavily with more than one bob on screen.
i've coded my game loop in such a way that after X number of cycles, it does a VBL wait and a BOB UPDATE.... so i can make the game more playbale with this... but it is rather like some kind of crude frameskip..
i was wondering if anyone could have a look at my code and tell me if there is anything in particular that's causing the game to run so slow.
Is it that the engine is just "heavy"? is it the bob function being slow? am i mindlessly repeating tasks i dont need to? am i timing the thing the wrong way entirely? is it just AMOS programs and 32 colours being slow generally?
i just dont know, and would really appriciate anyone having a quick look to see if they can spot an obvious problem.
It's very modular, and -fairly- well commented... so hopefully it shouldnt be too difficult to navigate.
thanks to anyone who takes the time to look.
http://www.djcresswell.com/hbexe.zip