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

Pages: 1 ... 47 48 [49] 50 51 ... 82
721
TI Z80 / Re: Sudoku
« on: October 03, 2010, 06:29:51 pm »
yeah. and if you click the link to the "deluxe edition" or whatever they have 4x4, 6x6, 12x12, 16x16, and a couple variations of sudoku. but you have to download it.. and even then you only have a 60 minute trial until you have to pay money. i remember when i just started basic programming i wanted to make sudoku but didn't know how.

722
TI Z80 / Re: Sudoku
« on: October 03, 2010, 06:24:30 pm »
a) meeeeee. sudoku's awesome.
b) here
c) i have nothing :(

723
Other Calculators / Re: Mimas by Benjamin Moody
« on: October 02, 2010, 09:11:30 pm »
yeah i'm having issues with the library files as well, using TiLP. let us know when the next version is out so i can download it!

724
TI-BASIC / Re: Sprite Compression
« on: October 02, 2010, 08:46:37 pm »
Code: [Select]
Line(iPart(E2fPart(Ans/E8)),-iPart(E2fPart(Ans/E6)),iPart(E2fPart(Ans/E4)),-iPart(E2fPart(Ans/E2
to..
Code: [Select]
seq(iPart(E2fPart(Ans/10^(X))),X,2,8,2  //the token 10^(
Line(Ans(4),-Ans(3),Ans(2),-Ans(1
definitely a size optimization.. you'll probably take a hit on speed.

725
TI-BASIC / Re: Sprite Compression
« on: October 02, 2010, 08:38:44 pm »
AnsE2-E2+A

can't that just be Ans+A?

right... oops. for a second i thought that Ans would be less than 10.. don't know why. but hey. i'll find something else.. just give me a second.
i had to break away from my schoolwork *just* so i could find something to optimize  ;D oh, and your last String decompression code block is nested within the compression code block. these look neat, i'll check them out more thoroughly later

726
TI Z80 / Re: [project] Drawing to basic.
« on: October 02, 2010, 07:59:06 pm »
i'm not sure if this is what the TI-OS uses but hey... it's probably close


727
TI Z80 / Re: [project] Drawing to basic.
« on: October 02, 2010, 07:46:43 pm »
Nice, but

Quote
Commands:
* 2nd- Puts point/line on screen at location of the pointer.
* CLEAR- Ends program.
* Alpha- Will switch you between Line mode and Circle mode



Change Log
*Circles removed
*Fixed 00 bug.
*Optimized code slightly
Are circles gone completly from the program or are they just accessible differently?

Sorry about that,  I was copy and pasting from 1.2.2 and I guess i missed that.
There are circles in 1.2.2 but  then removed in 1.3 because Axe and Ti-basic draw their circles differently.
If someone were to locate the yay that ti-basic draws their circles, that would be great, and i would put it back in axe if it is possible to wrote in.

What do you mean? Circles are drawn with Circle([center X],[center Y],[radius],{i in TI-BASIC. Check out http://tibasicdev.wikidot.com/one-byte-tokens if you need the token values.

right, but what he's saying is Axe's Circle() command doesn't draw the same circle as TI-Basic's Circle() command. this is because axe doesn't have as great floating point precision.

728
Other Calc-Related Projects and Ideas / Re: Idea - Backgrounds
« on: October 01, 2010, 06:39:46 pm »
there was. i think an ASM-er said it would have to be written as a hook.

729
Miscellaneous / Re: SAT (Standardized Testing)
« on: September 30, 2010, 03:17:08 pm »
i took them in 8th grade for some "midwest talent search" (as if), and i'm taking the prep SATs in a few weeks and then the real SATs next year. if you're taking the SATs, improving your vocabulary would be very wise. when i took them in 8th grade i knew about half the words, and think i got a 440/800 on the reading portion, which actually isn't that bad considering i didn't know that you only get points taken off for answering incorrectly... so i filled in every question. there are a ton of SAT word lists out on the web like this one. i'm personally taking Latin in high school, and hoping that will compensate. it already is, i think. for example, in latin, puer means boy. the word puerile in english means childish, or boy-ish immaturity. ambulat means to walk in latin. ambulate is a word in english meaning to walk.

730
TI Z80 / Re: [project] Drawing to basic.
« on: September 28, 2010, 10:53:09 pm »
just one huge optimizing technique. this mammoth:
Code: [Select]
If H(</=)9:E30->{Z+S}:S+1->S:End
If H(</=)19 and (H(>/=)10):E31->{Z+S}:S+1->S:H-10->H:End
If H(</=)29 and (H(>/=)20):E32->{Z+S}:S+1->S:H-20->H:End
If H(</=)39 and (H(>/=)30):E33->{Z+S}:S+1->S:H-30->H:End
If H(</=)49 and (H(>/=)40):E34->{Z+S}:S+1->S:H-40->H:End
If H(</=)59 and (H(>/=)50):E35->{Z+S}:S+1->S:H-50->H:End
If H(</=)69 and (H(>/=)60):E36->{Z+S}:S+1->S:H-60->H:End
If H(</=)79 and (H(>/=)70):E37->{Z+S}:S+1->S:H-70->H:End
If H(</=)89 and (H(>/=)80):E38->{Z+S}:S+1->S:H-80->H:End
If H(</=)99 and (H(>/=)90):E39->{Z+S}:S+1->S:H-90->H:End
can definitely be optimized to this:
Code: [Select]
!If H/10->F:E30->{Z+S}:S+1->S:End
If F=1:E31->{Z+S}:S+1->S:H-10->H:End
If F=2:E32->{Z+S}:S+1->S:H-20->H:End
If F=3:E33->{Z+S}:S+1->S:H-30->H:End
If F=4:E34->{Z+S}:S+1->S:H-40->H:End
. et cetera...
and *might* be able to be optimized into this, depending upon the circumstances of the program:
Code: [Select]
E(H/10+30)->{Z+S}
S+1->S
H-(H/10*10)->H




731
The Axe Parser Project / Re: Your Projects - Post and Critique
« on: September 27, 2010, 09:20:08 pm »
Don't forget, GetCalc() returns 0 if the appvar is archived.

really? go figure. i've never really used appvars, just skimmed the commands list to figure out how they work. i assume ikemike can make the necessary change then.

732
The Axe Parser Project / Re: Your Projects - Post and Critique
« on: September 27, 2010, 09:04:08 pm »
Code: [Select]
Lbl F
ClrHome
"Score:"→Str1
"High Score: "→Str2
"vHIGHSCR"→Str0
GetCalc(Str0)→θ
!If θ  .if there's no appvar, create one
GetCalc(Str0,2)→θ
Copy([0000],θ,2)  .copy 2 bytes of 0 to the data.
Else
UnArchive Str0  .otherwise, unarchive the appvar
End
If S>{θ}^r
S→{θ}^r
End
Disp Str1,S>Dec,i,i,Str2,{θ}^r>Dec
Archive Str0

733
The Axe Parser Project / Re: Your Projects - Post and Critique
« on: September 27, 2010, 08:54:43 pm »
i don't have any software that can read .8xp files.... so if you post the source code in a code box (using [code] *code here* [/code]) like below, i'd be glad to help.
Code: [Select]
.AXE
[010203->GDB1
For(A,0,2
Disp {GDB1+A}>Dec,i
End

734
Axe / Re: Finding / listing programs
« on: September 27, 2010, 08:38:28 pm »
i'm guessing there's an address in ram that begins where all the programs are stored, and then the first few bytes of the program indicate the size of said program, whether it's archived etc. then program name/data. so to get all the names, you would have a loop reading off the program name, copy it to a safe ram area, then skip ahead [size of program] bytes to the next program.

735
TI Z80 / Re: Program request. Drawing of pictures.
« on: September 27, 2010, 07:59:44 pm »
Code: [Select]
.F
[DD412B422B433F32438310B04208312BB03109BC420D703441432C0D]->GDB1
GetCalc("prgrmQUAD",28)->P
Copy(GDB1,P,28)

oh yes, it's our favorite program, being spawned from Axe (:

Pages: 1 ... 47 48 [49] 50 51 ... 82