Show Posts

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 - Runer112

Pages: 1 ... 99 100 [101] 102 103 ... 153
1501
Web Programming and Design / Re: RFG Image Uploader
« on: January 24, 2011, 12:33:47 pm »
Yeah, it's in the RuneScape Wallpapers section, it's a part of Summoning Concept Art 1. :P

Yours looks a lot cooler than the original wolf though. ;)

1502
Web Programming and Design / Re: RFG Image Uploader
« on: January 24, 2011, 12:30:09 pm »
RuneScape ftw! ;D


EDIT: Tried to include picture in post but it isn't loading right :(

1503
Web Programming and Design / Re: RFG Image Uploader
« on: January 24, 2011, 12:23:08 pm »
I know the source of the picture in his current signature. :)

1504
Doodle Jump / Re: Projectile motion, sound, doodlejump
« on: January 24, 2011, 12:54:59 am »
I haven't tested it myself, but perhaps try this? This first checks if the variable exists. If it doesn't, it creates it and initializes the high score (the first and only 2 bytes of the variable) to 0. After having created the variable if necessary, it then sets the high score to the maximum of the previous high score and S. This also sets V to point to the appvar, in case you want to grab the high score or any other data stored in it at a later time.

Code: [Select]
Text(1*256+1)
!If GetCalc(Str1)
→{GetCalc(Str1,2)}ʳ
-1
End
→V
max({}ʳ,S)→{V}ʳ
-1
Text {}ʳ►Dec


EDIT: Tested it and it works. It's about as optimized as I could get it. I can't see any other ways to optimize it without compromising your ability to use the appvar to contain other data as well.

1505
Axe / Re: For those of us who dont know binary...
« on: January 23, 2011, 03:25:13 am »
Here are my best attempts. >:D

Axe (will become 6 bytes smaller if Quigibo implements an If :Goto auto-optimization):

Code: (28 bytes) [Select]
16
Lbl L
-1→{*12+L₆}
If {}
Goto L
End

Assembly (this moves the image down 2 rows and right 24 pixels for extreme optimization :P):

Code: (12 bytes) [Select]
ld hl,17*12+3+plotSScreen ;$940F
ld de,-12
ld b,l
loop:
ld (hl),b
add hl,de
djnz loop
ld (hl),b

1506
The Axe Parser Project / Re: Axioms?
« on: January 22, 2011, 03:36:24 am »
Okay well I have an InsertMem/DelMem Axiom all ready :P Or if you want I could just give you my code and you can add them as built-in features.

1507
The Axe Parser Project / Re: Axioms?
« on: January 22, 2011, 01:10:58 am »
Sorry for the necropost, but are Axioms supposed to be fully functional now? I wrote an Axiom and it looks like Axe doesn't call it a bad axiom, but it doesn't seem to recognize my new commands either. (Bad symbol error)

1508
The Axe Parser Project / Re: Axe Parser
« on: January 21, 2011, 06:55:37 pm »
This is why Quigibo needs to make InsertMem and DelMem functions. Seriously.
^++

1509
Axe / Re: Help parsing a string
« on: January 21, 2011, 02:30:15 pm »
Is there any reason you're using the OS string variables for this? It might be easier to just use your own data storage. Also, prgm is a token, not a character, and would not display correctly as part of an ASCII string. May I suggest something like the following?

Code: [Select]
.Prepare a string buffer
"prgm"Zeros(9)→Str1
.Fill the string buffer with input
Copy(input,Str1+1,8)
.Display prgm token
Disp ᵀprgm►Tok
.Display program name
Disp Str1+1

Str1 will also contain the correct data for any GetCalc() operations that you may want to perform after this.

1510
Axe / Re: The Optimization Compilation
« on: January 20, 2011, 02:58:55 pm »
I can say without testing that the first will definitely be faster, as it avoids using division and moduli. The fastest way to achieve this with Pt-On() logic that I can imagine would be the following:

Code: [Select]
5*8
Lbl LY
  →Y
  5*8
  Lbl LX
    →X
    Pt-On(,Y,Pic1)
  If X
    -8
    Goto LX
  End
If Y
  -8
  Goto LY
End


This would also be slightly faster if you used Pt-Off() instead, but I don't know if your situation requires Pt-On() logic. If you're okay with Pt-Off() logic, I could actually give you an even faster way probably.

1511
Axe / Re: The Optimization Compilation
« on: January 20, 2011, 02:14:46 pm »
The rectangle command will be faster than pixel commands. Assuming equally-distributed onscreen X and Y values, the Pxl-On() method will take an average of 1306.5 cycles, whereas the Rect() method will take an average of 790.5 cycles. Which reminds me that I need to add timing information for commands like Rect() to my commands list.

1512
Axe / Re: Help parsing a string
« on: January 18, 2011, 05:54:09 pm »
May I suggest a simpler soultion? inData(N,C) will return the 1-based position at which the byte stored in N is found in the string, or 0 if it is not found.

1513
Other Calculators / Re: How do you feel about POTY Awards?
« on: January 18, 2011, 05:42:24 pm »
I think this is missing a key option: My goal is not to obtain awards; it is to learn, have fun, and produce things others may appreciate.

1514
Minecraft Discussion / Re: Minecraft
« on: January 15, 2011, 12:51:21 pm »
Feel free to skip to about 0:20.


1515
Axe / Re: Button Press Routine
« on: January 14, 2011, 02:41:58 am »
Seeing as you attached an application, I would assume your problem is that R+J+4 points to a data area inside of your application. Applications exist in ROM (read-only memory), so you are unable to write data to it, only read from it. I would suggest either making your project a program or moving this data into a section of free RAM.

Pages: 1 ... 99 100 [101] 102 103 ... 153