Testing TABs in code with GUI
;1 tab
edit: it is impossible to post code with tabs.
edit2: edit3: no more is the case.
Use the search engine to find for example MSX.JPG and you get a 404...
; sqrt16b ; e = sqrt(hl) ; coded by M. Bilderbeek, thanks to Alex Wulms for the ; idea of the nice Newton-Raphson algorithm. ; changes a,bc,d sqrt16b ld e,255 ; 1st approx., adapt for own sit. ld b,8 ; #iterations, 8 is necessary for all 8- bit possib. sqrt2 push bc ; save the step-counter push hl ; (ld bc,hl) pop bc ; make ready for division ld d,0 ; make sure de is 8-bit value push hl ; save the argument of the sqrt call div16b ; divide bc by e pop hl ; restore the argument of the sqrt ld a,c ; store result in a add a,e ; add it to the prev. approx. push af ; save the carry-flag ld e,a ; put result back in e srl e ; divide 8 bits by 2 pop af ; restore carry flag! jp nc,sqrt3 ; No carry? Then proceed... set 7,e ; carry->add 128 to result sqrt3 pop bc ; restore the step-counter djnz sqrt2 ; next iteration step ret
(testing)
I wanted to edit the above post, but I kept getting CAPTCHA's which I actually completed correctly, but were not accepted at all.
What i wanted to add:
This thing is pasted from a file with tabs all over the place.
Use the search engine to find for example MSX.JPG and you get a 404...
Hmmm, interesting design flaw in the search engine. Completely understandable tho (look at the url).
hey, what about the issue(s) I mentioned?
I like the new "ignore manuel" feature, Jorito, it works really well!
^_^
Just kidding. Jorito + busy + jetlag + quite-a-list-of-ideas-bugreports-and-featurerequests-for-2k11 = all in time, all in good time.
What the snoutmeister says.
I read all feedback, and most will be acted upon. But as always time is the limiting factor.
No problem, but you did react to another issue, so I felt a bit ignored ;-)