Difference between revisions of "VRAM"
|Line 24:||Line 24:|
16: GND (Vss)<br>
16: GND (Vss)<br>
Revision as of 13:15, 3 October 2015
In the Channel F, VRAM is a 128x64 pixel ( 8192 x 2 bits / 2kByte ) portion of RAM in the console, that can only be accessed through the ports. A portion of this VRAM is used as the display on the television screen. Column 125 and 126 controls the palette for the row of VRAM it is written on. The rest of the VRAM is unused by the console, it can be written to but there's no way of reading it back, there's however Schach RAM available in some cases depending on your cartridge platform.
Regarding the hardware the DRAM is usually Fairchild's own with their own markings, it's an MK4027 compatible DRAM in the first generation of machines (a lot of logic chips) and a MK4015N compatible DRAM in the second generation (VLSI circuit). Good to know if you're looking for spare parts in case you have odd colored bars in your display.
Pinout of the MK4027 and MK4015 (4096 bits) MK4027 datasheet, MK4015 datasheet:
1: -5V (Vbb)
3: /Write Enable
8: +12V (Vgg)
9: +5V (Vdd)
13: /Chip Select
16: GND (Vss)
(Not sure about the difference between these, 4027 seems to be the sturdier alternative available in more speeds)
The portion of VRAM which is displayed starts at about column 4, row 4 and expands 102 pixels horizontally and 58 pixels vertically, giving a resolution of 102x58 pixels. This resolution is used in the MESS emulation system. However, most CRT televisions display a smaller resolution horizontally because of overscan, so the safe area to use is about 95x58 pixels. Many TV sets are adjusted wrong so that picture is offset in one or two directions. Zoomed and off center is what to normally expect, more or less. Note that the resolution is a lot closer to widescreen (16:9) than standard definition (4:3). On a TV from the 70's or 80's pixels are rectangular, standing on the short edge. In widescreen mode they are close to perfect squares.
Below is a screenshot showing visible and invisible portions of VRAM, taken by Sean Riddle using a modified version of the emulation system MESS.
Below is the same screenshot with the safe area marked, the portion of the screen that can safely be used for any TV.
This is the same image in the approximate aspect your TV will show it (only a few pixels past the safe area though).
Viewable area extends a few pixels past the safe area.