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 ... 296 297 [298] 299 300 ... 317
4456
« on: December 07, 2010, 06:49:07 pm »
Okee, so it seems that people here like math, oddly enough . So... I have my.. erm... "notes" if you will. Some of this is so out there and abstract that it makes minds explode (that has only happened 2 in 7 times, so the odds are in your favor!) Some of this also is a way to attack the Riemann Hypothesis, so besides the fact that I believe in the development of knowledge and understanding, I should probably not be releasing some of my notes. However, it is pretty well known that I am indeed attacking these areas of math, so I am willing to give you all some food for thought. Also, if you guys have any equations or anything that you have come up with, please feel free to post. I would prefer if this topic was limited to original ideas (of course, those ideas will need non-original ideas to explain, I am sure), but whatever, math is math is fun is fun. So, here are my notes and y'all better ask questions fast because when I leave Friday, I will be home where internet access is very severely limited. I will be gone until around January 16 or 17 of 2011. Graphmastur so far has a pretty good grasp of my main algorithm, but there is sooooo much more to it that I need to be reminded to explain (like the fact that the ratio of the coefficients seem to converge to 19/750) Anywho, here goes (and sorry for my hand writing I don't exactly meet the requirements for certain stereotypes). By the way, I have led a fairly sheltered life, so there are many notations that I have come up with, not knowing that notation already existed. I have been using proper notation as I learn it, but I cannot guarantee that this all will exactly fit your styles or tastes in "writing" math
4457
« on: December 07, 2010, 05:41:25 pm »
Now that I've thought about it, I know what Scout's thinking. *facepalm*
Here's how to compile hex into an App on-calc (the easy way) 1. Download Axe Parser 2. Make the Axe program like this:
.NAMEOFAPP (Must be 8 letters maximum, but can be lowercase if desired) Asm(Hex Code Here) (I suggest using [2nd] [Rcl] to put the program in the Axe program the first time. Remember that Asm() is just pure hex in Axe. ) 3. Run Axe, make sure that compile to Applications is selected, and enjoy. 4. To sign the App, transfer it to your computer, drag it over the signing tool that comes with the Axe download, and re-transfer to your calc.
I hope this helps Xeda!
Thankee, you two. I actually did end up doing that and it was very helpful. The only problem I had with Axe is that it makes an App that has its own axe "header" I think. I had to go through and adjust all the addresses for it to work. Thanks!
4458
« on: December 07, 2010, 01:48:17 am »
Okee, I think I'll give it a try. Meanwhile, I just had a brilliant idea with an interrupt, if only I could manage it in my head. It will be my first interrupt \(^_^)/
4459
« on: December 07, 2010, 01:36:30 am »
So, if I use a value between C000 and FFFF what happens? Could I then use a piece of RAM as a jump table? I'm really just curious; I know it would just be a waste of speed.
4460
« on: December 07, 2010, 01:07:34 am »
Cool! Now, I was actually wondering about the B_Call thing... What happens during the B_Call? Like, which pages get swapped where? I wanted to try something for fun that is like what you are talking about (making a jump table for B_Call), except in a RAM program.
4461
« on: December 07, 2010, 12:54:58 am »
Another option, with the same caveats, would be to simply leave your app mapped in the 4000-7FFF slot, and temporarily map whichever RAM page you're interested in in the 8000-BFFF slot.
Hehe, that might be more useful. I am glad I'm not doing the thinking 'round here.
4462
« on: December 07, 2010, 12:50:40 am »
No, like this, in asm:
di in (6), a out (7), a jp $+4000h ld a, 83h out (6), a ; Business as usual Hehe, sorry, my post came like 8 seconds after yours, I was asking Floppus Yours is probably the way to go if you are running from the app page.
4463
« on: December 07, 2010, 12:42:24 am »
So, I've never made a multi page APP before... Would it be that I could make a code like this:
This heads both pages
<<Header>> 1803 This skips the next 3 bytes DB06 This changes the flash page to whatever was in a C9 This is executed on the next page, pops the value into PC and picks up the code from there
Continuing code to some part on the next page:
DB06 This gets the current flash page in a 3C This increase a 21**** This is the address to jump to on the next page E5 This pushes HL C38240 This jumps to 2 bytes after the header
4464
« on: December 07, 2010, 12:29:48 am »
I have only ever used it from a program or from a spot in RAM not on the page I was swapping out.
4465
« on: December 07, 2010, 12:26:10 am »
Then the App is switched out. If you run this from an app, you might have a problem.
4466
« on: December 07, 2010, 12:20:38 am »
There shouldn't be a problem with that, I use that all the time for when I switch out pages. It won't pose a problem at all unless his code uses a "pop" without another "push."
EDIT: Ninja!
No, all it does is swap out 4000h to 7FFFh to the RAM page leaving the rest intact. Are you trying to make use of all of the RAM at once?
4467
« on: December 06, 2010, 11:47:20 pm »
It has been a while, so here is my next little trick. If you have a bunch of opcodes, but you don't want a bunch of programs, you can turn them into a library. A simple library can be made using this format:
EFD74AB7C0 EFEF4A3C47 10xx <<code>> 10yy <<code>> ... EF6A48C9
The xx and yy are the sizes of the <<code>> they correspond to in bytes. The EF6A48 is just an LCD update which will occur as the last command. This can be changed to another code.
So, say I wanted to use:
05 bytes: (LCD On) 3E03D310C9 05 bytes: (LCD Off) 3E02D310C9 10 bytes: (Invert Screen) 210000115F3FEF5F4DC9
I would do:
EFD74AB7C0 EFEF4A3C47 1005 3E03D310C9 1005 3E03D310C9 100A ;0A is the hexadecimal value for 10 210000115F3FEF5F4DC9 EF6A48 C9
If I named this prgmA, then to run, I use a number that tells which code to run. So "0" would turn on the LCD, "1" would turn it off, and "2" would invert the screen. Anything after that would update the LCD (display the graph screen). So:
:1 ;LCD Off :Asm(prgmA :2 ;Invert screen :Asm(prgmA :Pause "HI :0 ;LCD On :Asm(prgmA
This would turn the LCD Off, invert the screen, and turn it back on, after you hit enter (for the Pause).
I made a program a while ago that did this for you. I am going through my TICalc programs to update them, and I came across this program. I added more features and abilities as well, and now it has 3 types of libraries it can make. A "Basic" library (like the one above). A "Tech" library that allows stringing arguments together, and a "Zeda" version which is what SpriteLib uses. Stringing would be like using {1,2,3:Asm(prgmA instead of calling the program each time.
4468
« on: December 06, 2010, 05:02:58 pm »
Celtic 3 Hybrid programming or hex I used Celtic 3 before I learned how to program in hex and I still use it. I hear the new DCS has Celtic 3 built into it, though.
4469
« on: December 06, 2010, 12:31:25 pm »
Haha gotcha, so then that circuit will never be able to be true? What happens if you have a NOT gate attached to itself? o.O
0/0
4470
« on: December 05, 2010, 09:14:02 pm »
Oh, that? I can add that right now. I never knew that was the name! I actually took that out because I didn't think anybody used it!
Pages: 1 ... 296 297 [298] 299 300 ... 317
|