You are not logged in.
Pages: 1
http://hax.iimarck.us/post/12336/#p12336 (GameBoy Assembly section)
Search the board if something isn't clear.
Offline
The fastest way to learn how stuff works is by looking at real code. Chances are something you're trying to do has already been done and you can just call a stock function.
what are those ld , dr etc.?(if possible give list of these commands)
http://marc.rawer.de/Gameboy/Docs/Opcodes.htm
What is pushing and popping?
If you want to save a register pair for later, you can do
push hl
do stuff with hl
pop hl
Last edited by comet (2014-01-12 12:31:04)
Offline
http://www.pastraiser.com/cpu/gameboy/g … codes.html
ld <x>,<y> loads y into x. x can be a register, a register pair, an address, or the value of a certain address. y can also be a literal.
push <register> saves the content of the register into the stack, so that you can recover its content later with pop <register>, regardless of what you did with the register in-between. More or less.
Offline
Offline
I have the same problem @Kumar, i tried so much time to put the running shoes but when i'm in the middle of the tutorial...I get wrapped haha.
RaltVus is back.
I'm not hacking in the moment, but i always had ideas to give. Just ask me if you want.
Offline
How to start with it?
I have the same problem @Kumar
You guys need to stop asking questions like this. The answer for "How to start with it?" is read. Everyone has given you plenty of links and done their best to answer vague questions.
Learning this stuff isn't going to happen over night. You have to put in the effort. Try reading and then re-reading every link you can find on this information.
Then when something doesn't make sense, you can come back to this thread and ask a clear, specific question that will be easy for one of us to answer.
You said you want to know how to start with it, and this is how.
Offline
How to start with it?
I have the same problem @Kumar
First, can your repoint and find pointers, can you make a fully good script???
If your can't make these things, is really hard it can your understand the Assemblery languaje.
Offline
@Danny-E 33:
I don't made any question, just made an comment.
And i read all the stuff that they give me.
RaltVus is back.
I'm not hacking in the moment, but i always had ideas to give. Just ask me if you want.
Offline
It's just like Danny said,
Learning this stuff isn't going to happen over night. You have to put in the effort.
None of you is ever going to learn how to code with z80 assembly unless you put in real effort to learn.
Read tutorials and experiment what you learn, read more, experiment with that and keep repeating this cycle until you are familiar with all you've worked with. Then you can move on into more difficult things.
And the truth is that you can't learn something just by wanting to, although wanting to put effort into it is a good start. It will take some time. What "some" here is depends on the person's abilities, and how much time s/he spends on learning process.
I'd say - until you are familiar with all kinds of data structures, you can move into investigating how the data structure is used. For example, we have the evolution/moveset table for each pokemon. And we have also a pointer table telling where the evolution/moveset data of each pokemon is. Then on the background, we have a code that uses those tables. That is the code which some might refer to as "asm" (which is a bad term since it doesn't tell anything really).
Good way to start investigating that code would be finding a "pointer". Who can guess what that pointer is / where it points to? (This is a question to kumar and others, so let them ponder for a while :) )
Last edited by Miksy91 (2014-01-13 19:20:01)
Offline
Pages: 1