Author Topic: BASIC ReCode v2.00  (Read 24807 times)

0 Members and 1 Guest are viewing this topic.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: BASIC ReCode v2.00
« Reply #15 on: March 17, 2011, 10:42:33 am »
wow!  That looks awesome, how did I not notice this before?
* yunhua98 wonders if another "Axe" is here...
Quigibo needs to watch his back now. :P

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4619
  • Rating: +716/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BASIC ReCode v2.00
« Reply #16 on: March 17, 2011, 12:32:13 pm »
Well it isn't quite as fast  as Axe because it has to convert all of the numbers on the fly. The main difference between Axe and this is that ReCode is interpreted so most codes should be smaller than an Axe program. Plus, you can use assembly, BASIC, and ReCode in the same program :D

With that in mind, I think my goal over the summer will be to create an app that takes total control of the RAM and is solely an environment to create and execute programs. It will not use the OS whatsoever. The problem with that, though, is that I will need to have a way to eventually give control back to the OS (for linking and to use the calc as a calc :D)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BASIC ReCode v2.00
« Reply #17 on: March 19, 2011, 07:55:02 am »
wow!  That looks awesome, how did I not notice this before?
* yunhua98 wonders if another "Axe" is here...
Quigibo needs to watch his back now. :P

Well it isn't quite as fast  as Axe because it has to convert all of the numbers on the fly. The main difference between Axe and this is that ReCode is interpreted so most codes should be smaller than an Axe program. Plus, you can use assembly, BASIC, and ReCode in the same program :D

With that in mind, I think my goal over the summer will be to create an app that takes total control of the RAM and is solely an environment to create and execute programs. It will not use the OS whatsoever. The problem with that, though, is that I will need to have a way to eventually give control back to the OS (for linking and to use the calc as a calc :D)

Xeda, don't be modest, yunhua98 is right, this is looking pretty awesome.

Can you make an example with smoothscrolling?
« Last Edit: March 19, 2011, 07:55:14 am by Scout »

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: BASIC ReCode v2.00
« Reply #18 on: March 19, 2011, 08:03:17 am »
I want to give some respect points, but Xeda's respect is the perfect square of 12...  :P
* Qwerty.55 gives it anyway.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BASIC ReCode v2.00
« Reply #19 on: March 19, 2011, 08:04:44 am »
I want to give some respect points, but Xeda's respect is the perfect square of 12...  :P
* Qwerty.55 gives it anyway.

I'll take away her respect to to be 12^2 again >D
« Last Edit: March 19, 2011, 08:07:23 am by Scout »

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: BASIC ReCode v2.00
« Reply #20 on: March 19, 2011, 08:43:35 am »
Xeda this IS awesome. The fact that BASIC or ASM can be integrated with no effort make it unique. I'm very interested to see where you take this. :D

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BASIC ReCode v2.00
« Reply #21 on: March 19, 2011, 08:54:32 am »
I also like the fact that we have a fast interpreted langauge.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: BASIC ReCode v2.00
« Reply #22 on: March 19, 2011, 11:09:55 am »
Wow, I just saw the thing about A' (and the other vars).  That's awesome! ^-^
Great job on this, Zeda. :)

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4619
  • Rating: +716/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BASIC ReCode v2.00
« Reply #23 on: March 19, 2011, 02:05:50 pm »
Can you make an example with smoothscrolling?
My next command goal is to make use of pointers to data and the ability to read and write data. From there, I can make use of the sprite commands and possibly make a smoothscrolling thing :)
I want to give some respect points, but Xeda's respect is the perfect square of 12...  :P
* Qwerty.55 gives it anyway.
Aww, now I need 18 more :( !_!

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BASIC ReCode v2.00
« Reply #24 on: March 19, 2011, 02:22:19 pm »
Can you make an example with smoothscrolling?
My next command goal is to make use of pointers to data and the ability to read and write data. From there, I can make use of the sprite commands and possibly make a smoothscrolling thing :)
I want to give some respect points, but Xeda's respect is the perfect square of 12...  :P
* Qwerty.55 gives it anyway.
Aww, now I need 18 more :( !_!

Give us a smoothscrolling example (sprites and all that stuff, pointers, etc) and you'll have a few more :)

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4619
  • Rating: +716/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BASIC ReCode v2.00
« Reply #25 on: March 19, 2011, 05:40:01 pm »
Aw, I added pointers and some new things and I tried making a tilemap routine in ReCode... :(
It took 25/64 of a second to produce and display a tilemap. That means it can only produce 5 tilemaps in 2 seconds which doesn't look smooth at all :( Anywho, the new commands and syntax are:

Pt-Off( copies some bytes from a var to a fixed RAM area and returns a pointer to it in Ans
using {#,Size instead of a string will use the bytes at address # as data.

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55823
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: BASIC ReCode v2.00
« Reply #26 on: March 26, 2011, 10:59:16 pm »
Well it isn't quite as fast  as Axe because it has to convert all of the numbers on the fly. The main difference between Axe and this is that ReCode is interpreted so most codes should be smaller than an Axe program. Plus, you can use assembly, BASIC, and ReCode in the same program :D

With that in mind, I think my goal over the summer will be to create an app that takes total control of the RAM and is solely an environment to create and execute programs. It will not use the OS whatsoever. The problem with that, though, is that I will need to have a way to eventually give control back to the OS (for linking and to use the calc as a calc :D)
That would be nice. It would be great if we could create/read from appvars like Axe does if it's not possible already, and use them as memory areas to store data. I guess safeRAM areas would be out of the question, though. X.x
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



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

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4619
  • Rating: +716/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BASIC ReCode v2.00
« Reply #27 on: March 27, 2011, 01:25:14 am »
For now I will need to, but if I do make that programming environment, I am going to be writing my own variable structures and VAT, so there will be more RAM to be used and there will be vars that ReCode can use. My plans are to add these vars:
Pictures (variable size?)
Programs
Strings
Lists
Matrices
Numbers
Data

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55823
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: BASIC ReCode v2.00
« Reply #28 on: March 27, 2011, 05:38:26 pm »
Ah nice, but I wonder how it would work in BASIC, since the other RAM is used by the OS sometimes in BASIC?
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



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

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4619
  • Rating: +716/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BASIC ReCode v2.00
« Reply #29 on: March 27, 2011, 05:42:24 pm »
Oh, that version would not use BASIC at all :( It would use its own tokens, its own variables, et cetera and it would only work with the OS through entering or exiting the environment.