Author Topic: Executing nostub progs  (Read 4863 times)

0 Members and 1 Guest are viewing this topic.

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Executing nostub progs
« Reply #15 on: November 20, 2010, 07:23:04 am »
So this could actually work and be a feasible way of getting around the 8k/16k limit?

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55872
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Executing nostub progs
« Reply #16 on: November 20, 2010, 09:58:21 am »
Hmm now that would be cool if it's feasible. O.O

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Executing nostub progs
« Reply #17 on: November 23, 2010, 11:57:27 am »
Runer: the hex you pointed takes the pointer to the program from hl?

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Executing nostub progs
« Reply #18 on: November 23, 2010, 01:03:10 pm »
It takes a pointer to a zero-terminated string that contains the name of the program.

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Executing nostub progs
« Reply #19 on: November 23, 2010, 06:09:44 pm »
well, I just meant that if I decided to put the hex into a subroutine, I could call it by loading the pointer to the zero-terminated string into the last argument of the routine call (sub(EXC,pointer).....Lbl EXC:Asm(E7EF7C4E):Return)
« Last Edit: November 23, 2010, 06:10:15 pm by squidgetx »