Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's TI-BASIC subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. TI-Basic => TI-BASIC
United-TI Archives -> TI-Basic
 
    » Goto page Previous  1, 2
» View previous topic :: View next topic  
Author Message
kinkoa


Member


Joined: 28 Jul 2009
Posts: 103

Posted: 05 Mar 2011 06:51:51 pm    Post subject:

These are pretty neat if you need help programming on a cumputer i would suggest you start with learning something easy like C# or Java both i found to be fairly simple to use when i started programming, but the hardest thing to program in is binary, because computers are so complex they need something that can handle this, most computers use 64-bit binary which is just:

Code:

11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111

this of course will not do any thing but it has 255 different (on/off) sequences some are

Code:

00000001 00000010 00000011 00000100 00000101 00000110 00000111 00001000
00001001 00001010 00001011 00001100 00001101 00001110 00001111 00010000

this represents 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 this is just a simple quote of binary but to really utilize this to make an operating system you will need a compiler that can handle it, i will help you more later
Back to top
Sven.Thomas0


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 13 Mar 2011 12:12:17 pm    Post subject:

It would really be nice to learn how to program on a computer... and I would love to learn how to program my computer in hex... The problem is, my computer skills are on the horrible side, so I do not even know how to get to a programming environment !_!
Back to top
DrDnar


Member


Joined: 28 Aug 2009
Posts: 116

Posted: 13 Mar 2011 09:27:10 pm    Post subject:

Program a PC in hex? Maybe in 1985, but not now. The days when a single person could know everything there is to know about a computer have long past. If you really want an idea what goes into a modern OS, take a look at MenuetOS , an OS programmed entirely in assembly . Programming in hex for Windows would not be fun: the PE format specification is nearly 100 pages long, and you have to deal with relocations.

On a less discouraging note, Microsoft's Simple Basic might provide a means for you to get started with PC programming without too much hassle. Simple BASIC is designed as a sort of starter language, for you to get used to programming. From there, I would probably move on to C#.


Last edited by Guest on 13 Mar 2011 09:31:31 pm; edited 1 time in total
Back to top
Sven.Thomas0


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 13 Mar 2011 09:32:05 pm    Post subject:

Yeah, I kinda figured, but it would still be cool. I am sure if I wanted to I could pick up some stuff, though because generally opcodes follow a pattern. I am sure I won't be able to program a 64-bit computer in straight hex, a 32-bit maybe, and a 16-bit definitely and an 8-bit processor definitely.
Back to top
mitchba12


Newbie


Joined: 15 Feb 2011
Posts: 23

Posted: 17 Mar 2011 01:30:37 pm    Post subject:

Can you make an On Break oppcode? I've been looking all over to find one for my BASIC passcode calculator security program. (It already runs automatically with the Startup app.)
Back to top
Sven.Thomas0


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 17 Mar 2011 04:30:37 pm    Post subject:

Do you mean something to cause a "ERR:BREAK"? If you want that, you can do FDCB09E6C9 should cause the error. If you want to block it, you will want to download ONBlock because I have never learned how to use interrupts (sorry).
Back to top
DrDnar


Member


Joined: 28 Aug 2009
Posts: 116

Posted: 18 Mar 2011 06:42:03 pm    Post subject:

Interrupts, properly implemented, are simple and easy to use. TI didn't implement them properly. I guess, as far as they're concerned, there was no need to implement IM 2 correctly, or at least useably.
Back to top
erik.wiggins


Newbie


Joined: 06 Mar 2012
Posts: 4

Posted: 06 Mar 2012 09:52:51 pm    Post subject:

Does anyone know of a Hexcode that will allow me to add greek letters to my programs? I've played around with the char program and can get just the letters I need to display to display with it but getting them to display where I want them to be (In a physics formula) is beyound my ability.
Back to top
Sven.Thomas0


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 08 Mar 2012 12:15:47 pm    Post subject:

Hmm, I made this program if you want to give it a try Smile
http://www.ticalc.org/archives/files/fileinfo/425/42505.html
It includes the opcode and the readme tells you how to use it to get a string of all the interesting chars such as greek letters. You can then use them in a string to display them wherever you need them Smile The nice thing is that if you know the value for the char, you can pass it to prgmXTRA and it will spit out the number as a string. You can also use a program called DataString to do similar things.

I hope that helps! If you need more info, feel free to ask Smile
Back to top
erik.wiggins


Newbie


Joined: 06 Mar 2012
Posts: 4

Posted: 08 Mar 2012 12:59:46 pm    Post subject:

Sad I don't have a link cable. I tried typing the hexcode from the zip file into an asmprog and runnign it but it did not work. I twould have been great if I could have stored Greek letters into a str vars though.
Back to top
Sven.Thomas0


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 08 Mar 2012 01:38:32 pm    Post subject:

Okay, that is odd... maybe the opcode was input wrong? .__. I tried it to make sure and it worked. Here is a screenie of what I did:
[attachment=3546:Xtra Ex0.gif]
The result was all the letters stored as a string to Str1 (and Ans)

EDIT: Also, after looking at that source (which I made a looong time ago), I see that I need to update it. I can make it smaller, now >.>


Last edited by Guest on 08 Mar 2012 01:41:18 pm; edited 1 time in total
Back to top
erik.wiggins


Newbie


Joined: 06 Mar 2012
Posts: 4

Posted: 08 Mar 2012 07:38:29 pm    Post subject:

I got it to work thanks a bunch. Now I can just play around with it and get only the letter I need in the string and then create a short sub prg to get only the letter I need out of the string. Once again thanks.
Back to top
Sven.Thomas0


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 09 Mar 2012 08:54:56 am    Post subject:

No problem! I am glad it worked Smile Also, might I ask what the program is that you are making? Physics wasn't my strong point, but the formulas where always fun XD
Back to top
erik.wiggins


Newbie


Joined: 06 Mar 2012
Posts: 4

Posted: 12 Mar 2012 10:40:16 am    Post subject:

Just a formula sheet to start with. Now that I can use the Greek letters I can put in those nice formulas like Φ=Q/ϵ Of course the real hand part is τ since t=time and T= tension. So far I've made a custom menu that parses str1 for menu entries and returns the menu item selected as a number in S. The next thing to do is to build all of my formulas using the nice little program you provided me with and then eventually I'll have the program solve the equations for me. But that is a long way down the road. I've got 2 semesters of College Physics formulas to plug in first.
Back to top
Sven.Thomas0


Active Member


Joined: 19 May 2009
Posts: 520

Posted: 12 Mar 2012 12:47:00 pm    Post subject:

Oh dear, well good luck!
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page Previous  1, 2
» View previous topic :: View next topic  
Page 2 of 2 » All times are GMT - 5 Hours

 

Advertisement