Author Topic: Getting a program to unarchive another and then run it?  (Read 6795 times)

0 Members and 1 Guest are viewing this topic.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Getting a program to unarchive another and then run it?
« Reply #15 on: October 29, 2012, 10:32:43 am »
SMC shouldn't need writeback unless it needs those buffers to be maintained, though, right?

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Getting a program to unarchive another and then run it?
« Reply #16 on: October 29, 2012, 10:41:20 am »
SMC shouldn't need writeback unless it needs those buffers to be maintained, though, right?
True, but there's no way to communicate that back to the shell.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Getting a program to unarchive another and then run it?
« Reply #17 on: October 29, 2012, 11:31:40 am »
Do you modify any of the data buffers you put in the program? That counts as "SMC" as far as the fact that you're modifying things within the program space.
No I don't. And I can prove it with the fact that zStart doesn't perform any writeback on my programs.

SMC shouldn't need writeback unless it needs those buffers to be maintained, though, right?
True, but there's no way to communicate that back to the shell.
You still can restore their initial state. For example, if every byte was at 0 at the beginning, you set them all back to 0 before leaving ;)
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Getting a program to unarchive another and then run it?
« Reply #18 on: November 03, 2012, 01:59:34 pm »
I moved the topic to TI-BASIC language (Other Calc-Related Projects and Ideas is for projects and ideas :P), but I'm not entirely sure what language this is for, so if you want me to move it again just ask.