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

Pages: 1 ... 183 184 [185] 186 187 ... 317
2761
News / Re: POTY 2011 open!
« on: December 01, 2011, 09:34:35 pm »
Yeah, you said guess and that is what I have it narrowed down to XD

2762
News / Re: POTY 2011 open!
« on: December 01, 2011, 09:05:41 pm »
Benumbered, Exodus, or Zedd?

2763
Oh jee, that is a surprise! So do I upload to Yaronet or zContest?

2764
News / Re: POTY 2011 open!
« on: December 01, 2011, 08:18:50 pm »
I am between these:
Benumbered
Devrays
Exodus
Obliterate
Zedd

I know, I narrowed it down, right XD
The best part is that Grammer is really the weakest contender which means that if Grammer is good, the rest are absolutely freaking amazing O.O

2765
News / Re: POTY 2011 open!
« on: December 01, 2011, 08:08:02 pm »
Oh dear, this is tough O.O These are a bunch of reallly good programs D:

2766
News / Re: POTY 2011 open!
« on: December 01, 2011, 08:01:19 pm »
:D Cooooool! And I just got back from work to see this! ^-^

2767
D: I am trying to see if I can add a last minute command to Grammer D:
But it is still pretty decent as is, I think :)

2768
ASM / Re: ASM Optimized routines
« on: December 01, 2011, 11:42:58 am »
Wow, awesome! But can the ld hl,0 be changed to sbc hl,hl? That would save a byte (but I think it is 5 cycles slower... :/ )

2769
ASM / Re: ASM Optimized routines
« on: December 01, 2011, 11:07:15 am »
Hmm, here is a signed division routine I wrote... I compared it to the HL_Div_BC routine I wrote.
If both inputs are positive, this is exactly the same speed, but if both are negative, it takes 50 cycles more and if only one is negative, it takes 71 cycles more.
Code: [Select]
;===============================================================
HL_SDiv_BC:
;===============================================================
;Performs HL/BC
;Speed:   1494 cycles
;         **same cycles as the regular HL_Div_BC
;         add 25 if HL is negative
;         add 25 if BC is negative
;         add another 46 if only one is negative
;Size:    54 bytes
;         **31 bytes larger than the regular HL_Div_BC
;Inputs:
;     HL is the numerator
;     BC is the denominator
;Outputs:
;     HL is the quotient
;     DE is the remainder
;     BC is not changed
;     A is 0
;     z flag is set
;     c flag is reset
;===============================================================
     ld a,h
     xor b
     and 128
     push af
absHL:
     bit 7,h
     jr z,absBC
     ld a,l \ cpl \ ld l,a
     ld a,h \ cpl \ ld h,a
     inc hl
absBC:
     bit 7,b
     jr z,$+9
     ld a,c \ cpl \ ld c,a
     ld a,b \ cpl \ ld b,a
     inc bc
     add hl,hl
       ld a,15
       ld de,0
Div_Loop_1:
         add hl,hl
         ex de,hl
         adc hl,hl
         or a
         sbc hl,bc
         jr c,$+5
           inc e
           jr $+3
         add hl,bc
         ex de,hl
         dec a
         jr nz,Div_Loop_1
       pop af \ ret z
     ld a,l \ cpl \ ld l,a
     ld a,h \ cpl \ ld h,a
     inc hl
       ret

2770
wait, I thought it was 9 hours to go...

2771
Computer Projects and Ideas / Re: Web-based Wabbitemu Frontend
« on: November 30, 2011, 06:33:49 pm »
Wow, that is cool!

2772
Miscellaneous / Re: Man I haven't been on here in forever...
« on: November 30, 2011, 03:36:36 pm »
ooh, very cool and howdy! I do believe that this is an excellent place to get experience :D I've been wanting to program for other systems by making it possible to program directly on the device, but I haven't even the foggiest idea of where to begin or what impossibilities there are XD

2773
Grammer / Re: Grammer 2-The APP
« on: November 30, 2011, 03:31:59 pm »
Ah XD Well I currently trying to integrate the Axe version as an alternative so that I can see what the difference is. I need to figure out all the inputs .__.

2774
Grammer / Re: Grammer 2-The APP
« on: November 30, 2011, 10:15:19 am »
Ah, okay, I was wondering why you were using numbers above 255 XD
Are you taking advantage of the duration, too? Because that gives you some pretty nice control (in my opinion).

EDIT: Also,  :thumbsup: That is very useful :) Did you come by these values through trial and error or did you use some kind of math?

2775
Grammer / Re: Grammer 2-The APP
« on: November 29, 2011, 08:54:30 pm »
hehe, have fun! I hope you can figure out what I did there .__. Feel free to ask questions :)

Pages: 1 ... 183 184 [185] 186 187 ... 317