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 ... 296 297 [298] 299 300 ... 317
4456
Math and Science / Math! (and that is not a factorial)
« on: December 07, 2010, 06:49:07 pm »
Okee, so it seems that people here like math, oddly enough :D . 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 :D 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 :D

4457
BatLib / Re: SpriteLib
« 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:
Code: [Select]
.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. :) )
Spoiler For the Axe program using the code Scout quoted above:
Code: [Select]
.Font
Asm(DB06218B40EF2650EF274083B7C8E521B1B1ED42E12802AFC97D3D28FA22A484E5DFE1EF9F43ED73A8842A24982322A684CDB8433C47100532E29906001005EF70450600101421154301350011E299D5EDB0E1DB06EFE44F0600101ACDB843E60F8783878316005F21729919E5CD7143E1EBEDB006001027CDB843E60F8783878316005F21729919E5CDB843E60F8783878306004FC5CD4A43C1E1EDB006001012CD7143CB38CB1921EC86E5CD9D4336C906001026CDB843F5CDB843D5CD7143217884EBEDB0AF12EFF142DA81421313E119F1467778EF8C47060010083A3F84EF8C470600100AAFD301DB013C28F90600FE01C9E5297E292929E11B7AB320F40B78B120F6C909F52BF1CB16F50B78B120F6F1C909EB09AFF5F12B1B1A8E77F50B78B120F4F1EBC909EB09AFF5F12B1B1A9E77F50B78B120F4F1EBC9E5C51A13EDA1200B78B120F6EBC1D1ED4237C9C1E17AB320E7C91A13EDA1200578B120F6BFC9117884D511AA84D5CD1042EBED67EBCD1042EBED67EB1B7CB520EDE1ED52444DE1772379873DC6807723EBEDB0C9AF06102917FE0A3803D60A2C10F5C91A007713230B78B120F6C9C522AA843E3FBECC744223060004237EFE3F2804FE2B20F5E52BEB21000022B284231AE60F1BE5D5C5CDAA43C1ED5BB2841922B284D1E13E0AD5C5CDAA43C1D110E0ED5BB2847BE1C1C92A5D963E3F23BB20FC23225D96ED7BA884C983472142847EFE3238033E3277FE0A20033E0A7778C922AA8421409322B284060CC50608C51AD56F2600292929ED4BAA8409EB2AB284CDD24222B284D113C110E32525252C22B284C110D6C9010C081A007713780600094710F5C90E007EFE2920023E20FEBB200A23057ED64FFE6D38013D2312130C10E5C9773E0C904F7EC5F51A0077132310F909F1C13D20F1C983FE012803AF3DC978FE3A3802D607D630FE1030F04F3A5396B728E979C58781878116005F216B991978010700115A84EDB0C1AFC9C5EF524BD7EFC94FE1EF27431313C93E30ED67FE3A3802C607121BC91AFE3A3802D60713ED6FC92AA6842BEF7A412322A6842AA4842B22A484EFF142DA8142EB4E234623EBC9CD5943CD59432B0B78B120F4C9CD6643CD6643230B78B120F4C90608110000EB290730011910F9C9ED4BA48478B128110BED43A4842AA684CDE44322A684C9D5E5CDAA43ED5BAA841922AA84E13E0ACDAA43D1C97EE5E60FCB3FF53C4F060009EB21000022AA8423F130061AE60FCDCF431AE6F007070707CDCF431B0D79B720EAE111090019ED5BAA847BC96F2600EF9247EF5641F601C932B28478B7200A79B728103D200322AA843AB28423BE20FC0B18E8EB2AAA84EBED52444DC97EFE61380CEB36BB23EBC64FFEBB38013CFE2E20023E3AFE2020023E29FE3F20013D1213230B78B120D6E1EBED52E5C1C9CD7143EB41117984CDE142AF12CDB843327884EFF142DC8142EB4E234623C9CDB843E603878787C6A632D642320843C9CDB843D5CDB843EB2929545D2919D119C9E5C5D5217984010000AF0C23BE20FBC5EFF142DC814278C1210C0009EBB720021E0219D119C1D1EF5480C9E5292929E13E2084D310E5292929E13E8085D310C5E5E5292929E11A13D31110F5E1C10D2479B720D7C9C5E521EC86E5EB79F5E5C57E1213780600094710F6C1E1F1233D20ECD1E1C1C9)
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! ;D

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
Axe / Re: RAM
« 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
Axe / Re: RAM
« 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
Axe / Re: RAM
« 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
Axe / Re: RAM
« 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
Axe / Re: RAM
« on: December 07, 2010, 12:50:40 am »
No, like this, in asm:
Code: [Select]
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
Axe / Re: RAM
« 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
Code: [Select]
<<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:
Code: [Select]
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
Axe / Re: RAM
« 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
Axe / Re: RAM
« 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
Axe / Re: RAM
« 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
General Calculator Help / Re: BASIC (Ab)Uses of Assembly Opcodes
« 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:
Code: [Select]
05 bytes: (LCD On) 3E03D310C9
05 bytes: (LCD Off) 3E02D310C9
10 bytes: (Invert Screen) 210000115F3FEF5F4DC9
I would do:
Code: [Select]
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:

Code: [Select]
: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
Miscellaneous / Re: Calculator or Computer language help
« on: December 06, 2010, 05:02:58 pm »
Celtic 3 Hybrid programming or hex :D
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
TI Z80 / Re: Logisim Axe
« 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
BatLib / Re: SpriteLib
« 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