8x8 tiles make me wet myself

Published August 07, 2005
Advertisement
Well I've been really busy at work, but I managed to get sprites and tile backgrounds working.



(All the program does is load the sprites and tiles to VRAM. Mario does not actually move)

Not all the features have been implemented. For example the coin sprite in the top part of the screen should be scaled down.

Still haven't been able to run anybody elses programs. [headshake]
I've been doing some run-time disassembling and it seems like most of the opcode functions are TOTALLY SCREWED! For example "mov r7,r3" which should move the value of register 3 into register 7 instead loads register 0 with totally random values and I have no idea why [crying]
Previous Entry Work = :(
0 likes 4 comments

Comments

Ravuya
shouldn't mov r7,r3 copy the contents of r7 into r3 and not the other way around?

you should check for uninitialized variables.
August 07, 2005 10:28 AM
Scet
no mov is "MOV Rd,Op2 where Rd:=Op2" so it's r7=r3. I know, all these different arrangements in assembly is confusing.

By "uninitialized variables" do you mean un-allocated pointers? The only pointers I use are for textures and vram which I've made sure are set since it dies horribly if not, and GBA memory which is allocated when the ROM is loaded.

I'll put a range check in for Op2 to make sure it's not above 15 when accessing registers or it might be someting wrong with the shifter(GBA shifting is weird).
August 07, 2005 10:43 AM
noaktree
Despite your problems (I'm talking about the mov bugs) I think your work is quite impressive. I can't wait to try Mortal Konsole on it. [grin]
August 07, 2005 01:06 PM
Rob Loach
I like how you have the Super Nintendo version of Mario in the Nintendo version of his world.
August 08, 2005 03:44 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement