Author Topic: What did I do wrong here?  (Read 4232 times)

0 Members and 1 Guest are viewing this topic.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
What did I do wrong here?
« on: November 07, 2011, 01:02:08 pm »
so this is an axe source file:
Code: [Select]
prgmASRC
:.MPREV
:prgmMUSEINC
:GetCalc("varN")→A
:GetCalc("varO")→B
:GetCalc("varP")→C
:float{A}→N
:float{B}→O
:float{C}→P
:PM(N,O,P
:prgmMUSERT

prgmMUSEINC contains the list of wavelengths and Lbl PM contains the routine that plays the note accordingly.
It works if I run it on homescreen, but not in this program(TI-BASIC)

Code: [Select]
{data.....}→L1
For(G,0,15
L1(3G)→N
L1(3G+1)→O
L1(3G+2)→P
Asm(prgmMPREV
End

It seems to skip asm program D:
What's wrong with this?
Sig wipe!

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: What did I do wrong here?
« Reply #1 on: November 08, 2011, 10:05:03 am »
*bump*
anyone? D:
Sig wipe!

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: What did I do wrong here?
« Reply #2 on: November 08, 2011, 10:30:43 am »
How are you running the asm program?  (as in zstart, no shell or DCS, archived or not)
« Last Edit: November 08, 2011, 10:30:57 am by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: What did I do wrong here?
« Reply #3 on: November 08, 2011, 10:33:53 am »
just in TI-BASIC program...
Oh crud. I found out why!
I compiled it as MirageOS file... D:
Sig wipe!

Offline C0deH4cker

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 258
  • Rating: +11/-1
    • View Profile
    • iNinjas Forum/Repo
Re: What did I do wrong here?
« Reply #4 on: November 11, 2011, 10:24:02 pm »
That would cause some problems :P