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

Pages: 1 ... 127 128 [129] 130 131 ... 317
1921
Grammer / Re: Grammer Tutorial
« on: April 04, 2012, 11:00:28 am »
Hmm, I have only checked as far as chapter one so far, but nice o.o
EDIT: Hmm, I think you could mention why not updating after everything you draw is a good thing (like it lets you draw everything first and makes graphics faster). Otherwise, I lost the game.

EDIT2: And also, I like the coloring, it helps separate different ideas nicely :) (It isn't just a block of text)

1922
I think it would be cool o.o I think that because TIBD is a site that a lot of new programmers visit, they will get to see how the community evolved and all the new programmers at Omnimaga and Cemetech can hear about it as well o.o

Also, again, awesome job so far and welcome to Omni :

EDIT: I posted a news thing n UTI, by the way :) http://www.unitedti.org/forum/index.php?showtopic=10443

1923
Yes.
I think we are going to publish results for Axe and 68k friday.
TI-Basic z80 few days later. --'
You can already start your personal project (round 3).
Thanks much! I shall start my project >:D
This is going to be hard keeping it secret, but my IRL friends (not programmers) already know what it is and they are excited :D Now I hope I can do it o.o

1924
Computer Projects and Ideas / Re: Fixed-Memory Flood Fill Pseudocode
« on: April 03, 2012, 05:27:12 pm »
I don't have enough time to post the code, so I squished some screenies together of the call:

1925
Computer Projects and Ideas / Re: Fixed-Memory Flood Fill Pseudocode
« on: April 03, 2012, 05:10:50 pm »
yeah, in Axe it returns zero. I wrote my own hex code to make a custom pixel test (it returns 1 if the pixel is off and in bounds, otherwise zero)

1926
Computer Projects and Ideas / Re: Fixed-Memory Flood Fill Pseudocode
« on: April 03, 2012, 04:25:53 pm »
Cool ! I wasn't sure if I had explained it well enough :)

1927
Computer Projects and Ideas / Re: Fixed-Memory Flood Fill Pseudocode
« on: April 03, 2012, 02:30:25 pm »
Hmm, I actually used my algorithm in my TI-Concours entry :) How it works is this:

Setup: I clear a buffer the size of the screen (in Axe, I used L3, originally)

1) Start going in one direction until you hit a barrier, turning pixels ON
     While doing this, check either side of the pixel. If either side is OFF, plot the pixel on the other buffer as well.
2) When you hit a barrier, if you have no other directions, search the buffer for an ON pixel. If your draw buffer has 1 or 0 directions it can go in, pixel-off the back buffer. If it was zero directions, keep searching. If it was one or more, start drawing from there

So, it uses Fixed-Memory, but instead of no extra memory required, it uses a 768-byte buffer as a scrap buffer.

EDIT: I removed a bunch of stuff from my TI-Concour entry so that it just had the flood fill, so I added a screenie. I have a button ([VARS]) that when you are holding it, it will update the LCD to show you what it is doing, so that is why sometimes you see it filling in my screenie and sometimes you don't :)

1928
News / Re: Real photos of the new TI-84+ Pocket SE !
« on: April 03, 2012, 02:21:42 pm »
Wow, cool. It is weird that they would put US information on it :P I don't think the Chinese will be taking those exams XD

1929
ASM / Re: ASM Command of the Week
« on: April 03, 2012, 11:14:29 am »
Wow, nice, now I see why it is so fast o.o

1930
ASM / Re: ASM Command of the Week
« on: April 03, 2012, 11:12:32 am »
That is a pretty useful command, especially if you need more registers, or you need to preserve some and you don't use interrupts. I personally rarely use interrupts, so super complicated math functions get to use b'c'd'e'h'l' :D

So details:
4 cycles, 1 byte, hex code: D9
Swaps registers with shadow registers


So as a really poor example, say I need to copy some data to memory somewhere, but I need to preserve all registers for some reason. Also, assume you don't need interrupts :P

Code: [Select]
di
exx
ld bc,768
ld hl,BufData
ld de,plotSScreen
ldir
exx
And yay, your registers are preserved :D

1931
Introduce Yourself! / Re: I forgot...
« on: April 03, 2012, 07:02:00 am »
o.o Welcome to Omni, mate ;) Where the grass is blueish-green and the chat is wild and free!
XD
I got this for you, too:
!peanuts

:D

1932
Other Calculators / Re: ti 83+.. reviewed on engadget?
« on: April 03, 2012, 06:50:24 am »
Haha, this literally made me LMAO. I needed a good laugh, today has been kind of rough, so thanks. :D
Yeah, it gave me quite a workout :D

Anyone notice how the 83+ was put on top of a book about dinosaurs? :P
Yep XD

1933
Other Calculators / Re: ti 83+.. reviewed on engadget?
« on: April 02, 2012, 10:00:22 pm »
I have posted comments >:D
I almost shamelessly commented about Grammer after posting my comment about "several community made programming languages."

1934
TI-BASIC / Re: ASMPrgm command hex codes?
« on: April 02, 2012, 09:18:36 pm »
I guess I should have detailed my post more...
CopyProg will copy any variable from memory to a var in RAM. So you can copy Appvars or strings to a program variable and run the program (so you can actually have the user input BASIC code in a string and execute it). It also lets you delete vars.
GetName will return names of variables in alphabetical order. The output string can be used by CopyProg, too. So you can input a list saying "grab the name of the nth variable of this type." So you can make a menu for the user to select from appvars, programs, strings, et cetera, then copy them to another var to run them. Plus, it returns info about the size of the var and archive status.

At this point, those two programs together are a little over 360 bytes. That is tiny for so much functionality.

CopyProg 2.00 Combines the functions of both (using the same inputs) and also gives line reading support and line deleting. and a few other functions. This is over 600 bytes.

If you need other programs, I also have:
-A program that lets you execute a string of hexadecimal
-A program to execute a string as code
-A program to convert a list to a byte string (in case your list is integers 0 to 255) and it does the reverse (string to list). This is great for compression and is fast
-A flag editor so that you can edit internal flags (sometimes useful)
-A program to convert a hex string to pure data
-A program to convert a program to a hex string
-A program to return the number of chars in a string (so "sin(cos(37))" would return 12)
-A program to return the width of a string in the small font

Most of those are all around 100 bytes or less :)

1935
I got to class late because I had to submit mine :/ Oh well, I got it in. Hopefully it's good enough...
Same. I had a 6:00 PM class and I submitted at 5:58. I then had to get around and get to class which is across campus XD

Pages: 1 ... 127 128 [129] 130 131 ... 317