[zxspectrum] Re: Re[2]: compito in classe

  • From: "Mario" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "aticatac70" for DMARC)
  • To: zxspectrum@xxxxxxxxxxxxx
  • Date: Tue, 10 May 2016 17:31:25 +0200


ho dovuto solo salvare e poi ripristinare AF e HL perche' venivano corrotti... funziona :)
allego prova fotografica ;)

grazie 1000!!




At 16:54 10/05/2016, you wrote:


Il 10/05/2016 15:35, Mario (Redacted sender aticatac70 for DMARC) ha scritto:

si, certo, il resto me lo scrivo da solo :)

Allora, primo tentativo. Controlla e fammi sapere. Potrebbero esserci degli errori:

    ORG  40000

    LD   B,2016-1980
    LD   C,5
    LD   D,10
    LD   E,15
    LD   H,39
    LD   L,15

    CALL TIMETOBIN

    LD   (50000),BC
    LD   (50002),DE

    RET


TIMETOBIN

    SLA  C
    SLA  C
    SLA  C
    SLA  C
    SLA  C

    RL   B

    LD   A,D
    OR   C
    LD   C,A

    LD   D,E

    RR   L
    RR   E
    RR   L
    RR   E
    RR   L
    RR   E
    RR   L
    RR   E
    RR   L
    RR   E

    RR   H
    RR   E
    RR   H
    RR   E
    RR   H
    RR   E

    LD   A,H
    AND  7
    SLA  D
    SLA  D
    SLA  D
    OR   D
    LD   D,A

    RET

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG Music page: http://www.emagsoftware.it/emgmusic
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg

Attachment: IMG_20160510_172407.jpg
Description: JPEG image

Other related posts: