mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-17 17:04:42 -04:00
Added a description of the graphic ram color palette. Closes #224
This commit is contained in:
parent
6006cabb50
commit
35572da8ee
@ -522,9 +522,17 @@
|
|||||||
<string name="elem_GraphicCard">Grafik-RAM</string>
|
<string name="elem_GraphicCard">Grafik-RAM</string>
|
||||||
<string name="elem_GraphicCard_short">Gr-RAM</string>
|
<string name="elem_GraphicCard_short">Gr-RAM</string>
|
||||||
<string name="elem_GraphicCard_tt">Wird verwendet, um Bitmap Grafiken anzuzeigen. Der Baustein verhält sich wie ein
|
<string name="elem_GraphicCard_tt">Wird verwendet, um Bitmap Grafiken anzuzeigen. Der Baustein verhält sich wie ein
|
||||||
RAM-Baustein mit dem Unterschied, dass der RAM-Inhalt als Grafik angezeigt wird. Jede Speicherstelle definiert die Farbe
|
RAM-Baustein mit dem Unterschied, dass der RAM-Inhalt als Grafik angezeigt wird. Jede Speicherstelle definiert
|
||||||
eines Pixels, wobei eine feste Farbpalette verwendet wird. Es werden zwei Grafikseiten abgelegt, sodass ein Screen-Switching möglich ist (Siehe Eingang B).
|
die Farbe eines Pixels, wobei eine feste Farbpalette verwendet wird.
|
||||||
Die gesamte Speichergröße beträgt damit damit dx*dy*2 Speicherworte.</string>
|
Es werden zwei Grafikseiten angelegt, sodass ein Screen-Switching möglich ist (siehe Eingang B).
|
||||||
|
Die gesamte Speichergröße beträgt damit damit dx*dy*2 Speicherworte.
|
||||||
|
Die verwendete Palette ist wie folgt aufgebaut: Die Indizes 0-9 entsprechen den Farben Weiß, Schwarz, Rot,
|
||||||
|
Grün, Blau, Gelb, Türkis, Magenta, Orange und Pink. Die Indizes 32-63 bilden Grauwerte ab und die Indizes
|
||||||
|
64-127 repräsentieren 64 Farbwerte mit je zwei Bit pro Farbkanal. Dadurch ergibt sich eine einfache Palette,
|
||||||
|
die mit nur 7-Bit angesprochen werden kann.
|
||||||
|
Wird von der Architektur ein 16-Bit Index unterstützt, kann ab Index 0x8000 ein High-Color-Modus mit 5 Bit
|
||||||
|
pro Farbkanal verwendet werden, welcher 32768 Farben ermöglicht.
|
||||||
|
</string>
|
||||||
<string name="elem_GraphicCard_pin_A">Die Adresse, an der gelesen und geschrieben wird.</string>
|
<string name="elem_GraphicCard_pin_A">Die Adresse, an der gelesen und geschrieben wird.</string>
|
||||||
<string name="elem_GraphicCard_pin_str">Ist dieser Eingang 1, wird mit steigendem Takt das Datenwort gespeichert.</string>
|
<string name="elem_GraphicCard_pin_str">Ist dieser Eingang 1, wird mit steigendem Takt das Datenwort gespeichert.</string>
|
||||||
<string name="elem_GraphicCard_pin_C">Der Takt. Eine steigende Flanke aktiviert das Speichern.</string>
|
<string name="elem_GraphicCard_pin_C">Der Takt. Eine steigende Flanke aktiviert das Speichern.</string>
|
||||||
|
@ -527,6 +527,12 @@
|
|||||||
shows its content on a graphic screen. Every pixel is represented by a memory address. The value stored defines
|
shows its content on a graphic screen. Every pixel is represented by a memory address. The value stored defines
|
||||||
the color of the pixel, using a fixed color palette. There are two screen buffers implemented to support page
|
the color of the pixel, using a fixed color palette. There are two screen buffers implemented to support page
|
||||||
flipping. The input B selects which buffer is shown. Thus, the total memory size is dx * dy * 2 words.
|
flipping. The input B selects which buffer is shown. Thus, the total memory size is dx * dy * 2 words.
|
||||||
|
The palette used is structured as follows: The indices 0-9 correspond to the colors white, black, red, green,
|
||||||
|
blue, yellow, cyan, magenta, orange and pink. The indices 32-63 map gray values and the indices 64-127
|
||||||
|
represent 64 color values each with two bits per color channel.
|
||||||
|
This results in a simple palette that can be addressed with only 7-bit.
|
||||||
|
If the architecture supports a 16-bit index, from Index 0x8000, a high-color mode with 5 bits per color channel
|
||||||
|
can be used, which enables 32768 colors.
|
||||||
</string>
|
</string>
|
||||||
<string name="elem_GraphicCard_pin_A">The address to read and write.</string>
|
<string name="elem_GraphicCard_pin_A">The address to read and write.</string>
|
||||||
<string name="elem_GraphicCard_pin_str">If this input is high when the clock becomes high, the the data is stored.</string>
|
<string name="elem_GraphicCard_pin_str">If this input is high when the clock becomes high, the the data is stored.</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user