• Zeda's Hex Codes 5 1
Currently:  

Author Topic: Zeda's Hex Codes  (Read 37084 times)

0 Members and 1 Guest are viewing this topic.

Offline JustCause

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 810
  • Rating: +115/-5
    • View Profile
Re: Zeda's Hex Codes
« Reply #15 on: February 15, 2011, 10:38:05 am »
Awesome! BASIC programmers all over the world cheer...

...and at least one Axe programmer. (QuickKey 2 is actually super useful for cUbEs.)
See you, space cowboy...

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4657
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Zeda's Hex Codes
« Reply #16 on: February 15, 2011, 11:58:10 am »
Okay, this code returns the iPart( value of a real number as a string. So if you do -334.67:Asm(prgmR2S, Ans will be the string "-334"

Code: [Select]
EFD74A
217984
11EC86
7EE60F
470448
2D7E07
3005
0C3EB0121C
2C
2CCDD19D052805CDD19D10F4
C5EF524BD7EFC64F
E1E5EF2743
C11313
21EC86
EDB0
C9
3E30ED6F121CC9

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55847
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Zeda's Hex Codes
« Reply #17 on: February 16, 2011, 01:18:58 am »
Nice stuff Xeda, thanks for sharing with BASIC programmers. Also welcome here mrmprog. :)
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Zeda's Hex Codes
« Reply #18 on: February 22, 2011, 01:07:16 pm »
I know that this was released on most of the calc sites, but where can I find the most recent PDF?

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Zeda's Hex Codes
« Reply #19 on: February 22, 2011, 01:51:00 pm »
Okay, this code returns the iPart( value of a real number as a string. So if you do -334.67:Asm(prgmR2S, Ans will be the string "-334"


Um, that's the Int command. The iPart( command returns the imaginary component of a complex number.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Zeda's Hex Codes
« Reply #20 on: February 22, 2011, 01:55:32 pm »
Okay, this code returns the iPart( value of a real number as a string. So if you do -334.67:Asm(prgmR2S, Ans will be the string "-334"


Um, that's the Int command. The iPart( command returns the imaginary component of a complex number.
I thought iPart( returns the integer part of a number?

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Zeda's Hex Codes
« Reply #21 on: February 22, 2011, 01:58:10 pm »
Hm so it does. My mistake.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55847
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Zeda's Hex Codes
« Reply #22 on: February 23, 2011, 05:00:41 pm »
Yeah, I think the difference between int and ipart was with negative numbers or something. You would have to check TIBD for the differences.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline program4

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 158
  • Rating: +15/-0
    • View Profile
Re: Zeda's Hex Codes
« Reply #23 on: February 23, 2011, 05:46:31 pm »
iPart just takes off anything to the right of the decimal, so iPart(-1.7)=-1. int is the greatest integer function, or the greatest integer less than the input. Since -2 is the greatest integer less than -1.5, int(-1.5)=-2.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4657
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Zeda's Hex Codes
« Reply #24 on: February 23, 2011, 08:59:01 pm »
I know that this was released on most of the calc sites, but where can I find the most recent PDF?
Oh, sorry, I never saw this post... erm, the latest updated version... is included in this post! :D I only added a few codes and programs, but here is version 1.20

EDIT: I accidentally put another opcode for RunIndicator Off. I put EF0745 which is something I use very frequently (for debugging) instead of EF7045.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8209
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Zeda's Hex Codes
« Reply #25 on: February 24, 2011, 10:10:21 am »
Okay, this code returns the iPart( value of a real number as a string. So if you do -334.67:Asm(prgmR2S, Ans will be the string "-334"


Um, that's the Int command. The iPart( command returns the imaginary component of a complex number.

imag( :)
« Last Edit: February 24, 2011, 10:10:31 am by Deep Thought »




Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Zeda's Hex Codes
« Reply #26 on: February 26, 2011, 11:44:03 am »
Xeda, is the Off code the equivalent of actually turning it off, in terms of power consumption?

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8209
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Zeda's Hex Codes
« Reply #27 on: February 26, 2011, 11:49:46 am »
"Calc off" turns off the LCD only, I believe. Then there's bcall(_powerOff), which is EF0850, but that doesn't even completely power off the calculator.
« Last Edit: February 26, 2011, 11:49:51 am by Deep Thought »




Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4657
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Zeda's Hex Codes
« Reply #28 on: February 26, 2011, 12:20:39 pm »
The ones that turn the screen off is immediately following. The one I provided does turn off the calc without using the bcall. (it modifies the Status port)

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4657
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Zeda's Hex Codes
« Reply #29 on: February 27, 2011, 10:43:19 am »
Okay, so if you read the edit to the previous download, I accidentally the run indicator off opcode, so here is a fixed version. I use EF0745 much much more frequently (for debugging) than EF7045 so.... oops? It doesn't harm anything, it just displays a number that I use in debugging to check register values. Luckily, somebody over on TIBD mentioned that the library they were working on kept displaying some random number instead so... Thanks BlakPilar!