3541
BatLib / Re: BatLib
« on: April 07, 2011, 12:26:17 pm »
It worked fine for me... Also, should I add that as a command?
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. 3541
BatLib / Re: BatLib« on: April 07, 2011, 12:26:17 pm »
It worked fine for me... Also, should I add that as a command?
3542
BatLib / Re: Creepy-Crawlies (Bugs)« on: April 06, 2011, 08:04:13 pm »
I realised a while ago, that BatLib always made real outputs in multiples of 2 digits (so sometimes there would be a leading 0), but I didn't realise that the calc would see 0100=100 as false. Since adding in the ReCode log(Text( function, I simply rewrote the code a little and now the outputs are not multiples of two digits. Also, I noticed in my latest demo release that a mysterious last digit was being read and output, so I fixed that (it was outputting that the number was one digit longer than it actually was). In the next release, those bugs won't be there
Also, BatLib will automatically run in 15MHz mode if it can. This means ReCode now starts in 15MHz mode if it can. Should I make ReCode start at 6MHz instead? 3543
BatLib / Re: BASIC ReCode v2.00« on: April 06, 2011, 07:54:26 pm »
Do you mean like display A or A'? For that you can use log(Text( and it will display the value in some base. If you omit the base, it automatically outputs in base 10
3544
Miscellaneous / Re: What is your avatar?« on: April 06, 2011, 07:38:40 pm »
Nice I think the statistic was made up, but I will say that more than half of my friends did think of the veggie !
3545
Site Feedback and Questions / Re: Posting problem« on: April 06, 2011, 07:27:57 pm »
I figured it was something not Omni related At least it isn't the TIOS handling it, though
3546
Site Feedback and Questions / Re: Posting problem« on: April 06, 2011, 06:47:00 pm »
It always bugs me when I want to upload something as an update and I forget there is an upload with that name already. THen I go to change the name and resubmit and it still tells me that there is a problem, so I have to completely start a new post
3547
Miscellaneous / Re: What is your avatar?« on: April 06, 2011, 06:20:45 pm »Huh. So it all depends on how your brain stores information. So does the thing where your supposed to read names of colors but they're all printed in a color other than what the word is triply mess with your head? And what happens when you hear the word "four"? Does "the color 4" make sense, and then, 3 secs later, you realize it shouldn't?Hehe, I actually have a very easy time with that, for some reason. There is also an interesting quiz that I do not know if it is true or not, but it deals with adding some numbers and then you are asked to name a vegetable. Because the number I was asked to think about was 6, the first vegetable that came to mind was eggplant. Apparently there is a certain other vegetable (I don't want to ruin it!) that 98% of people say 3548
BatLib / Re: BatLib« on: April 06, 2011, 05:40:43 pm »
No, these aren't pixel coordinates They are like Output(, except you can draw to any row, but there are 24 columns instead of 16. Also, if you omit the coordinates, the string is drawn to the end of where the last string was drawn to
EDIT: Also, this doesn't use an OS font, so I only have the first 128 chars made 3549
BatLib / Re: BatLib« on: April 06, 2011, 05:33:47 pm »Quote from: Readme X is the X coordinate (0~23) to draw the character or string at That is because it is displaying at (0,20) 3550
BatLib / Re: BatLib« on: April 06, 2011, 05:30:50 pm »
That is because it doesn't actually tell the calc you are looking at the graph screen, it just displays it, even if you are on the homescreen. Try putting a pause there
3551
BatLib / Re: BatLib« on: April 06, 2011, 05:27:32 pm »
Hehe, that is because that displays ASCII data Check command 90
3552
BatLib / Re: BatLib Demo Programs« on: April 06, 2011, 05:18:04 pm »
Yep, lots of rectangles, horizontals, verticals, and Pxl-On( and Pxl-Off( I still need to make some example programs that don't use ReCode...
3553
BatLib / Re: BatLib« on: April 06, 2011, 05:15:40 pm »The hex code to clear the LCD is EF4045You need to clear the textShadow buffer, too, so you can use EF4645. So, dim(22,"FDCB00AEEF4645 3554
BatLib / Re: BatLib Demo Programs« on: April 06, 2011, 05:12:40 pm »
Okay, so I never uploaded this even though I made it two weeks ago... it really is quite random, but here are the controls:
Arrows-Movement ln-Adds more obstacles at random Sto>- Sets up another wall so the ball cannot escape. Just for fun If Ans is 0, 6MHz speed is used, otherwise 15MHz mode is used, if possible 3555
BatLib / Re: BatLib« on: April 06, 2011, 05:05:12 pm »
Cool! I love the rectangles ♥ Um, my most common error is that I forget to add a type. But anywho, I want to give you an optimisation trick that might be tough to grasp:
Code: [Select] dim(29,0,8,0,8,2 ;makes an inverted 8x8 rectangle at (0,0) However, if you want to speed up the code a little as well save memory, you can combine all of the syntaxes:Code: [Select] dim(29,0,8,0,8,2,99,10,67,43,29,0,8,0,8,2→A Both of those will invert a rectangle, display the graph, wait for a keypress, reinvert the rectangle, and then store the keypress to AThe optimised method might be more difficult to read later, though EDIT: Hehe, that is the same mistake I make most often By leaving off the 1, it was read as 0, so it cleared the rectangle |
|