Author Topic: Vectorial Math  (Read 12562 times)

0 Members and 2 Guests are viewing this topic.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Vectorial Math
« on: December 21, 2014, 08:04:35 pm »
Ever dreamed about being able to do vectorial math on your z80 calculator? Well, I started making an app for that!
So far it only features the scalar (dot) product, lol. You can switch between the different product types by hitting the multiply key multiple times.


THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: Vectorial Math
« Reply #1 on: December 21, 2014, 11:04:04 pm »
So that's what this all was for :D I really have no clue what vectorial math is, though.

Btw, should this be in the asm subforum or the z80 projects forum?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Vectorial Math
« Reply #2 on: December 22, 2014, 12:18:13 am »
Interesting. Although at first I thought this would draw vectors lol :P

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Vectorial Math
« Reply #3 on: December 22, 2014, 02:28:26 am »
Nice, just what I needed back then in my vectorial math courses.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Vectorial Math
« Reply #4 on: December 23, 2014, 07:58:21 am »
re-wrote how tokens are handled and added the cross product ^.^

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Vectorial Math
« Reply #5 on: December 23, 2014, 10:35:54 am »
Screenies or it didn't happen :P

Nice job! I hope to see more out of this in the near future (because vectors and Physics)!
I am Bach.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Vectorial Math
« Reply #6 on: December 23, 2014, 10:44:11 am »
Is this a parser hook?
I'm not a nerd but I pretend:

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Vectorial Math
« Reply #7 on: December 23, 2014, 10:44:55 am »
Is this a parser hook?
yes and a key hook so taht if you hit the times key multiple times you get the new token

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Vectorial Math
« Reply #8 on: December 23, 2014, 11:11:01 am »
So vectorial math alternates between multiplication and addition? (I've never heard of it either). Anyhow, it's always nice to see new math programs. :)

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Vectorial Math
« Reply #9 on: December 23, 2014, 11:12:25 am »
So vectorial math alternates between multiplication and addition? (I've never heard of it either). Anyhow, it's always nice to see new math programs. :)
Lol, there's the dot product and the cross product as 'main' things, i guess.
I already added both, then I also added getting the length of a vector and 'normalizing' a vector, so scaling it down to the length of 1

Right now I'm trying around on making a custom menu when hitting STAT twice

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: Vectorial Math
« Reply #10 on: December 24, 2014, 01:30:57 am »
So vectorial math alternates between multiplication and addition? (I've never heard of it either). Anyhow, it's always nice to see new math programs. :)
Lol, there's the dot product and the cross product as 'main' things, i guess.
I already added both, then I also added getting the length of a vector and 'normalizing' a vector, so scaling it down to the length of 1

Right now I'm trying around on making a custom menu when hitting STAT twice

Could you make another alpha-F? menu also/instead?
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Vectorial Math
« Reply #11 on: December 24, 2014, 05:17:29 am »
Yeah I thought about making also such input fields on MP calcs. Depending on how complex it'll be

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Digital

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +0/-0
  • 10101
    • View Profile
    • Digital's Hp
Re: Vectorial Math
« Reply #12 on: January 05, 2015, 06:49:37 pm »
is this project dead? i woud be glad to use this app;)
I'm sorry if i might make some mistakes, I'm German so English isn't my first language. Please correct me :)

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Vectorial Math
« Reply #13 on: January 06, 2015, 03:56:34 am »
No, it isn't dead, but it is currently on-hold as I need to figure stuff out.... http://www.cemetech.net/forum/viewtopic.php?p=228847#228847

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Vectorial Math
« Reply #14 on: January 11, 2015, 07:07:39 am »
Soooo I got a little issue with pasting characters - inside of the TIOS text edtior.
well, the result is looking like this:


My insert token routine is this:
Code: [Select]
insertTok:
; hl - tok
; bc - len (bytes)
   push bc
      ld de,appBackUpScreen
      ldir
   pop bc
   ld hl,appBackUpScreen
   ld (rclQueue),hl
   add hl,bc
   ld (rclQueueEnd),hl
   set 7, (iy+0Eh)
   set 2, (iy+33h)
   ret
Any help would be awesome ^.^

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!