• CopyProg 5 1
Currently:  

Author Topic: CopyProg  (Read 29347 times)

0 Members and 1 Guest are viewing this topic.

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: CopyProg
« Reply #30 on: February 02, 2011, 05:42:47 pm »
This is great :D. Are they all online?

Ashbad

  • Guest
Re: CopyProg
« Reply #31 on: February 02, 2011, 05:44:56 pm »
« Last Edit: February 02, 2011, 05:45:06 pm by Ashbad »

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: CopyProg
« Reply #32 on: February 02, 2011, 05:44:59 pm »
All of them are on TICalc, yes.

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: CopyProg
« Reply #33 on: February 03, 2011, 12:42:49 am »
Ah ok good :D . If you ever upload them here I would recommend packaging the ones that only does like one simple thing in one zip file, though, or at least the non-major ones, so it won't clutter the downloads section too much either. Also only tools that are related to game development would be allowed.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: CopyProg
« Reply #34 on: February 03, 2011, 12:50:02 am »
Ah, okay. I'll see what I can do, then. That was what I was worried about-- the clutter. So, yeah, I'll put together a package then.

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: CopyProg
« Reply #35 on: February 04, 2011, 12:36:42 am »
Cool :D. More files in the archives are cool because they include what Omni people worked on (the reason why there's a 100 posts requirement), while still being available on the main download site, ticalc.org, but I try to make sure they won't get cluttered too much either. Back then about 8 people were working on sprite editors and that scared me. O.O

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: CopyProg
« Reply #36 on: August 10, 2011, 06:06:51 pm »
It has been a long while since I updated here on this, so I think I should now that I have time. After a few weeks of summer vacation, I added some new functionality to CopyProg. It now makes use of theta, too, but otherwise it is reverse compatible. What it now does is:
--It does the job of GetName. You specify the variable type to search for and the nth item (alphabetically) and this returns the name as a string. For example, you can use this to find the name of the third program in the programs menu.
   -This returns "." if the var does not exist. Otherwise the var name
   -The size of the variable data is returned in Theta
   -If there is a decimal part, this means the var is archived
--It can copy any var from RAM or Archive to any other var
   -If this is successfully done, Ans is 1, else it is 0
   -This automatically overwrites a preexisting var
--It can delete vars from RAM or Archive
-It can now read lines from a program and can be used to read the number of lines in the program.
   -This reads lines of program code
   -The line number read is returned in theta
   -Theta is returned as 0 if the file does not exist
-It can delete lines of code from a program in RAM


Once again, thanks mrmprog!

EDIT: Also, this program is now running at about 600 bytes, so still pretty small :)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: CopyProg
« Reply #37 on: August 12, 2011, 09:42:21 am »
Awesome work Xeda! =)

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: CopyProg
« Reply #38 on: September 09, 2012, 05:42:41 pm »
Woo, a small (ish) update is here. Copyprog is now 707 bytes, but I added in the ability to Archive and Unarchive variables (thanks pocketpc for messaging me to do this!) and I also fixed the little GetName bug that made Str1, GDB1, pic1 and other "<<OSvartype>>1" variables from not appearing correctly.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: CopyProg
« Reply #39 on: September 10, 2012, 06:07:14 pm »
Wow, it's been over a year since this thread has seen a new post! O.O Nice to see an update though. ;D

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: CopyProg
« Reply #40 on: September 10, 2012, 06:53:49 pm »
Cool updates after some looooooooooooong pause ^^

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

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: CopyProg
« Reply #41 on: September 11, 2012, 12:12:05 pm »
Thanks, that has been a long time. I feel old o.o I think it was a useful update though, and I finally remembered to upload the new version to TICalc (which had only the original version XD)

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: CopyProg
« Reply #42 on: November 26, 2012, 06:40:16 pm »
Well, I found a few bugs and I've no clue how they got there since I specifically addressed them in the last update. Anyways, GetName was almost completely broken. It wasn't returning names properly in many cases and it was returning the wrong sizes for archived vars (I know how that bug snuck in... I optimised something and forgot to update something else). Anyways, I decided to fix the command and then update it a bit to make things worthwhile :)

  • GetName now returns a decimal value in theta of precisely .1 if the program is archived.
  • GetName now returns custom list names in a syntax BASIC users are more familiar with
  • CopyProg (the command) now accepts the little L for custom lists in its name syntax.


Unfortunately, the cost of this was 52 bytes of code in all, bringing the total to 759 bytes :[ On the other hand, it makes things much easier/better when using the program for a shell >.>

Offline blue_bear_94

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 801
  • Rating: +25/-35
  • Touhou Enthusiast / Former Troll / 68k Programmer
    • View Profile
Re: CopyProg
« Reply #43 on: July 01, 2013, 04:14:50 pm »
I found another bug.
On both 2.11 and 2.12, line reading produces a lot of garbage when trying to read archived programs.
Due to dissatisfaction, I will be inactive on Omnimaga until further notice. (?? THP hasn't been much success and there's also the CE. I might possibly be here for a while.)
If you want to implore me to come back, or otherwise contact me, I can be found on GitHub (bluebear94), Twitter (@melranosF_), Reddit (/u/Fluffy8x), or e-mail (if you know my address). As a last resort, send me a PM on Cemetech (bluebear94) or join Touhou Prono (don't be fooled by the name). I've also enabled notifications for PMs on Omnimaga, but I don't advise using that since I might be banned.
Elvyna (Sunrise) 4 5%
TI-84+SE User (2.30 2.55 MP 2.43)
TI-89 Titanium User (3.10)
Casio Prizm User? (1.02)
Bag  東方ぷろの

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: CopyProg
« Reply #44 on: July 01, 2013, 09:31:28 pm »
Sorry for the long wait, I share the internet :P Anyways, thanks for notifying me of the bug! As said on IRC, there was a snippet of code deleted that saved the flash page of the data. I fixed that and tested a few more functions to make sure they worked (though there could still be bugs).

Hopefully I didn't leave in any bad code.