This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - chickendude
Pages: 1 ... 48 49 [50] 51 52 ... 55
736
« on: February 02, 2012, 01:49:45 pm »
I made the new source you gave me into a WabbitCode project file but ended up having a couple errors trying to compile, and i just wanted to make sure that i've got it right. Basically, in the statcalc file in p0 there were two undefined addresses (lines 107/120), AddAtoHL and statgetbuf+5. I changed them to AddAtoHL0 and statgetbuf1+5. Also, everything looks really pretty (i love the mountains!) but it feels a little odd with the player being aligned to a grid.
737
« on: February 02, 2012, 06:44:57 am »
I don't know if you actually attached the new batch file or not..?
738
« on: February 02, 2012, 06:38:05 am »
The --register-prefix-optional switch works great, but the --mri-compat switch isn't recognized. Ah! It looks like it's just --mri. Thanks
739
« on: February 01, 2012, 06:24:53 pm »
I've been playing a little with 68k assembly and to be honest i like the A68k format better than the GNU one (it reminds me more of z80, i don't need to precede registers with %, hex numbers start with $, etc.). What are the reasons for using the GNU one? I remember reading in the GCC4TI documentation that the A68k assembler was included just for compatibility... EDIT: Also, for the A68k i see the "dc.b" directive to insert bytes into the program (like dc.b "Hello World",0). The GNU assembler has the .string directive, which i think automatically adds a 0 to the end. Is there another way to insert a string of characters? What if i don't want the string to end in a 0? The .byte directive doesn't seem to like the string format. Thanks again! EDIT2: Found this: http://tigcc.ticalc.org/doc/gnuasm.html#SEC67 EDIT3: Another question: Is there a difference between "movea.l 4*ClrScr(%a5),%a0" and "move.l 4*ClrScr(%a5),%a0"? Or does the assembler simply convert the move.l into a movea.l?
740
« on: February 01, 2012, 05:29:02 pm »
Well, to use an emulator you need a ROM. I'm not sure if WabbitEmu includes a ROM dumper or not. The ROM dumper is what you use to get a copy of your 84+'s ROM onto your computer. I'm pretty sure VTI came with one, though i'm not sure if it'll work for the 84. If not search ticalc, (i found this one: http://www.ticalc.org/archives/files/fileinfo/373/37341.html), and that should help you get started.
741
« on: February 01, 2012, 05:16:12 pm »
Also, calcgames.org was pretty popular, especially for 89 stuff (Tankers!). Nowadays the community is so small that i think people are just happy to see new users. Ten years ago there were new programming groups/sites every week, after a while a bunch of groups either merged or drifted away. I wonder where all the (for me, being mostly interested in 82/3/+) "classic" programmers went, Sam Heald, Harper Maddox, pretty much everyone from Void Productions, Hannes Edfeldt ("movax": who hasn't seen movax's sprite routine?!), etc. etc. And yeah, there were a lot of discussions (or arguments) between ASM/BASIC programmers, a lot of ASM programmers trying to convince BASIC programmers to learn ASM, then some of the first really comprehensive libraries for BASIC programs came out. To be honest, i don't really know too much about the BASIC side, as i pretty much focused on ASM groups, though i did get addicted to the FFTOM series Oh! And then there were the infamous 6 month program upload queues at ticalc Kind of crazy to think now that there used to be hundreds and hundreds of new programs uploaded everyday, for pretty much all calculators. I used to update my calculators daily with the new programs uploaded the night before. I also remember when they started a huge move to add in screenshots, reviews, etc. sometime in 2004 i believe.
742
« on: February 01, 2012, 02:09:47 pm »
To be honest, i have no idea what curOffset is, it may have something to do with text input but i'm not sure. _HomeUp should set curRow/curCol to 0 ( ld hl,0 / ld (curRow),hl ). A common "trick" is to pause the program (_getKey) before ending. Apart from that, you can try changing curRow/curCol before exiting, it might just be a change in your OS version (what version OS do you use?). Maybe you could try getting a ROM from your calc and see if it still displays differently? And the TI Flash debugger pretty much sucks, it's slow and not very accurate. Try WabbitEmu/TiEmu, both have nice debuggers and are much more accurate.
743
« on: February 01, 2012, 07:38:40 am »
Be careful using HL to store one byte into an address, when you're storing HL into CURCOL, you're also updating CUROFFSET. Check out ti83plus.inc: curRow EQU 844Bh curCol EQU 844Ch curOffset EQU 844Dh As HL is a 2-byte register, you load the value of L into CURCOL ($844C) and the value of H into CURCOL+1 ($844D aka CUROFFSET). You could use the accumulator (A) instead, or just load HL into CURROW to update both CURROW and CURCOL.
744
« on: January 31, 2012, 11:39:24 am »
I started reading through the documents you sent, i like a lot of ideas (like merits and proficiency). I had a few questions but they ended up getting answered by the time i reached the end of the design doc (99 max stats just seems really low to me). Looks like there's a lot of work ahead! I'm moving at the end of this week, so it might be a little while before i get settled/have internet access. Maybe we can figure a way to get started or decide what needs to be worked on in the meantime. PS: I read "If %ISHIT" incorrectly the first time through
745
« on: January 31, 2012, 10:48:13 am »
That script is great! Thanks
746
« on: January 31, 2012, 09:16:12 am »
Basically how to program/organize your code, an introduction to programming under the 68k, like the tutorials but more in-depth/more complete. Anyway, it's not a big deal, i'll play with what i've got, check out the documentation/source i can find, and see where to go from there
747
« on: January 31, 2012, 09:09:35 am »
I reran the entire Install script after adding in that last line and it said something along the lines of "Installation Done" and asked to configure the environment files. Now i just type "tigcc XXX.asm" and it compiles it into a .89z file, which runs nicely on the emulator (though it's a little difficult to play Phoenix clicking on the arrow buttons with the mouse ). I'm not too concerned about an ide, it's just as easy to make a little script to compile/send to the emulator for testing I'm not so good at computers so i don't really understand the whole TPR issue, but i think i'm now ready to start writing some simple programs
748
« on: January 31, 2012, 08:51:02 am »
I mean books that introduce you to good programming practices for 68k asm, for the z80 there are tons ( http://www.z80.info/z80books.htm), it seems that the 68k isn't quite as accessible as the z80.
749
« on: January 31, 2012, 08:43:12 am »
It works! Thank you so much! I just compiled Phoenix again and it works like a charm Does the IDE also run under Linux?
750
« on: January 31, 2012, 07:55:07 am »
While we've got you here, do you know of any good books for learning m68k asm, in French or English?
Pages: 1 ... 48 49 [50] 51 52 ... 55
|