home *** CD-ROM | disk | FTP | other *** search
/ Serious Magazine 7 / Serious_Magazine_07_2000_Dial_pl_Side_B.atr / sstuff07.lzh / SIOINT.LZH / PERCOM.ASM < prev    next >
Assembly Source File  |  1988-09-01  |  990b  |  1 lines

  1. ¢¢¢| Odczyt bloku PERCOM, stacja numer 1¢|¢| Przyklad do artykulu (Serious #7)¢|          "SIO - to proste"¢|¢| Autor: Jager/Dial¢|¢| W QA (Setup) ustaw:¢|¢| RUN  : $8000¢| MEMHI: $8000¢¢¢¢¢ Opt 21      | Do pamieci¢¢ org $8000   | adres RUN¢¢ lda #$31    | wpisujemy kod¢ sta $0300   | stacji dyskow¢*---¢ lda #1      | numer stacji¢ sta $0301   |¢*--- ¢ lda #$4E    | kod operacji¢ sta $0302   | $4E - odczyt¢*---¢ lda #$40    | kierunek transmisji¢ sta $0303   | $40 - odczyt¢*---¢ ldx <$0600  | adres bufora¢ ldy >$0600  | mlodszy/starszy¢ stx $0304   |¢ sty $0305   |¢*---¢ lda #7      | czas oczekiwania¢ sta $0306   | na odpowiedz stacji¢*---¢ ldx <12     | dlugosc bloku¢ ldy >12     | mlodszy/starszy bajt¢ stx $0308   | ¢ sty $0309   |¢*---¢ jsr $E459   | wywolanie SIOINT¢ bmi Error   | sprawdzenie statusu ¢ rts         | OK - wyjscie¢¢Error Equ *  | Blad!¢ brk         | w rejestrze Y procesora¢             | lub w DSTATS znajduje¢             | sie numer bledu¢¢ End of file¢