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

Pages: 1 ... 153 154 [155] 156 157 ... 424
2311
News / Re: Lua on the Nspire?
« on: April 13, 2011, 04:16:29 am »
Hmm.  Very interesting.  Maybe TI will give us programming capabilities on the new Nspire.  I sure hope so. 
Unfortunately, it will probably be like programming with a cinderblock on our backs.

I also wonder who on Omni knows Lua.

Ashbad and I do, at least.

2312
Axe / Re: Correlation + Axe?
« on: April 13, 2011, 04:16:06 am »
Well, I was thinking of having only the font part used, and use the fonts in axe. There are tons of symbols in TI-Basic that I will never use in a program as display text, like the r for backbuffer drawing, and various other greek/math symbols.

I guess I'll just have to try and see :P

Great, I'd like to see stuff made with this :)

2313
TI Z80 / Re: Little Endian Code to .dw Code
« on: April 13, 2011, 03:45:09 am »
Thanks :) I think I will make one, too. Here is my hex to .db converter, by the way :) You input the file to read, then the file to write to and it will convert it :) Also, the hex doesn't need to be an even number on each line, but if there is an odd number of chars in all, the last one won't be included. It writes 24 arguments to each .db :) I won't guarantee that it is optimised, because as you said, I just started learning today, but it is a good start, right?

If I think I can do something, I usually have good reason to believe so :) I will also try to write a converter to convert to .8xp and possibly .8xk. :) That will be a little later on down the road, though...

Nice.

Quote
Also, the hex doesn't need to be an even number on each line, but if there is an odd number of chars in all, the last one won't be included.

I didn't test it, but I think it will accept code in several lines...

Also, the code is way bigger than mine:

Code: [Select]
def hexToDb(hex):
splitHex = [hex[x:x+2] for x in xrange(0,len(hex),2)]
finalString = ".db"
counter = 0
for i in range(0,len(splitHex)):
if counter==29:
finalString+=" $"+splitHex[i]+"\n.db"
counter = 0
else:
finalString+=" $"+splitHex[i]+","
counter+=1
return finalString[0:len(finalString)-1]

But the main problem with the code is its organization. I have to teach you about main functions, functions and code organizing :D

Quote
If I think I can do something, I usually have good reason to believe so  I will also try to write a converter to convert to .8xp and possibly .8xk.  That will be a little later on down the road, though...

A converter to .8XP is really hard man, I'd try a 8xk first, since it's much easier.

2314
TI Z80 / Re: Little Endian Code to .dw Code
« on: April 12, 2011, 04:49:19 pm »
Well, I am reading and writing to files and I can input the file to read and write to. Please, I feel insulted that you think I cannot do it. So for now, I am going to leave until I accomplish this.

Now that I think about it, .hex files are text files, so it is quite easy (I was thinking about 8xp files, that would be extremely harder). Text files, yeah you can do it :)

Sorry for being rude.

2315
TI Z80 / Re: Little Endian Code to .dw Code
« on: April 12, 2011, 04:36:02 pm »
Hehe, I am already making a version in Python (or at least attempting it)!
* Scout deleted this.

2316
BatLib / Re: BatLib Ideas/Wishlist
« on: April 12, 2011, 04:24:46 pm »
Oh, Circle( is an existing function in BASIC, but it doesn't do anything in ReCode

Then you can use it :)

2317
BatLib / Re: BatLib Ideas/Wishlist
« on: April 12, 2011, 04:13:47 pm »
No, there is no way to add new tokens :/ And Circle( doesn't exist yet, it was just a possible future method.

Cos I have it on my calculator, perhaps it's Axe.

2318
BatLib / Re: BatLib Ideas/Wishlist
« on: April 12, 2011, 04:11:17 pm »
Yeah, in the ReCode code, it would be Circle(y,x,r or something

Circle( is a new token or already exists?
Also, does ReCode/BatLib add any tokens?

2319
BatLib / Re: BatLib/ReCode Examples
« on: April 12, 2011, 04:09:43 pm »
Not if you have one that can do 15MHz. ReCode starts out at the max speed :) Should I change that?

It does? I had no idea. I think you should, but just my opinion. Perhaps a poll?

2320
BatLib / Re: BatLib Ideas/Wishlist
« on: April 12, 2011, 04:08:12 pm »
Oooh Zeda, a fast algorithm for it would be great (in the hex code). As long as its simple in the Basic code.

2321
BatLib / Re: BatLib/ReCode Examples
« on: April 12, 2011, 04:05:38 pm »
This is my version... I added a Pause because it was a little fast XD
Code: [Select]
dim(1,22,"FDCB00AE",40
FullFill(0→I                        clears the screen and puts it at 6MHz
DispGraph
1→A
While getKey!=15
I+A→I
If I>40
0→I -A→A
If I>39                 ;this is because I will never be >40 unless negative
39→I -A→A
Shade(I
Pause 3
End
Shade(24
Stop

Hum, isn't the calculator 6Mhz all the time?

2322
Site Feedback and Questions / Re: Photography board
« on: April 12, 2011, 03:57:16 pm »
Oh. Ok. I think that needs to be stated somewhere official.

I don't think so, it seems like it was *already* a photography thread.

2323
Other Calculators / Re: Your first programs
« on: April 12, 2011, 03:27:44 pm »
My first real 'program' that I can remember was some JavaScript code that alerted a password that you wrote in a password field, so that everyone could see it. I then tricked my sister with it.

My first calculator program was Block Breaker. I've made tons of other little games and programs that I never released, but I can't remember the names and what they did.

w000t Your first language was Javascript?

2324
Music Showcase / Re: Timgul (Demo Version)
« on: April 12, 2011, 03:27:12 pm »
* Scout downloaded.
* Scout is listening.
* Scout is liking.

The very beginning reminds me of another song also by you.

2325
Other Calculators / Re: Your first programs
« on: April 12, 2011, 03:25:39 pm »
Yeah, Jim's really been a great help with all my projects.

Thanks!  :hyper:

And he's also older, so he probably has more experience, I guess.

Pages: 1 ... 153 154 [155] 156 157 ... 424