MRC2k11 feedback topic

Pagina 18/51
11 | 12 | 13 | 14 | 15 | 16 | 17 | | 19 | 20 | 21 | 22 | 23

Van hit9918

Prophet (2926)

afbeelding van hit9918

21-01-2012, 17:13

Testing TABs in code with GUI

;1 tab
loop:
outi
;2 tabs
djnz loop

edit: it is impossible to post code with tabs.

edit2: edit3: no more is the case.

Van hit9918

Prophet (2926)

afbeelding van hit9918

21-01-2012, 17:22

I should mention: in the posting before, pasting from clipboard to a code box, the other lines were spilled outside the code box. The funny thing is that this does not happen if I first press return to make the box 2 lines high.

Van meits

Scribe (6530)

afbeelding van meits

22-01-2012, 18:19

Use the search engine to find for example MSX.JPG and you get a 404... Hannibal

Van Manuel

Ascended (19224)

afbeelding van Manuel

22-01-2012, 22:32

; 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)

Van Manuel

Ascended (19224)

afbeelding van Manuel

22-01-2012, 22:36

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.

Van Jorito

Mr. Ambassadors (1784)

afbeelding van Jorito

22-01-2012, 23:21

Use the search engine to find for example MSX.JPG and you get a 404... Hannibal

Hmmm, interesting design flaw in the search engine. Completely understandable tho (look at the url).

Van Manuel

Ascended (19224)

afbeelding van Manuel

23-01-2012, 18:46

hey, what about the issue(s) I mentioned? Tongue

Van snout

Ascended (15187)

afbeelding van snout

23-01-2012, 21:20

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.

Van Jorito

Mr. Ambassadors (1784)

afbeelding van Jorito

23-01-2012, 22:01

What the snoutmeister says. 

I read all feedback, and most will be acted upon. But as always time is the limiting factor.

Van Manuel

Ascended (19224)

afbeelding van Manuel

23-01-2012, 22:07

No problem, but you did react to another issue, so I felt a bit ignored ;-)

Pagina 18/51
11 | 12 | 13 | 14 | 15 | 16 | 17 | | 19 | 20 | 21 | 22 | 23