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

Pages: 1 ... 26 27 [28] 29 30 ... 63
406
ASM / Re: Weird Ports
« on: June 17, 2011, 12:18:09 am »
No blueness?  No Nethams?  D:
Never heard of it before!

On the back of the calculator, between warnings and the battery cover, there should be an engraved number.  The advanced Asm programmers will be able to help/ask more questions.

407
General Discussion / Re: Microtonal Keyboards
« on: June 17, 2011, 12:11:29 am »
The different tunings allow harmonies and modulations I wouldn't even imagine.  It sounds fun to experiment with things like this.  I would especially like to hear Jazz and Avant Garde on 31-ET.  8)

408
General Discussion / Microtonal Keyboards
« on: June 16, 2011, 11:36:18 pm »
Have you guys seen microtonal keyboards?  Instead of breaking an octave into 12 equal tempered parts, these keyboards play a bunch of different tunings!   O.O





I want one, but the least expensive one is $600. 

409
The Axe Parser Project / Re: Features Wishlist
« on: June 16, 2011, 11:23:59 pm »
Can you add a For() loop that counts down?  (Like a 16 bit djnz)  Maybe For()r ?  That would be very useful.  :)
EDIT: I know there is DS<(), but that is a little bit different.

410
Axe / Re: [Tutorial]Achieving Decent Functional Programming in Axe
« on: June 16, 2011, 11:10:57 pm »
Looking forward to that.  O.O

411
TI Z80 / Re: AXLE - 2011 Axe Platformer Contest
« on: June 16, 2011, 04:47:04 pm »
O.O That looks awesome!  That is quite intimidating, though...

412
Axe / Re: Commands for Axe
« on: June 16, 2011, 01:29:52 pm »
You can use a negative 3.  Signed $-3 is equal to unsigned $FFFD.  Text( only displays unsigned variables.  
You can use addition and subtraction with signed integers.  For division and multiplication, you must use ** or // respectively.  For comparisons and division, you use doubled operators.  
With this knowledge, you can write a routine that can display signed variables.

EDIT Double Ninja'd (I take way to long to write a post.)

413
Axe / Hex Map/Level Editor
« on: June 16, 2011, 01:11:22 pm »
Does anybody know of a good customizable hex level editor?  I do not want to design the levels in the text editor, but I cannot find one that does the job.  My tile format also allows variable-width levels with the height of 9 blocks.  The format is different compared to other editors I have seen.  (The reason I am doing it this way is for speed and efficiency.) Here is how I encoded my tile format:

Code: [Select]
[COLUMNXXX]
[NXT COLUM]

Becomes:
Code: [Select]
CN
OX
LT
U
MC
NO
XL
XU
XM

414
Axe / Re: Commands for Axe
« on: June 16, 2011, 01:01:00 pm »
Do you close all of your parenthesis?  (Such as Line())
Sometimes the routines are compiled incorrectly if there are no parenthesis. 

415
Axe / Re: Commands for Axe
« on: June 16, 2011, 12:46:25 pm »
I'm using 0.5.0
I've heard that this version needs it.

Ok.  Before anything else, I recommend that you upgrade to 0.5.3.

Quote from: Axe 0.5.3
Fixed major bug with the Disp command when compiling for apps.
Fixed incorrect optimization with Dispgraph to other buffers.
Fixed the new numerical constants feature.
Fixed bug with nibble storing.
Fixed bug with big-endian storing.

416
Humour and Jokes / Re: Successful GCC troll is Successful
« on: June 16, 2011, 12:38:37 pm »
Maybe we should all create ascii pictures and assemble them into our favorite machine code.  :D*
* ralphdspam is not liable for any damage, and or trolling caused by the above statement.

417
Axe / Re: Commands for Axe
« on: June 16, 2011, 12:35:00 pm »
Which version of Axe are you using? 
My first recommendation is to get the current version of Axe. (0.5.3 as of 6/16/11) (http://ourl.ca/4060)

Text(0,0,"BlahBlah") should work without the extra quotes on the inside.  Also, you shouldn't have to toggle through the Fix 1 and Fix 0 commands.  You should only have to use Fix 1 one time. 

418
TI-BASIC / Re: Goto a Lbl which is a var
« on: June 16, 2011, 12:12:33 pm »
Yeah, all of these are not natively supported by pure TI-BASIC, but you can use the following libraries to achieve results.

Is it possible to save a Var (for example X or A) in textmode as an String or to get a Number out of a String and save it in a Var??

You can convert a number to string with this following Celtic III command:
Code: [Select]
det(1,X)→Str1

FIRST QUESTION:
     Is it possible to use the Goto( command, but not as Goto( 1
     I mean if X is 2, it will be Goto( 2 and if X is 7, it will be Goto( 7

SECOND QUESTION:
     Is it possible to combine the Goto( command with a String?
     For Example:    If Str1="AB" it will be Goto( AB and if Str1="B4" it will be Goto( B4

Is One ot them possible?

Using these Celtic III or DCS (I recommend the latter) commands, you can achieve this:

Note that everyone who runs the program MUST have Celtic III or compatible shells (DCS, etc.).

Goto [String]:
Code: [Select]
:Goto 1  \\The reason I have you jump over the first two lines is so that [Free Line] is always 3.
:LBL 0
: \\This is your "Free Line" used as a temporary space to store your temporary code.
:LbL 1
:[Code]
:det(8,"[Prgm Name Without Prgm Token]","Goto " +[String],[Free Line]
:Goto 0
:[More Code]

Example:
Code: [Select]
:Goto 1  \\This is so that Free Line will always be 3.
:LBL 0
:     \\Free Line to be left blank.  
:Lbl 1
:     \\Start of your code :)
:"11"→Str1
:det(8,"TESTPRGM","Goto "+Str1,3     \\This creates the Goto code on line 3 in prgmTESTPRGM.
:Goto 0     \\Jump to the code you just generated.
:
:Lbl 11
:Pause "Blah Blah Blah"

Since you learned how to use Celtic III commands to convert a real variable into a string, you just have to put those two commands together.
Note that this method truncates all the 0's before the number; you will not be able to address Lbl 00,01,02,03,04,05,06,07,08, or 09.

Goto [Real Var]:
Code: [Select]
:Goto 1  \\The reason I have you jump over the first two lines is so that [Free Line] is always 3.
:LBL 0
: \\This is your "Free Line" used as a temporary space to store your temporary code.
:LbL 1
:[Code]
:det(8,"[Prgm Name Without Prgm Token]","Goto " +det(1,[Real Var]),[Free Line]
:Goto 0
:[More Code]

Example:
Code: [Select]
:Goto 1  \\This is so that Free Line will always be 3.
:LBL 0
:     \\Free Line to be left blank.  
:Lbl 1
:     \\Start of your code :)
:randInt(11,13→X     \\Generates a random number from 11-15 and stores it to X.
:det(8,"TESTPRGM","Goto "+det(1,X),3     \\This creates the Goto code on line 3 in prgmTESTPRGM.
:Goto 0     \\Jump to the code you just generated.
:
:Lbl 11
:Disp "You got eleven!"
:Return
:Lbl 12
:Disp "You got 12!"
:Return
:Lbl 13
:Disp "You got XIII!"
:Return
EDIT: Wow, that was longer than expected.  I hope it comes to good use.  :)[/code][/code]

419
Axe / Re: Get first/second byte of r-variable easily
« on: June 16, 2011, 11:18:26 am »
It is strongly discouraged that you not use these undocumented features for the fact that they most likely change. 
The value it is "returning" is just whatever was left in register HL at the time.  Since it is an undocumented (and most likely unintentional) feature, further optimizations to the routines may use HL differently. 

420
Axe / Re: Axe Q&A
« on: June 15, 2011, 09:13:06 pm »
I have two questions:
How do you use Y1?
Is Y1 a static pointer?

Pages: 1 ... 26 27 [28] 29 30 ... 63