0 Members and 3 Guests are viewing this topic.
In other news, Frey continues kicking unprecedented levels of ass.
I attached it below
If you don't care too much about accuracy, you can do √(A)∗16.Alternatively, I wrote an 8.8 square root routine in asm... If you can give me a token to use (not √( since Axe has dibs) I could make an Axiom.
Ah this looks like a bug with Axe's peephole optimizer! Dang it, here I was telling you to upgrade and it's not even a stable build In the meantime, instead of selecting your program by pressing enter, press the Zoom button instead, and everything should work like it normally does.
:.Load game label:Lbl L:"appvMONEY"→Str0:"appvLEVEL"→Str9:Unarchive Str0:Unarchive Str9:!If GetCalc(Str9)→W or GetCalc(Str0)→E:Goto N:End:{W}→G:{E}→L:Goto 1:Lbl N:. Im not sure what to put as the size:GetCalc(Str0,64)→W:GetCalc(Str9,32)→E:0→{W}→{E}→G→L:Lbl 1:. At the end of the code...:. The save subroutine:Lbl SAVE:Unarchive Str0:Unarchive Str9:G→{W):L→{E}:Archive Str0:Archive Str9:Repeat getKey(9):ClrDraw:Text(1,1,"Saved!"):DispGraph:End:Return
:!If GetCalc(Str9)→W or GetCalc(Str0)→E
:!If ((GetCalc(Str9)→W) or GetCalc(Str0))→E
:0→{W}→{E}→G→L