This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - Xeda112358
Pages: 1 ... 255 256 [257] 258 259 ... 317
3841
« on: March 03, 2011, 02:30:26 pm »
Here is a cool little opcode... it will take a string in Ans as the name of a var to execute as a BASIC program. The input is also the same as CopyProg (or the output of GetName). So for example, if appvar HELLO has BASIC data, you can do:
:"UHELLO :Asm(prgmEXEC Anyway, the opcode is:
EFD74AFE04C0 EB4E234623 117884 EDB0 AF12 FDCB08CE EF9B4A FDCB088E C9
3842
« on: March 03, 2011, 02:07:05 pm »
Okay, I cannot think of any better ways, and yeah, that makes sense. You save 18 bytes of RAM by not using a real var, so really you lost 3 bytes
3843
« on: March 03, 2011, 01:53:57 pm »
Ah, that last edit is larger than the original by 15 bytes...
3844
« on: March 03, 2011, 01:43:03 pm »
I thought of that with the negative sign, too, but then I realised it put the negative at the end...
3845
« on: March 03, 2011, 01:21:35 pm »
Ah, okay... *oops*
3846
« on: March 03, 2011, 01:16:42 pm »
No, I didn't test it, but I have made enough base converters that I am pretty sure that should work
3847
« on: March 03, 2011, 01:10:34 pm »
Here is a slight modification that saves a few bytes... I am going to try to come up with a more efficient version, but I'm pretty sure yours is most efficient at the moment Ans→A " →Str0 A<0→Z abs(A→A While A int(A/10→A sub("0123456789",A-10Ans+1,1)+Str0→Str0 End sub(Str0,1,length(Str0)-1 If Z "[negative]"+Ans
3848
« on: March 03, 2011, 01:03:38 pm »
Ah, do you know why the set and res are there ?
3849
« on: March 03, 2011, 05:36:24 am »
Okay, so earlier I was asked by aeTIos for a hex code to run BASIC programs in Axe and I have heard that this was requested by others, so here goes my rendition... I am sorry in advance if my Axeing is horrible, this is only my second routine: "prgmHELLO"→Str1 ;Name of the var Str1 ;To get the pointer to the string in HL (Ans) Asm(E7FDCB08CEEF9B4AFDCB088E ; As a word of warning, do not use "Stop" in your BASIC programs... This seems to cause a crash You can use "Return" and all the other commands, though, to my knowledge. I hope this helps!
3850
« on: March 03, 2011, 03:22:04 am »
He said he wasn't using that method, though...
3851
« on: March 02, 2011, 07:23:37 pm »
>_> * Xeda112358 knows the Pokémon TCG...
3852
« on: March 02, 2011, 07:18:40 pm »
Yes, like that! That would be cool on a calc! Especially if you create your own card game... I've been meaning to turn the two card games I created into games on the calc I made an RPG of it, but I think I would like the card game more on the calc
3853
« on: March 02, 2011, 07:10:53 pm »
I remember there was an old Yu-gi-oh game for the GBC... So maybe something like that?
3854
« on: March 02, 2011, 07:06:55 pm »
I'm not familiar with it, sorry.
3855
« on: March 02, 2011, 07:04:24 pm »
I personally want to see a TCG come of this (and yes, TCG=Trading Card Game). You can definitely make an RPGish TCG, too! That would be really cool!
Pages: 1 ... 255 256 [257] 258 259 ... 317
|