From ccf268903a716c8ca88fcd53ee05d7d9d7de5d3e Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 29 Jan 2022 12:14:56 -0800 Subject: Fix spelling/wording issues Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith --- src/IBM561ramdac.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/IBM561ramdac.c b/src/IBM561ramdac.c index 40d9c62..421d202 100644 --- a/src/IBM561ramdac.c +++ b/src/IBM561ramdac.c @@ -201,7 +201,7 @@ IBM561WindowTagsInit(ScrnInfoPtr pScrn) part of the high byte is used (actually only 2 bits). Pixel C for 8-plane indexes uses 16bpp indexing per IBM's application notes which describe quad bufering. Note, this array is arranged as - low byte followed by high byte which will apppear backwards + low byte followed by high byte which will appear backwards relative to the 561 spec( a value of 0x01 in the high byte really represents a color table starting address of 256). ex (entry 4): @@ -234,9 +234,9 @@ typedef struct { /* * There are actually 256 window tag entries in the FB and OL WAT tables. - * We will use only 16 for compatability with the BT463 and more importantly + * We will use only 16 for compatibility with the BT463 and more importantly * to implement the virtual ramdac interface. This requires us to only - * report the smallest WAT table size, in this case its the auxillary wat + * report the smallest WAT table size, in this case its the auxiliary wat * tables which are 16 entries. */ @@ -476,7 +476,7 @@ IBM561InitColormap(ScrnInfoPtr pScrn) * color pallettes, therefore the gamma table is initialized here. * Note, each entry in the table is 10 bits, requiring two writes * per entry!! The table are initialized the same way as color tables, - * a zero entry followed by mulitple ff's. NOTE, the gamma tables are + * a zero entry followed by multiple ff's. NOTE, the gamma tables are * loaded in a strange manner, DO NOT use this code as a guide (we are * writing all zero's or all ones). See the tga_ibm561_load_color_map * _entry code above. @@ -569,7 +569,7 @@ IBM561ramdacHWInit(ScrnInfoPtr pScrn) TGA_WRITE_REG(0xFFFFFFFF, TGA_PLANEMASK_REG); /* Configure the RAMDAC, note registers not set either depend on the - * previous setting (ie what firmaware programmed to be) or what the + * previous setting (ie what firmware programmed to be) or what the * X-server will set them to */ @@ -593,7 +593,7 @@ IBM561ramdacHWInit(ScrnInfoPtr pScrn) TGA2_WRITE_RAMDAC_REG (0x00, REGS_ADDR); /* - * WAT/OL Segement Registers + * WAT/OL Segment Registers */ /* ?? we setup the address registers first, then stream the data out ?? */ TGA2_WRITE_RAMDAC_REG(IBM561_WAT_SEG_REG, LO_ADDR); -- cgit v1.2.3