ZX Spectrum > PROGRAMOWANIE

CALL INCHL

(1/3) > >>

appblue:
Witajcie,

ZX Spectrum jest względnie prostą platformą sprzętową, ale jednym z elementów, który do dziś spędza sen z powiek adeptom sztuki programowania w assemblerze, jest organizacja pamięci ekranu. Kiedyś analizując kod jednej gier kolega natknął się na taką oto procedurę, którą roboczo nazywaliśmy INCHL:


--- Kod: ---INCHL INC H
        LD  A,H
        AND 7
        RET NZ
        LD  A,L
        ADD A,32
        LD  L,A
        RET C
        LD  A,H
        SUB 8
        LD  H,A
        RET

--- Koniec kodu ---

Procedura dla podanego w parze rejestrów HL adresu ekranu zwraca adres bajtu znajdującego się w linii poniżej .... nasze życie było od tego czasu dużo prostsze. Mam nadzieję, że też Wam się przyda :)

Tygrys:
Dzięki zapodzielenie się hintem! Dodam że procedura działa również dla banków pamięci dla 128k.

matofesi:
Pamiętam, że u nas procedura nazywała się z jakiegoś powodu NEXTHL ;)
Ma tylko jedną wadę - za uniwersalność płacimy szybkością. Nic nie przebije tablicy albo odpowiednio zoptymalizowanego kodu, ale jeśli potrzebujemy takiego uniwersalnego rozwiązania, które można po prostu wywołać z dowolnego miejsca nie przejmując się specjalnie czasem wykonania to procedurka jest bardzo przydatna :)

appblue:
... żeby umieścić zacytowaną przeze mnie procedurę w kontekście dla początkujących, zamieszczam poniżej fragment kodu wyświetlającego kontrowersyjno-pojednawczy obrazek (do skompilowania pod PASMO).

Z uwagi na chęć wykorzystania komendy LDI do transferu danych, procedura INC_HL zmieniła się w INC_DE:


--- Kod: ---    org 32768

start:
    di
    ld  hl, img
    ld  de, 16384
    ld  bc, 192*32
loop:
    push de

    ; copy one image line
    rept 32
    ldi                    ; (HL) --byte--> (DE), HL++, DE++, BC--
    endm

    pop de
    call inc_de

    ld  a, b
    or  c
    jr  nz, loop

    ; loop forever at the end
stop:
    jp  stop

inc_de:
    inc d
    ld  a, d
    and 7
    ret nz
    ld  a, e
    add a,32
    ld  e, a
    ret c
    ld  a, d
    sub 8
    ld  d, a
    ret

img:
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$F3,$FF,$FF,$CF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$03,$FF,$F3,$FF,$FF,$CF,$FF,$C0,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$03,$FF,$F3,$FF,$FF,$CF,$FF,$C0,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$03,$FF,$F3,$FF,$FF,$CF,$FF,$C0,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$03,$FF,$F3,$FF,$FF,$CF,$FF,$C0,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$03,$FF,$F3,$FF,$FF,$CF,$FF,$C0,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$03,$FF,$F3,$FF,$FF,$CF,$FF,$C0,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$07,$FF,$F3,$FF,$FF,$CF,$FF,$E0,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$07,$FF,$F3,$FF,$FF,$CF,$FF,$E0,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$07,$FF,$F3,$FF,$FF,$CF,$FF,$E0,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$F3,$FF,$FF,$CF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$F3,$FF,$FF,$CF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$F3,$FF,$FF,$CF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$1F,$FF,$F3,$FF,$FF,$CF,$FF,$F8,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$1F,$FF,$E3,$FF,$FF,$C7,$FF,$F8,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$3F,$FF,$E3,$FF,$FF,$C7,$FF,$FC,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$3F,$FF,$E3,$FF,$FF,$C7,$FF,$FC,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$7F,$FF,$E3,$FF,$FF,$C7,$FF,$FE,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$FF,$FF,$C3,$FF,$FF,$C3,$FF,$FF,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$FF,$FF,$C3,$FF,$FF,$C3,$FF,$FF,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$01,$FF,$FF,$C3,$FF,$FF,$C3,$FF,$FF,$80,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$03,$FF,$FF,$83,$FF,$FF,$C1,$FF,$FF,$C0,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$03,$FF,$FF,$83,$FF,$FF,$C1,$FF,$FF,$C0,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$07,$FF,$FF,$03,$FF,$FF,$C0,$FF,$FF,$E0,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$03,$FF,$FF,$C0,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$1F,$FF,$FE,$03,$FF,$FF,$C0,$7F,$FF,$F8,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$3F,$FF,$FE,$03,$FF,$FF,$C0,$7F,$FF,$FC,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$7F,$FF,$FC,$03,$FF,$FF,$C0,$3F,$FF,$FE,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$FF,$FF,$FC,$03,$FF,$FF,$C0,$3F,$FF,$FF,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$01,$FF,$FF,$F8,$03,$FF,$FF,$C0,$1F,$FF,$FF,$80,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$03,$FF,$FF,$F0,$03,$FF,$FF,$C0,$0F,$FF,$FF,$C0,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$F0,$03,$FF,$FF,$C0,$0F,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$1F,$FF,$FF,$E0,$03,$FF,$FF,$C0,$07,$FF,$FF,$F8,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$3F,$FF,$FF,$C0,$03,$FF,$FF,$C0,$03,$FF,$FF,$FC,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$FF,$FF,$FF,$80,$03,$FF,$FF,$C0,$01,$FF,$FF,$FF,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$03,$FF,$FF,$FF,$80,$03,$FF,$FF,$C0,$01,$FF,$FF,$FF,$C0,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$07,$FF,$FF,$FF,$00,$03,$FF,$FF,$C0,$00,$FF,$FF,$FF,$E0,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$1F,$FF,$FF,$FE,$00,$03,$FF,$FF,$C0,$00,$7F,$FF,$FF,$F8,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$7F,$FF,$FF,$FC,$00,$03,$FF,$FF,$C0,$00,$3F,$FF,$FF,$FE,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$03,$FF,$FF,$FF,$F8,$00,$03,$FF,$FF,$C0,$00,$1F,$FF,$FF,$FF,$C0,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$0F,$FF,$FF,$FF,$F0,$00,$03,$FF,$FF,$C0,$00,$0F,$FF,$FF,$FF,$F0,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$7F,$FF,$FF,$FF,$E0,$00,$03,$FF,$FF,$C0,$00,$07,$FF,$FF,$FF,$FE,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$03,$FF,$FF,$FF,$FF,$C0,$00,$03,$FF,$FF,$C0,$00,$03,$FF,$FF,$FF,$FF,$C0,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$3F,$FF,$FF,$FF,$FF,$00,$00,$03,$FF,$FF,$C0,$00,$00,$FF,$FF,$FF,$FF,$FC,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$FF,$FF,$FF,$FE,$00,$00,$03,$FF,$FF,$C0,$00,$00,$7F,$FF,$FF,$FF,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$FF,$FF,$FF,$FC,$00,$00,$03,$FF,$FF,$C0,$00,$00,$3F,$FF,$FF,$FF,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$FF,$FF,$FF,$F0,$00,$00,$03,$FF,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$FF,$FF,$FF,$E0,$00,$00,$03,$FF,$FF,$C0,$00,$00,$07,$FF,$FF,$FF,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$FF,$FF,$FF,$80,$00,$00,$03,$FF,$FF,$C0,$00,$00,$01,$FF,$FF,$FF,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$FF,$FF,$FF,$00,$00,$00,$03,$FF,$FF,$C0,$00,$00,$00,$FF,$FF,$FF,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$FF,$FF,$FC,$00,$00,$00,$03,$FF,$FF,$C0,$00,$00,$00,$3F,$FF,$FF,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$FF,$FF,$F0,$00,$00,$00,$03,$FF,$FF,$C0,$00,$00,$00,$0F,$FF,$FF,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$FF,$FF,$C0,$00,$00,$00,$03,$FF,$FF,$C0,$00,$00,$00,$03,$FF,$FF,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$FF,$FF,$00,$00,$00,$00,$03,$FF,$FF,$C0,$00,$00,$00,$00,$FF,$FF,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$FF,$F8,$00,$00,$00,$00,$03,$FF,$FF,$C0,$00,$00,$00,$00,$1F,$FF,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$FF,$E0,$00,$00,$00,$00,$03,$FF,$FF,$C0,$00,$00,$00,$00,$07,$FF,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$FF,$00,$00,$00,$00,$00,$03,$FF,$FF,$C0,$00,$00,$00,$00,$00,$FF,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$F8,$00,$00,$00,$00,$00,$03,$FF,$FF,$C0,$00,$00,$00,$00,$00,$1F,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$80,$00,$00,$00,$00,$00,$03,$FF,$FF,$C0,$00,$00,$00,$00,$00,$01,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$F0,$00,$00,$00,$00,$00,$00,$03,$FF,$FF,$C0,$00,$00,$00,$00,$00,$00,$0F,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$01,$F8,$00,$FF,$FF,$FF,$FF,$00,$3F,$00,$00,$00,$1F,$FE,$00,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$03,$FE,$00,$FF,$FF,$FF,$FF,$00,$FF,$C0,$00,$00,$FF,$FF,$E0,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$0F,$FF,$00,$FF,$FF,$FF,$FF,$01,$FF,$E0,$00,$03,$FF,$FF,$F8,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$0F,$FF,$80,$FF,$FF,$FF,$FF,$03,$FF,$F0,$00,$03,$FF,$FF,$FE,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$1F,$FF,$C0,$FF,$FF,$FF,$FF,$03,$FF,$F0,$00,$07,$FF,$FF,$FF,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$1F,$FF,$C0,$FF,$FF,$FF,$FF,$07,$FF,$F0,$00,$07,$FF,$FF,$FF,$80,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$3F,$FF,$C0,$FF,$FF,$FF,$FF,$07,$FF,$F8,$00,$0F,$FF,$FF,$FF,$C0,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$3F,$FF,$E0,$FF,$FF,$FF,$FF,$07,$FF,$F8,$00,$0F,$FF,$FF,$FF,$E0,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$3F,$FF,$E0,$00,$1F,$F8,$00,$0F,$FF,$FC,$00,$0F,$FC,$01,$FF,$F0,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$7F,$FF,$F0,$00,$1F,$F8,$00,$0F,$FF,$FC,$00,$0F,$FC,$00,$7F,$F0,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$7F,$FF,$F0,$00,$1F,$F8,$00,$0F,$FF,$FE,$00,$0F,$FC,$00,$3F,$F0,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$7F,$FF,$F0,$00,$1F,$F8,$00,$1F,$FF,$FE,$00,$0F,$FC,$00,$3F,$F8,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$FF,$FF,$F8,$00,$1F,$F8,$00,$1F,$FF,$FE,$00,$0F,$FC,$00,$1F,$F8,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$FF,$DF,$F8,$00,$1F,$F8,$00,$3F,$FF,$FF,$00,$0F,$FC,$00,$1F,$F8,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$FF,$DF,$FC,$00,$1F,$F8,$00,$3F,$FB,$FF,$00,$0F,$FC,$00,$1F,$F0,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$01,$FF,$DF,$FC,$00,$1F,$F8,$00,$3F,$F3,$FF,$80,$0F,$FC,$00,$3F,$F0,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$01,$FF,$8F,$FC,$00,$1F,$F8,$00,$7F,$F3,$FF,$80,$0F,$FC,$00,$7F,$F0,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$03,$FF,$8F,$FE,$00,$1F,$F8,$00,$7F,$E1,$FF,$80,$0F,$FC,$00,$FF,$E0,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$03,$FF,$87,$FE,$00,$1F,$F8,$00,$7F,$E1,$FF,$C0,$0F,$FC,$0F,$FF,$E0,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$03,$FF,$07,$FF,$00,$1F,$F8,$00,$FF,$E0,$FF,$C0,$0F,$FC,$3F,$FF,$C0,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$07,$FF,$07,$FF,$00,$1F,$F8,$00,$FF,$C0,$FF,$E0,$0F,$FC,$7F,$FF,$80,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$07,$FE,$03,$FF,$00,$1F,$F8,$00,$FF,$C0,$FF,$E0,$0F,$FC,$FF,$FF,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$07,$FE,$03,$FF,$80,$1F,$F8,$01,$FF,$C0,$7F,$E0,$0F,$FD,$FF,$FC,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$0F,$FE,$01,$FF,$80,$1F,$F8,$01,$FF,$80,$7F,$F0,$0F,$FD,$FF,$F0,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$0F,$FF,$FF,$FF,$C0,$1F,$F8,$03,$FF,$FF,$FF,$F0,$0F,$FD,$FF,$C0,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$0F,$FF,$FF,$FF,$C0,$1F,$F8,$03,$FF,$FF,$FF,$F8,$0F,$FC,$FF,$C0,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$1F,$FF,$FF,$FF,$C0,$1F,$F8,$03,$FF,$FF,$FF,$F8,$0F,$FC,$FF,$E0,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$1F,$FF,$FF,$FF,$E0,$1F,$F8,$07,$FF,$FF,$FF,$F8,$0F,$FC,$7F,$F0,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$3F,$FF,$FF,$FF,$E0,$1F,$F8,$07,$FF,$FF,$FF,$FC,$0F,$FC,$3F,$F8,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$3F,$FF,$FF,$FF,$F0,$1F,$F8,$07,$FF,$FF,$FF,$FC,$0F,$FC,$1F,$F8,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$3F,$FF,$FF,$FF,$F0,$1F,$F8,$0F,$FF,$FF,$FF,$FE,$0F,$FC,$0F,$FC,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$7F,$F0,$00,$3F,$F0,$1F,$F8,$0F,$FC,$00,$0F,$FE,$0F,$FC,$0F,$FE,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$7F,$E0,$00,$3F,$F8,$1F,$F8,$0F,$FC,$00,$07,$FE,$0F,$FC,$07,$FF,$00,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$7F,$E0,$00,$1F,$F8,$1F,$F8,$1F,$FC,$00,$07,$FF,$0F,$FC,$03,$FF,$80,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$FF,$E0,$00,$1F,$FC,$1F,$F8,$1F,$F8,$00,$03,$FF,$0F,$FC,$01,$FF,$80,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$FF,$C0,$00,$0F,$FC,$1F,$F8,$3F,$F8,$00,$03,$FF,$8F,$FC,$00,$FF,$C0,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$01,$FF,$C0,$00,$0F,$FC,$1F,$F8,$3F,$F8,$00,$01,$FF,$8F,$FC,$00,$FF,$E0,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$01,$FF,$C0,$00,$0F,$FE,$1F,$F8,$3F,$F0,$00,$01,$FF,$8F,$FC,$00,$7F,$F0,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$01,$FF,$80,$00,$07,$FE,$1F,$F8,$7F,$F0,$00,$01,$FF,$CF,$FC,$00,$3F,$F8,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$80,$00,$07,$FF,$1F,$F8,$7F,$E0,$00,$00,$FF,$CF,$FC,$00,$1F,$FC,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$03,$FF,$00,$00,$03,$FF,$1F,$F8,$7F,$E0,$00,$00,$FF,$C7,$FC,$00,$0F,$FC,$FF,$C0,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$F0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0F,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    db  $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF
    end 32768

--- Koniec kodu ---

wynik

tooloud:
... ale to zastosowanie to tak trochę nie do końca rozumiem z tego przykładu powyżej, przecież wystarczy odpowiednio zakodować (zapisać) obrazek, żeby to ogarnąć prostym kopiowaniem 1:1 obszaru danych bez amby przeliczeń??

Nawigacja

[0] Indeks wiadomości

[#] Następna strona

Idź do wersji pełnej