This has so far been very helpful, thanks! I wonder what my first program should be... maybe a bouncing thing or pong? Thank you much for your help so far!What? No Hello World?! And what about the little dot that moves around the screen? Also, the 89's LCD is like the 86's, right? In that you don't have to send data to a port to update, just an address in memory? You could make a grayscale pong ;)
What about grammer for the 68k :DThat is one thing I was thinking of, but I am trying to figure out if I should. TI-89 BASIC is pretty powerful as it is.
Also, the 89's LCD is like the 86's, right? In that you don't have to send data to a port to update, just an address in memory? You could make a grayscale pong ;)That is what I want to do :D And yes, the LCD is mapped to RAM, so it should make grayscale fairly easy :)
Btw, what do people use to emulate the 89? TiEmu?I've no clue o.o TiEmu is the one recommended on Technoplaza.
EDIT: Oh, and i've also learned quite a bit, so thanks for bringing this discussion up. There's a few boards at yAronet which have (well, had :/) a lot of discussion on 68k asm programming, it might be fun to look through their old programming help archives. A lot of really knowledgeable people post(ed) there, you'll probably recognize a few of their names from games you've played. :)Cool! I will poke around there :)
EDIT2: If you don't have it already, you might want to check out TIGCC. I've read that all the ROM CALLS are documented there.Yeah, I think I should do that. I have not done it yet :/
So if I was going to make a routine to multiply two, 96-bit numbers, I would use D0D1D3 for the first number and D4D5D6 for the second. Or, if it was stored in memory (the two numbers), I would store the location of the numbers in A0 and A1 and the output location in A2.Why not d0-d2 for the first number, and d3-d5 for the second ? :)
Basically how to program/organize your code (snip) like the tutorials but more in-depth/more completeFor this part, software engineering books focusing on C programming (therefore, probably old books, as newer books tend to focus on C++ or Java) may do the job. I believe that the 68000 ASM was designed with C programming in mind. For instance, instructions such as lea and pea, or the fact that mem |= operand, mem &= operand , mem ^= operand can often be translated to a single instruction.