Show Posts

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 - calcdude84se

Pages: 1 ... 4 5 [6] 7 8 ... 161
76
TI Z80 / Re: Grapher
« on: December 18, 2011, 08:43:38 pm »
I even wrote a routine that will do that (for the homescreen, but you can adapt it) as a response in the feature requests topic, but others had already posted. For reference, it would go something like this:
Lbl DSN
If r1<<0
Disp "-
End
Disp r1➤Dec
Return

Then you'd just replace "Disp X➤Dec" with "DSN(X)"
Something I'd like to reiterate: There is absolutely no difference between, say, 65535 and -1. Which way it is interpreted depends on the routine acting on it (for example, < vs <<)

77
TI Z80 / Re: Grapher
« on: December 18, 2011, 08:19:06 pm »
As far as Axe is concerned, 65535=-1 ;) The obvious solution is to test if G is less than 0, and, if so, display a negative sign and then -G.

78
The Axe Parser Project / Re: Features Wishlist
« on: December 18, 2011, 04:51:45 pm »
You just invert and multiply. So to divide A by B, one simply does B-1**A.

79
TI Z80 / Re: Grapher
« on: December 18, 2011, 03:07:09 pm »
saintrunner has the gist of the issue. If you're trying to use negative numbers, you have to use the signed versions of Axe's operators (only applicable for division and comparison), which are formed by doubling up the unsigned version. In the case you've mentioned, you need to use // instead of /.

80
Axe / Re: Axe Q&A
« on: December 13, 2011, 05:49:21 pm »
Indeed, Z would work :)

81
Axe / Re: Axe Q&A
« on: December 13, 2011, 05:47:03 pm »
Pic1 is static. If those conditions are compile-time (They're constants), you can use the new ...If construction. If the condition can only be evaluated at run-time, however, you'll have to use a variable (This includes user-defined ones) instead of Pic1.

82
The Axe Parser Project / Re: Axe Parser
« on: December 10, 2011, 10:48:21 pm »
Or have someone else fix it for you! (I just fixed it)
I take it that "constant" means any expression that lacks variables? So I could, say, do "...If °A>L6"?

83
Site Feedback and Questions / Re: New Code Boxes
« on: December 10, 2011, 10:41:37 pm »
There's also the line numbers being misaligned, as I recall. And yes, code in a variable-width font just looks weird :P

84
The Axe Parser Project / Re: Features Wishlist
« on: December 10, 2011, 10:33:22 pm »
Jacob, the second occurrence of "#" is unneeded ;)

85
News / Re: Rules and positions update
« on: December 09, 2011, 12:52:16 am »
Finally. I was beginning to wonder if this was ever going to be finished! But now it's done, and that is excellent. :)
I've voiced my support for this before, and agree with what's being done here.
Now to stand by to receive full mod powers (including the staff board, I hope) ;D

86
The Axe Parser Project / Re: Features Wishlist
« on: December 07, 2011, 07:07:19 pm »
Continuing in that vein, I'd like to bump stack access. Both of the suggestions I've seen (using π as a pseudo-variable to access the stack and having a command Save(VAL1,VAL2) that evals and pushes VAL1, evals VAL2, then pops the stored value of VAL1) sound good.

87
ASM / Re: So I'd like to learn assembly
« on: December 06, 2011, 09:00:38 pm »
Excellent. We're glad to help. Feel free to document significant progress, perhaps with demo programs (more interesting that "Hello World" or a simple moving sprite, though ;))

88
ASM / Re: So I'd like to learn assembly
« on: December 06, 2011, 08:59:00 pm »
Small in my experience means <100 LOC. Mimas makes it painful to work with when it's larger than that. Feel free, but the moment you want to do anything more interesting you'll need to set something up on a computer.

89
ASM / Re: So I'd like to learn assembly
« on: December 06, 2011, 08:50:21 pm »
Parser, Mimas is one of a kind and useful if you don't have a computer, but it does lack some useful features of standard PC text editors. I personally don't use it except to test very small things.

90
ASM / Re: So I'd like to learn assembly
« on: December 06, 2011, 08:47:07 pm »
Thanks :) And do I need an app, like Axe needed the axe parser?
Nope, you don't. Just follow the directions in the tutorial. I'd recommend Brass or SPASM2 over TASM, though.
Edit: And if you do happen to find Learn 83 Plus Assembly too difficult, I guess Hot Dog's tutorial is an option.

Pages: 1 ... 4 5 [6] 7 8 ... 161