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.

Topics - Broseph Radson

Pages: [1] 2
TI-BASIC / Optimizing lists and matrices for save files.
« on: December 07, 2011, 10:42:38 am »
Im not sure if this has been posted before, so here goes.
Using iPart() and fPart(), you can save lists or matrices with 2 entries per cell. {1.1} rather than  {1,1}. Every 2 entries saves 9 bytes with this method.
Loading is as simple as iPart(L1(A)) for the first entry in a cell, and 10fPart(L1(A)) for the second (the 10 is there because fPart returns the decimal as a decimal.)

Java / What am i doing wrong here?
« on: September 16, 2011, 06:27:05 pm »
Ive tried compiling a program on 2 different computers using this code:
Code: (java) [Select]
button1.setBounds(5, 5, 100, 60);
button2.setBounds(5, 60, 100, 60);

on one computer it says "symbol not found" on setBounds (ofc i have awt.* and swing.* included)

on the other it says "illegal start of type" on the the first arg, and "<identifier> expected" after setBounds


Also, when i try to define an array, it keeps telling me that i need 2 closing brackets and that i need a semicolon inside the brackets...

Axe / Problems reading and displaying data from programs
« on: May 16, 2011, 11:52:04 am »
Im trying to store program names to a program in the following format:
Code: [Select]
4BOB[00] ;length of name, name, terminator

But when i try to read from it, the first character (number) is always 0, and if i try to copy the progname to L1, it either crashes when i execute it, or Axe crashes on compile.

Ok so i have a program called ADAT which holds the data, and the main program looks like this:

Code: [Select]
GetCalc("prgmADAT")->P ;get pointer to program
Copy("4ABC"[00],P,5) ;Copy first progname to ADAT
Copy("5DEFG"[00],P+4,6) ;Copy next progname to ADAT
Copy(P,A,1) ;Get specified length of first progname
Disp A>Dec ;Display the length (this is always 0 for some reason?)
Copy(P+1,L1,A) ;Copy name+terminator to L1 (this part crashes the calc on compile?)
Disp i
Disp L1 ;Hopefully display the name of the program

It also crashes on compile if I replace A in Copy(P+1, L1,A) with 4.

Axe / Slight problem
« on: April 11, 2011, 06:08:19 pm »
Im trying to display a percent sign, and both calcsys and xxedit show that the hax code for the percent sign is 25, but when i do Disp 25>Char it displays a greater than/equal sign instead ???

Other Calculators / TI to acquire National Semiconductors
« on: April 04, 2011, 06:56:01 pm »
Anyone else get this email?
Dear valued customer,

I am excited to let you know that TI has signed a definitive agreement to purchase National Semiconductor, uniting two industry leaders that have a common commitment to solving your analog needs. I want to reinforce TI's commitment to you, our customer, as we merge our two companies.

This acquisition will allow us to address your analog needs with a product portfolio of unmatched breadth and depth. National's 12,000 products plus TI's 30,000 means more performance, power and packaging options when selecting the right ICs for your application. And we'll provide a common set of best-in-class online tools to make the selection and design process easier.

Our combined sales and applications team of 2,500 will be larger than any in the industry so we can provide more customers with greater face-to-face support than ever before.

Our manufacturing operations will offer more capacity to support your growth. TI's fabs and National's available capacity can enable higher production levels.

While both companies will operate independently pending the close, our goal thereafter is to make the integration process as seamless as possible. No requalification of products will be necessary since National's manufacturing sites will continue to be utilized. Part numbers from both companies will remain the same. There will be no obsolescence of products.

I'm excited about what the integration of our two companies will mean for you: an unmatched portfolio to meet your analog needs, an extensive sales and applications network to ease the design process, and manufacturing capacity to support your growth.

You can learn more about the acquisition at, including answers to frequently asked questions and video messages from TI leaders regarding the acquisition.

Thank you for choosing TI. I look forward to a great future together.

Best regards,

Rich Templeton
Chairman, President and CEO
Texas Instruments

Other / RIM's BlackBerry Playbook.
« on: March 28, 2011, 08:56:45 am »
So apparently RIM is making a tablet that supports BB apps, Android apps, C/C++ apps, Flash, and HTML5. It also has mutitasking and comes with a slew of built in apps. It sounds like a possible iPad killer!! :w00t:

Web Programming and Design / Div problems
« on: March 07, 2011, 11:51:12 am »
Ok, so i have 2 divisions inside a table:
Code: (style) [Select]
div#ball {background-image:url('gr/ball.png');
Code: (in the table) [Select]
<div id="reply"><img src="gr/nothing.png"> (it changes when you click the button)</div>
<div id="ball"></div>

As you see in the attached pic, there is a giant space above the ball thats the same size as the image in the reply div. Can anyone help me with this?

Axe / Memkit help: dim()rr
« on: March 03, 2011, 10:36:03 pm »
herro. i finally got 0.5.0 and memkit on my calc after wrestling with ti connect for 2 weeks straight (ugh). I got everything to work except dim()rr. If i have 2 programs in ram, the following code should (according to the readme) display the names of the 2 programs:
Code: [Select]
.AMEMKIT:#Axiom(MEMKIT):Load():While Next():!If dim()rr:Print(L1):Disp L1:Disp i:End:End but it just displays "Done" and nothing else.???

Axe / 84+/SE System Clock?
« on: January 21, 2011, 09:05:54 pm »
Does anyone know how to get the system time on an 84+? I know how to get the battery state and free ram and some other stuff (thanks to wikiti) but i dont know how to get the time. Im assuming it will require Asm(hex).

Axe / For those of us who dont know binary...
« on: January 21, 2011, 09:39:13 am »
Hope this makes graphics easier  ;D

Axe / Another noob question. this time about interrupts
« on: January 18, 2011, 08:00:15 pm »
Im experimenting with interrupts since i just figured out how they could be used if i want to make a graphical shell (not that i can do any other part of making a shell BESIDES graphics and menus lol). I have this:
Code: [Select]
Lbl 1
Disp A
Repeat getKey(15)

FnOff //to be safe

Lbl S //Interrupt subroutine
If getKey(54)
Goto 1

It exits when i press Clear, but when i press 2nd, it doesnt jump to Lbl 1. Am i using the interrupt wrong or do i just have the wrong idea of how they work?

Axe / Help parsing a string
« on: January 18, 2011, 05:37:08 pm »
Hai im back with another probably dumb question. So i have a users input stored to I, then the first letter of I is stored to N. I have "RLDQ" stored to C. Im trying to figure out how to step thru the letters in C and compare them to N. Inside a For( loop, i have this code:
Code: [Select]
If (N=(C+A)):Goto KK:End Where A increments from 1 to 4. It seems to always return false and i know it has to do with the If block. Help plz :) EDIT: i just realized that when i copy the first byte of I to N, it doesnt stay as a char. Oops

Other Programming Languages / Visual Basic 2008 Help
« on: December 18, 2010, 04:41:57 pm »
NEVERMIND  ;D thanks runner!

ASM / F**king stacks! How do they work?
« on: December 16, 2010, 10:31:34 pm »
All memes aside, i need someone to describe to me what stacks are, how they work, and why and how they are used, in the simplest, easiest, 3rd grade laymans(sp) terms possible. I cant seem to find a plain english description of stacks anywhere (i cant search here since im on my phone). Stacks seem to be rather important, since i see their use in a lot of asm programs, and most of the DCSB graphics functions require you to use the stack. This is basically one of the many things that is making it difficult for me to learn assembly lol. Thanks guise :D

Axe / Probably a dumb question.
« on: December 01, 2010, 05:55:33 pm »
Well ive been inactive for a while, and ive never been much of an expert at programming so heres my dumb question lol. Is there a command in axe that lets you run a program regardless of what kind it is? And if not, is there a way to tell the difference between asm and basic programs and how would you run them accordingly using Axe? Im trying to make some sort of command line and im having issues parsing input as well but ill ask about that when i can get on a PC. (im on my old phone since my blackberry broke so i cant do hard returns sorry)

Pages: [1] 2