Haberler:

Foruma Resim Yükleme ve Boyut Sınırlaması ( ! )  https://bit.ly/2GMFb8H

Ana Menü

DB komutu hakkında..

Başlatan EMG81, 14 Kasım 2011, 20:38:31

EMG81

Birileri bana "DB" komutunun nasıl çalıştığını anlatabilir mi ?
Mesela aşağıdaki kod parçacığını berabercenek yorumlayalım.

PicProje:

        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00
        db      0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0xE0,0xFF,0xFF,0xFF,0x00,0xFE,0x03,0xF8,0x00,0x1E,0x02
        db      0x78,0x00,0x0E,0x20,0xC0,0xFF,0xFF,0xFF,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x18,0x00,0x00,0x55,0xFF,0x18,0xFF
        db      0x00,0x00,0x08,0x08,0x00,0x08,0x08,0x08,0x00,0x00,0x08,0x00,0x08,0x00,0x0F,0xF0
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00

-Hasan-

DB; program belleğine programlama anında veri yazma yazmacıdır. Başladığı adresten itibaren verileri ardışık olarak belleğe yerleştirir. PIC18 ' lerde program belleği byte byte adreslendiği için:

0. Adres --> 0x7E
1. Adres --> 0x00
...
...
...


PIC16 ' larda program belleği 14 bitlik wordlar halinde adreslendiğinden:

0. Adres Lowbyte --> 0x7E
0. Adres Highbyte --> 0x00
1. Adres Lowbyte --> 0x00
1. Adres Highbyte --> 0x00
...
...
...


Ancak burada bir istisna olarak; PIC16 ' nın program belleği 14 bit olarak adreslendiğinden, herhangi bir adresin Highbyte ' ı 6 bit olur. Bu durumda Highbyte 8 bit veri yükleyemezsiniz. Örneğin 0xFF ' yi adresin Highbyte ' ına yazacak olursanız, o adresin Highbyte ' ından 0xFF değil 0x3F okursunuz. PIC16 için bu önemli noktayı göz önünde bulundurun.

ASM ile GLCD uygulaması yapmak istiyorsunuz herhalde?

EMG81

#2
Soruyu sorduktan sonra bende biraz ilerleme katettim.

http://ww1.microchip.com/downloads/en/devicedoc/33014j.pdf :             (Page 65)

Glcd ile filan uğraşmıyacağım.
Bunlar Font Kodları. Hazır buldum. 8*16 ya yazılmış karakterler. Üzerlerinde oynama yapmak istiyorum Fakat çok karışık geldi bana. Kodların tamamı.

FONT_TABLE:



        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00
        db      0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0xE0,0xFF,0xFF,0xFF,0x00,0xFE,0x03,0xF8,0x00,0x1E,0x02
        db      0x78,0x00,0x0E,0x20,0xC0,0xFF,0xFF,0xFF,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x18,0x00,0x00,0x55,0xFF,0x18,0xFF
        db      0x00,0x00,0x08,0x08,0x00,0x08,0x08,0x08,0x00,0x00,0x08,0x00,0x08,0x00,0x0F,0xF0
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00


        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x01,0x40,0x00,0x00,0x00,0x3E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x44,0x00,0x18,0x00,0x00,0x0C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x1C,0x00
        db      0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0xE0,0xDF,0xFF,0xFB,0x00,0xFE,0x07,0xF0,0x00,0x1E,0x00
        db      0xF8,0x00,0x1E,0x20,0xC0,0xFF,0xFF,0xFF,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x3C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3C,0x00,0x00,0xAA,0xFF,0x3C,0xFF
        db      0x00,0x00,0x08,0x08,0x00,0x08,0x08,0x08,0x00,0x00,0x08,0x00,0x08,0x00,0x0F,0xF0
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x3C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00


        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x03,0x60,0x18,0x66,0xFE,0x63,0x00,0x18,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x08,0x44,0x22,0x3E,0x00,0x1C,0x0C,0x30,0x0C,0x00,0x00,0x00,0x00,0x00,0x60
        db      0x3E,0x18,0x3E,0x3E,0x30,0x7F,0x1C,0x7F,0x3E,0x3E,0x00,0x00,0x00,0x00,0x00,0x3E
        db      0x00,0x08,0x3F,0x3C,0x1F,0x7F,0x7F,0x3C,0x63,0x3C,0x78,0x67,0x0F,0x63,0x63,0x3E
        db      0x3F,0x3E,0x3F,0x3E,0x7E,0x63,0x63,0x63,0x63,0x66,0x7F,0x3C,0x06,0x3C,0x36,0x00
        db      0x08,0x00,0x07,0x00,0x38,0x00,0x1C,0x00,0x07,0x18,0x60,0x07,0x1C,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x08,0x0E,0x6E,0x00
        db      0x00,0x00,0x18,0x00,0x00,0xF0,0x9F,0xFF,0xF3,0x00,0xFE,0x07,0xF0,0x00,0x1E,0x00
        db      0xF8,0x00,0x1E,0x20,0x80,0xFF,0xFF,0xFF,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x24,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x66,0x00,0x00,0x55,0xFF,0x66,0xFF
        db      0x00,0x00,0x08,0x08,0x00,0x08,0x08,0x08,0x14,0x00,0x08,0x00,0x08,0x00,0x0F,0xF0
        db      0x78,0x7F,0x3F,0x7F,0x78,0x7F,0x6B,0x3E,0x63,0x63,0x67,0x78,0x63,0x63,0x3E,0x7F
        db      0x3F,0x3C,0x7E,0x63,0x18,0x63,0x33,0x63,0xDB,0xDB,0x1F,0xC3,0x0F,0x3E,0x73,0xFC
        db      0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00


        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x07,0x70,0x3C,0x66,0xDB,0x06,0x00,0x3C,0x3C,0x18,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x1C,0x44,0x22,0x63,0x00,0x36,0x0C,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0x20
        db      0x63,0x1C,0x63,0x63,0x38,0x03,0x06,0x63,0x63,0x63,0x00,0x00,0x60,0x00,0x06,0x63
        db      0x3E,0x1C,0x66,0x66,0x36,0x66,0x66,0x66,0x63,0x18,0x30,0x66,0x06,0x77,0x67,0x63
        db      0x66,0x63,0x66,0x63,0x7E,0x63,0x63,0x63,0x63,0x66,0x63,0x3C,0x04,0x3C,0x63,0x00
        db      0x00,0x00,0x06,0x00,0x30,0x00,0x36,0x00,0x06,0x18,0x60,0x06,0x18,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x08,0x18,0x3B,0x00
        db      0x00,0x00,0xFF,0x00,0x00,0xF0,0x8F,0xFF,0xF1,0x01,0x3E,0x07,0xF0,0x00,0x3C,0x00
        db      0xFC,0x00,0x1E,0x00,0x80,0xFF,0xFF,0xFF,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x24,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x42,0x00,0x00,0xAA,0xFF,0x42,0xFF
        db      0x00,0x00,0x08,0x08,0x00,0x08,0x08,0x08,0x14,0x00,0x08,0x00,0x08,0x00,0x0F,0xF0
        db      0x6C,0x46,0x66,0x46,0x6C,0x66,0x6B,0x63,0x63,0x63,0x66,0x6C,0x77,0x63,0x63,0x63
        db      0x66,0x66,0x5A,0x63,0x7E,0x63,0x33,0x63,0xDB,0xDB,0x0D,0xC3,0x06,0x63,0xDB,0x66
        db      0x00,0x3C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00


        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x0F,0x78,0x7E,0x66,0xDB,0x1C,0x00,0x7E,0x7E,0x18,0x00,0x00,0x00,0x00,0x08,0x7F
        db      0x00,0x1C,0x22,0x7F,0x43,0x43,0x36,0x06,0x0C,0x30,0x00,0x08,0x00,0x00,0x00,0x30
        db      0x63,0x1E,0x60,0x60,0x3C,0x03,0x03,0x60,0x63,0x63,0x08,0x08,0x30,0x00,0x0C,0x63
        db      0x63,0x36,0x66,0x43,0x66,0x46,0x46,0x43,0x63,0x18,0x30,0x66,0x06,0x7F,0x6F,0x63
        db      0x66,0x63,0x66,0x63,0x5A,0x63,0x63,0x63,0x36,0x66,0x61,0x04,0x0C,0x20,0x00,0x00
        db      0x00,0x00,0x06,0x00,0x30,0x00,0x26,0x00,0x06,0x00,0x00,0x06,0x18,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x08,0x18,0x00,0x08
        db      0x00,0xC0,0xFF,0x03,0x03,0xF0,0x0F,0xFF,0xE1,0x01,0x3E,0x0F,0xE0,0x01,0x3C,0x00
        db      0xFC,0x01,0x3E,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x24,0x3E,0x00,0x00,0x00,0x00,0x00,0x00,0x46,0x81,0x00,0x00,0x55,0xFF,0x81,0xFF
        db      0x00,0x00,0x08,0x08,0x00,0x08,0x08,0x08,0x00,0x00,0x08,0x00,0x08,0x00,0x0F,0xF0
        db      0x66,0x46,0x66,0x46,0x66,0x46,0x2A,0x60,0x73,0x73,0x36,0x66,0x7F,0x63,0x63,0x63
        db      0x66,0x43,0x18,0x63,0xDB,0x36,0x33,0x63,0xDB,0xDB,0x0C,0xC3,0x06,0x60,0xDB,0x66
        db      0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x3C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00


        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x1F,0x7C,0x18,0x66,0xDB,0x36,0x00,0x18,0x18,0x18,0x18,0x0C,0x00,0x14,0x1C,0x7F
        db      0x00,0x1C,0x00,0x7F,0x03,0x63,0x1C,0x00,0x0C,0x30,0x66,0x08,0x00,0x00,0x00,0x10
        db      0x73,0x18,0x30,0x60,0x36,0x03,0x03,0x60,0x63,0x63,0x08,0x08,0x18,0x7E,0x18,0x30
        db      0x63,0x63,0x66,0x03,0x66,0x16,0x16,0x03,0x63,0x18,0x30,0x36,0x06,0x7F,0x7F,0x63
        db      0x66,0x63,0x66,0x06,0x18,0x63,0x63,0x63,0x3E,0x66,0x30,0x04,0x08,0x20,0x00,0x00
        db      0x00,0x1E,0x1E,0x3E,0x3C,0x3E,0x06,0x6E,0x36,0x1C,0x70,0x66,0x18,0x37,0x3B,0x3E
        db      0x3B,0x6E,0x3B,0x3E,0x3F,0x33,0x66,0x63,0x63,0x63,0x7F,0x18,0x08,0x18,0x00,0x1C
        db      0x00,0xE0,0xFF,0x87,0x04,0xF8,0x07,0xFF,0xE1,0x01,0x3E,0x0F,0xE0,0x01,0x3C,0x00
        db      0xFC,0x01,0x3F,0x00,0x00,0xFE,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x24,0x3E,0x00,0x00,0x00,0x00,0x00,0x00,0x16,0x99,0x00,0x00,0xAA,0xFF,0x9D,0xFF
        db      0x00,0x00,0x08,0x08,0x00,0x08,0x08,0x08,0x3E,0x00,0x08,0x00,0x08,0x00,0x0F,0xF0
        db      0x63,0x06,0x66,0x06,0x66,0x16,0x2A,0x60,0x73,0x73,0x36,0x63,0x7F,0x63,0x63,0x63
        db      0x66,0x03,0x18,0x63,0xDB,0x3E,0x33,0x63,0xDB,0xDB,0x0C,0xC3,0x06,0x64,0xDB,0x66
        db      0x1E,0x06,0x3F,0x7E,0x78,0x3E,0x6B,0x3C,0x63,0x63,0x67,0x78,0x63,0x63,0x3E,0x7F
        db      0x3B,0x3E,0x7E,0x63,0x18,0x63,0x33,0x63,0x6B,0x6B,0x1F,0x63,0x0F,0x3C,0x73,0x7E


        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x3F,0x7E,0x18,0x66,0xDE,0x63,0x00,0x18,0x18,0x18,0x30,0x06,0x03,0x36,0x1C,0x3E
        db      0x00,0x08,0x00,0x22,0x3E,0x30,0x6E,0x00,0x0C,0x30,0x3C,0x08,0x00,0x00,0x00,0x18
        db      0x7B,0x18,0x18,0x3C,0x33,0x3F,0x3F,0x30,0x3E,0x7E,0x00,0x00,0x0C,0x7E,0x30,0x18
        db      0x7B,0x63,0x3E,0x03,0x66,0x1E,0x1E,0x03,0x7F,0x18,0x30,0x1E,0x06,0x6B,0x7B,0x63
        db      0x3E,0x63,0x3E,0x1C,0x18,0x63,0x63,0x6B,0x1C,0x3C,0x18,0x04,0x18,0x20,0x00,0x00
        db      0x00,0x30,0x36,0x63,0x36,0x63,0x0F,0x33,0x6E,0x18,0x60,0x36,0x18,0x7F,0x66,0x63
        db      0x66,0x33,0x6E,0x63,0x0C,0x33,0x66,0x63,0x36,0x63,0x33,0x0E,0x00,0x70,0x00,0x36
        db      0x00,0xF0,0xFF,0x8F,0x05,0xF8,0x07,0xFF,0xE0,0x03,0x1E,0x0F,0xE0,0x01,0x78,0x00
        db      0xFE,0x01,0x3F,0x00,0x00,0xFC,0xFF,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x3C,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x1E,0xBD,0x00,0xCC,0x55,0xFF,0xBD,0xFF
        db      0x00,0x00,0x08,0x08,0x00,0x08,0x08,0x08,0x63,0x00,0x08,0x33,0x08,0x00,0x0F,0xF0
        db      0x63,0x3E,0x3E,0x06,0x66,0x1E,0x3E,0x3C,0x6B,0x6B,0x1E,0x63,0x6B,0x7F,0x63,0x63
        db      0x3E,0x03,0x18,0x63,0xDB,0x1C,0x33,0x63,0xDB,0xDB,0x3C,0xCF,0x3E,0x7C,0xDF,0x7C
        db      0x30,0x3E,0x66,0x4C,0x6C,0x63,0x6B,0x66,0x63,0x63,0x36,0x6C,0x77,0x63,0x63,0x63
        db      0x66,0x63,0x5A,0x63,0x7E,0x36,0x33,0x63,0x6B,0x6B,0x0D,0x63,0x06,0x66,0xDB,0x33


        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x1F,0x7C,0x18,0x66,0xD8,0x63,0x00,0x18,0x18,0x18,0x7F,0x7F,0x03,0x7F,0x3E,0x3E
        db      0x00,0x08,0x00,0x22,0x60,0x18,0x3B,0x00,0x0C,0x30,0xFF,0x3E,0x00,0x3E,0x00,0x08
        db      0x6F,0x18,0x0C,0x60,0x7F,0x60,0x63,0x18,0x63,0x60,0x00,0x00,0x06,0x00,0x60,0x18
        db      0x7B,0x7F,0x66,0x03,0x66,0x16,0x16,0x7B,0x63,0x18,0x30,0x1E,0x06,0x63,0x73,0x63
        db      0x06,0x63,0x36,0x30,0x18,0x63,0x63,0x6B,0x1C,0x18,0x0C,0x04,0x10,0x20,0x00,0x00
        db      0x00,0x3E,0x66,0x03,0x33,0x7F,0x06,0x33,0x66,0x18,0x60,0x1E,0x18,0x6B,0x66,0x63
        db      0x66,0x33,0x66,0x06,0x0C,0x33,0x66,0x6B,0x1C,0x63,0x18,0x18,0x00,0x18,0x00,0x63
        db      0x00,0xF8,0xFF,0x9F,0x07,0xF8,0x07,0xFE,0xC0,0x03,0x1E,0x1E,0xC0,0x03,0x78,0x00
        db      0xFE,0x03,0x7F,0x00,0x00,0xF8,0xFF,0x3F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x18,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x16,0x85,0x00,0x66,0xAA,0xFF,0xA5,0xFF
        db      0xF8,0x0F,0xF8,0x0F,0xFF,0x08,0xF8,0x0F,0x7F,0xFF,0xFF,0x66,0xFF,0x00,0x0F,0xF0
        db      0x7F,0x66,0x66,0x06,0x66,0x16,0x3E,0x60,0x67,0x67,0x1E,0x63,0x63,0x63,0x63,0x63
        db      0x06,0x03,0x18,0x7E,0xDB,0x1C,0x33,0x7E,0xDB,0xDB,0x6C,0xDB,0x66,0x64,0xDB,0x7C
        db      0x3E,0x66,0x66,0x4C,0x6C,0x7F,0x2A,0x60,0x73,0x73,0x1E,0x66,0x7F,0x63,0x63,0x63
        db      0x66,0x03,0x18,0x63,0xDB,0x1C,0x33,0x63,0x6B,0x6B,0x0C,0x63,0x06,0x60,0xDB,0x33


        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x0F,0x78,0x7E,0x66,0xD8,0x36,0x7F,0x7E,0x18,0x18,0x30,0x06,0x03,0x36,0x3E,0x1C
        db      0x00,0x08,0x00,0x7F,0x60,0x0C,0x33,0x00,0x0C,0x30,0x3C,0x3E,0x00,0x3E,0x00,0x0C
        db      0x67,0x18,0x06,0x60,0x30,0x60,0x63,0x0C,0x63,0x60,0x00,0x00,0x0C,0x00,0x30,0x18
        db      0x7B,0x63,0x66,0x03,0x66,0x06,0x06,0x63,0x63,0x18,0x33,0x36,0x06,0x63,0x63,0x63
        db      0x06,0x63,0x66,0x60,0x18,0x63,0x63,0x6B,0x3E,0x18,0x06,0x04,0x30,0x20,0x00,0x00
        db      0x00,0x33,0x66,0x03,0x33,0x03,0x06,0x33,0x66,0x18,0x60,0x1E,0x18,0x6B,0x66,0x63
        db      0x66,0x33,0x06,0x1C,0x0C,0x33,0x66,0x6B,0x1C,0x63,0x0C,0x18,0x08,0x18,0x00,0x63
        db      0x00,0xFC,0xFF,0x9F,0x05,0xFC,0x03,0xFE,0xC0,0x03,0x1E,0x1E,0xC0,0x03,0x78,0x00
        db      0xFE,0x83,0x7F,0x00,0x00,0xF0,0xFF,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x85,0x00,0x33,0x55,0xFF,0x9D,0x00
        db      0xF8,0x0F,0xF8,0x0F,0xFF,0x08,0xF8,0x0F,0x03,0xFF,0xFF,0xCC,0xFF,0xFF,0x0F,0xF0
        db      0x63,0x66,0x66,0x06,0x66,0x06,0x2A,0x60,0x67,0x67,0x36,0x63,0x63,0x63,0x63,0x63
        db      0x06,0x03,0x18,0x60,0xDB,0x3E,0x33,0x60,0xDB,0xDB,0x6C,0xDB,0x66,0x60,0xDB,0x66
        db      0x33,0x66,0x3E,0x0C,0x66,0x03,0x3E,0x30,0x6B,0x6B,0x1E,0x66,0x7F,0x7F,0x63,0x63
        db      0x66,0x03,0x18,0x63,0xDB,0x1C,0x33,0x63,0x6B,0x6B,0x7C,0x6F,0x3E,0x78,0xDF,0x3F


        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x07,0x70,0x3C,0x00,0xD8,0x1C,0x7F,0x3C,0x18,0x7E,0x18,0x0C,0x7F,0x14,0x7F,0x1C
        db      0x00,0x00,0x00,0x7F,0x61,0x06,0x33,0x00,0x0C,0x30,0x66,0x08,0x18,0x00,0x18,0x04
        db      0x63,0x18,0x03,0x60,0x30,0x60,0x63,0x0C,0x63,0x60,0x08,0x08,0x18,0x7E,0x18,0x00
        db      0x3B,0x63,0x66,0x43,0x66,0x46,0x06,0x63,0x63,0x18,0x33,0x66,0x46,0x63,0x63,0x63
        db      0x06,0x6B,0x66,0x63,0x18,0x63,0x36,0x7F,0x36,0x18,0x43,0x04,0x20,0x20,0x00,0x00
        db      0x00,0x33,0x66,0x03,0x33,0x03,0x06,0x33,0x66,0x18,0x60,0x36,0x18,0x6B,0x66,0x63
        db      0x66,0x33,0x06,0x30,0x0C,0x33,0x66,0x6B,0x1C,0x63,0x06,0x18,0x08,0x18,0x00,0x63
        db      0x00,0xFE,0xFF,0x9F,0x07,0xFC,0x03,0x7E,0xC0,0x07,0x0E,0x1E,0xC0,0x03,0xF8,0x00
        db      0xFF,0x83,0x7F,0x00,0x00,0xE0,0xFF,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x3E,0x00,0x00,0x00,0x00,0x00,0x00,0x46,0xBD,0x00,0x66,0xAA,0xFF,0xBD,0x00
        db      0x08,0x08,0x00,0x00,0x00,0x08,0x08,0x08,0x03,0x08,0x00,0x66,0x08,0xFF,0x0F,0xF0
        db      0x63,0x66,0x66,0x06,0x66,0x46,0x6B,0x60,0x63,0x63,0x36,0x63,0x63,0x63,0x63,0x63
        db      0x06,0x43,0x18,0x60,0x7E,0x36,0x33,0x60,0xDB,0xDB,0x6C,0xDB,0x66,0x60,0xDB,0x66
        db      0x33,0x66,0x66,0x0C,0x66,0x03,0x2A,0x60,0x67,0x67,0x36,0x66,0x6B,0x63,0x63,0x63
        db      0x66,0x03,0x18,0x63,0xDB,0x1C,0x33,0x7E,0x6B,0x6B,0xCC,0x7B,0x66,0x60,0xDB,0x36


        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x03,0x60,0x18,0x66,0xD8,0x30,0x7F,0x18,0x18,0x3C,0x00,0x00,0x00,0x00,0x7F,0x08
        db      0x00,0x08,0x00,0x22,0x63,0x63,0x33,0x00,0x18,0x18,0x00,0x08,0x18,0x00,0x18,0x06
        db      0x63,0x18,0x63,0x63,0x30,0x63,0x63,0x0C,0x63,0x30,0x08,0x08,0x30,0x7E,0x0C,0x18
        db      0x03,0x63,0x66,0x66,0x36,0x66,0x06,0x66,0x63,0x18,0x33,0x66,0x66,0x63,0x63,0x63
        db      0x06,0x7B,0x66,0x63,0x18,0x63,0x1C,0x77,0x63,0x18,0x63,0x3C,0x60,0x3C,0x00,0x00
        db      0x00,0x33,0x66,0x63,0x33,0x63,0x06,0x3E,0x66,0x18,0x60,0x66,0x18,0x6B,0x66,0x63
        db      0x66,0x33,0x06,0x63,0x6C,0x33,0x3C,0x7F,0x36,0x7E,0x63,0x18,0x08,0x18,0x00,0x7F
        db      0x00,0xFF,0xFF,0xBF,0x04,0xFC,0x03,0x7C,0x80,0x07,0x0E,0x3C,0x80,0x07,0xF0,0x00
        db      0xFF,0x87,0xFF,0x00,0x00,0xC0,0xFF,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x3E,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x99,0x00,0xCC,0x55,0xFF,0xA5,0x00
        db      0x08,0x08,0x00,0x00,0x00,0x08,0x08,0x08,0x63,0x08,0x00,0x33,0x08,0xFF,0x0F,0xF0
        db      0x63,0x66,0x66,0x06,0x66,0x66,0x6B,0x63,0x63,0x63,0x66,0x63,0x63,0x63,0x63,0x63
        db      0x06,0x66,0x18,0x63,0x18,0x63,0x33,0x60,0xDB,0xDB,0x6C,0xDB,0x66,0x63,0xDB,0x66
        db      0x33,0x66,0x66,0x0C,0x66,0x63,0x6B,0x66,0x63,0x63,0x66,0x66,0x6B,0x63,0x63,0x63
        db      0x66,0x63,0x18,0x7E,0xDB,0x36,0x33,0x60,0x6B,0x6B,0xCC,0x7B,0x66,0x66,0xDB,0x33


        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x01,0x40,0x00,0x66,0xD8,0x63,0x7F,0x7E,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x08,0x00,0x22,0x3E,0x61,0x6E,0x00,0x30,0x0C,0x00,0x08,0x18,0x00,0x18,0x02
        db      0x3E,0x7E,0x7F,0x3E,0x78,0x3E,0x3E,0x0C,0x3E,0x1E,0x00,0x04,0x60,0x00,0x06,0x18
        db      0x3E,0x63,0x3F,0x3C,0x1F,0x7F,0x0F,0x5C,0x63,0x3C,0x1E,0x67,0x7F,0x63,0x63,0x3E
        db      0x0F,0x3E,0x67,0x3E,0x3C,0x3E,0x08,0x36,0x63,0x3C,0x7F,0x3C,0x40,0x3C,0x00,0x00
        db      0x00,0x6E,0x3E,0x3E,0x6E,0x3E,0x0F,0x30,0x67,0x3C,0x66,0x67,0x3C,0x63,0x66,0x3E
        db      0x3E,0x3E,0x0F,0x3E,0x38,0x6E,0x18,0x36,0x63,0x60,0x7F,0x70,0x08,0x0E,0x00,0x00
        db      0x00,0xFF,0xFF,0x3F,0x03,0xFC,0x01,0x7C,0x80,0x07,0x0E,0x3C,0x80,0x07,0xF0,0x00
        db      0xFF,0xC7,0xFF,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x81,0x00,0x00,0xAA,0xFF,0x81,0x00
        db      0x08,0x08,0x00,0x00,0x00,0x08,0x08,0x08,0x3E,0x08,0x00,0x00,0x08,0xFF,0x0F,0xF0
        db      0x63,0x3F,0x3F,0x0F,0xFF,0x7F,0x6B,0x3E,0x63,0x63,0x67,0x63,0x63,0x63,0x3E,0x63
        db      0x0F,0x3C,0x3C,0x3E,0x3C,0x63,0x7F,0x60,0xFF,0xFF,0x3E,0xCF,0x3F,0x3E,0x73,0xE7
        db      0x6E,0x3C,0x3F,0x1E,0xFF,0x3E,0x6B,0x3C,0x63,0x63,0x67,0x66,0x63,0x63,0x3E,0x63
        db      0x3E,0x3E,0x3C,0x60,0x7E,0x63,0x7F,0x60,0x7F,0x7F,0x7E,0x6F,0x3F,0x3C,0x73,0x73


        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x3E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x33,0x00,0x00,0x66,0x00,0x00,0x00,0x00,0x00
        db      0x06,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x63,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x80,0xFF,0xFF,0x3F,0x00,0xFC,0x01,0x3C,0x80,0x0F,0x06,0x3C,0x80,0x07,0xF0,0x80
        db      0xFF,0xC7,0xFF,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x42,0x00,0x00,0x55,0xFF,0x42,0x00
        db      0x08,0x08,0x00,0x00,0x00,0x08,0x08,0x08,0x00,0x08,0x00,0x00,0x08,0xFF,0x0F,0xF0
        db      0x00,0x00,0x00,0x00,0xC3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x00,0xC0,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0xC3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x06,0x00,0x00,0x63,0x18,0x00,0x60,0x00,0x00,0xC0,0x00,0x00,0x00,0x00,0x00,0x00


        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x70,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1E,0x00,0x00,0x3C,0x00,0x00,0x00,0x00,0x00
        db      0x0F,0x78,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3E,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x80,0xFF,0xFF,0x7F,0x00,0xFE,0x01,0x38,0x00,0x0F,0x06,0x78,0x00,0x0F,0xE0,0x80
        db      0xFF,0xCF,0xFF,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x00,0x00,0xAA,0xFF,0x66,0x00
        db      0x08,0x08,0x00,0x00,0x00,0x08,0x08,0x08,0x00,0x08,0x00,0x00,0x08,0xFF,0x0F,0xF0
        db      0x00,0x00,0x00,0x00,0x81,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x00,0xC0,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0xC3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x0F,0x00,0x00,0x3E,0x3C,0x00,0x60,0x00,0x00,0xC0,0x00,0x00,0x00,0x00,0x00,0x00


        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0xC0,0xFF,0xFF,0x7F,0x00,0xFE,0x03,0x78,0x00,0x0F,0x06,0x78,0x00,0x0F,0xE0,0x80
        db      0xFF,0xEF,0xFF,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3C,0x00,0x00,0x55,0xFF,0x3C,0x00
        db      0x08,0x08,0x00,0x00,0x00,0x08,0x08,0x08,0x00,0x08,0x00,0x00,0x08,0xFF,0x0F,0xF0
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00


        db      0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0xC0,0xFF,0xFF,0x7F,0x00,0xFE,0x03,0x78,0x00,0x1F,0x02,0x70,0x00,0x0F,0x60,0xC0
        db      0xFF,0xFF,0xFF,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0xAA,0xFF,0x18,0x00
        db      0x08,0x08,0x00,0x00,0x00,0x08,0x08,0x08,0x00,0x08,0x00,0x00,0x08,0xFF,0x0F,0xF0
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        db      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00


Burada "A" karakterinin Declare edildiği yeri bana blok halde gösterebilirmisin ?

-Hasan-

Bunu fontu yapan vatandaşa sormak lazım. Neye göre oluşturulduklarını bilmiyoruz ki. KS0108 için mi? diyeceğim ama GLCD ile uğraşmıyorum diyorsunuz. Ne için hazırlanmış bunlar?

EMG81

Birşey için hazırlanmış değil.
Font tanımlaması için hazır birşeyler bulayım dedim. Bunlara ulaştım. A nın string değeri ile ilgili bir bağıntı olabilirmi ?
Hiç olmadı baştan kendim uğraşa uğraşa yazıcam..

-Hasan-

Bunlar font dataları olduğu için karakterle bir bağıntısı yoktur. Örneğin sütün taramalı bir dot matrix sisteminde 5x7 karakter fontunda "A" karakteri için font dataları:

0x7E = B'1111110'
0x09 = B'0001001'
0x09 = B'0001001'
0x09 = B'0001001'
0x7E = B'1111110'


şeklinde olur. Sayıların binary karşılıklarındaki 1 ' lere tersten dikkatlice bakarsanız A harfini görebilirsiniz. Burada görüldüğü gibi karakterlerle o karakterlerin fontları arasında hiçbir bağıntı yoktur.

Her sistemin font dataları farklıdır. Örneğin yukarıda verdiğim örnek sütün taramalı dot matrix sistemi içindir. Satır taramalı sistemin font dataları bundan farklı olacaktır. Dolayısıyla ne işe yaradığı belli olmayan fontlar bir işinize yaramaz. Kullanacağınız sisteme uygun olan fontları kendiniz yazabilirsiniz.

EMG81

#6
:) :) :)

Sakin ol. Ne yaptığımızı biliyoruz. Dün ekleyemedim ama Tabloyu bulduğum yerde dataların bilgileride verilmiş.
[IMG]http://img38.imageshack.us/img38/7231/vgatrmsymbol.png[/img]

Kodlar resme göre tamda bizim istediğimiz gibi. (Yani benim sistemime uygun) Bize Sadece tablodan "A" karakterinin yerini bulup kopyala yapıştır yapmak kalıyor buda işimi bir hayli rahatlatacak.
Zaten bu gün akşama kadar karakterlerin yerlerini çözemez isem oturup kendim yazıcam.

Şu anki soru;

font datalarının yapısı falan filan değil.
Bu tabloda "A" Karakterinin yeri nerede ?

EMG81

#7
Aslında db komutunun tam olarak nasıl çalıştığını(Yada burada nasıl kullanıldığını) anlıyabilirsem işimiz çok daha basit olur.

Mesela ben bu işi yapsam şöyle bir asm komut dizisi kullanırdım.

String_A

        addwf   PCL,f

        retlw   b'00011000        
        retlw   b'00110100       
        retlw   b'01100010
        retlw   b'11000001        
        retlw   b'11111111       
        retlw   b'11000001        
        retlw   b'11000001



Tabloda her bir satırda (yada Db nasıl kullanılıyorsa Sütundada olabilir) her karakterin değeri var. (16 Byte)
Birtanesinin yerini bulabilirsek iş tamam.

z

Alıntı yapılan: EMG81 - 15 Kasım 2011, 10:49:39
Aslında db komutunun tam olarak nasıl çalıştığını(Yada burada nasıl kullanıldığını) anlıyabilirsem işimiz çok daha basit olur.

Mesela ben bu işi yapsam şöyle bir asm komut dizisi kullanırdım.

String_A

        addwf   PCL,f

        retlw   b'00011000        
        retlw   b'00110100       
        retlw   b'01100010
        retlw   b'11000001        
        retlw   b'11111111       
        retlw   b'11000001        
        retlw   b'11000001



Tabloda her bir satırda (yada Db nasıl kullanılıyorsa Sütundada olabilir) her karakterin değeri var. (16 Byte)
Birtanesinin yerini bulabilirsek iş tamam.

DB demek Define Byte demek.

             DB   0x10;  Bu satırın denk geldiği adrese 0x10 değerini koy demek
             DB   0x10, 0x20 adrese 0x10 koy, takip eden adrese de 0x20 koy demek.

Bana e^st de diyebilirsiniz.   www.cncdesigner.com

EMG81

Yanıtlar için teşekkür ederim. Karakterleri baştan kendim yazdım. Böylelikle artık tabloyu çözmek zorunda değiliz. :)

nuriozdas

Alıntı yapılan: -Hasan- - 14 Kasım 2011, 21:38:13

...5x7 karakter fontunda "A" karakteri için font dataları:

0x7E = B'1111110'
0x09 = B'0001001'
0x09 = B'0001001'
0x09 = B'0001001'
0x7E = B'1111110'


.. Kullanacağınız sisteme uygun olan fontları kendiniz yazabilirsiniz.


Neden 3 defa aynı adresi tekrarlıyoruz..? başta ve sondada 0x7E adresi tekraralanmış sebebi nedir?

Kabil ATICI

Alıntı yapılan: nuriozdas - 02 Aralık 2011, 14:28:25
Neden 3 defa aynı adresi tekrarlıyoruz..? başta ve sondada 0x7E adresi tekraralanmış sebebi nedir?

Onlar adres değil veri.
eşitliğin sol tarafı 16'lık sayı sisteminde, sağ tarafı ikilik sayı sisteminde verilmiş.

1'ler yanan ledi, 0'lar sönen ledi temsil ediyor.
ambar7

-Hasan-

Alıntı yapılan: ambar7 - 02 Aralık 2011, 14:44:34
Onlar adres değil veri.
eşitliğin sol tarafı 16'lık sayı sisteminde, sağ tarafı ikilik sayı sisteminde verilmiş.

1'ler yanan ledi, 0'lar sönen ledi temsil ediyor.

Doğrudur; orada yazdığım sadece bir font örneği, komut ile bir alakası yok.