Misplaced Pages

Amiga Advanced Graphics Architecture

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

Amiga Advanced Graphics Architecture ( AGA ) is the third-generation Amiga graphic chipset, first used in the Amiga 4000 in 1992. Before release AGA was codenamed Pandora by Commodore International .

#557442

96-631: AGA was originally called AA for Advanced Architecture in the United States. The name was later changed to AGA for the European market to reflect that it largely improved the graphical subsystem, and to avoid trademark issues. AGA is able to display graphics modes with a depth of up to 8 bit s per pixel. This allows for 256 colors in indexed display modes and 262,144 colors (18-bit) in Hold-And-Modify (HAM-8) modes. The palette for

192-413: A 16-bit repeating pattern to the line. The line mode can also be used to draw rotated bobs: each line of bob data is used as line pattern while the line mode draws the tilted bob line by line. The blitter's filling mode is used to fill per-line horizontal spans. On each span, it reads each pixel in turn from right to left. Whenever it reads a set pixel, it toggles filling mode on or off. When filling mode

288-471: A planar display with a 12-bit RGB color space that produces 4096 possible colors. The bitmap of the playfield was held in a section of main memory known as chip RAM , which was shared between the display system and the main CPU . The display system usually used an indexed color system with a color palette . The hardware contained 32 registers that could be set to any of the 4096 possible colors, and

384-421: A "dual-playfield" mode. Denise also handles mouse and digital joystick input. Paula is primarily the audio chip, with four independent hardware-mixed 8-bit PCM sound channels, each of which supports 65 volume levels (no sound to maximum volume) and waveform output rates from roughly 20 samples per second to almost 29,000 samples per second. Paula also handles interrupts and various I/O functions including

480-457: A HAM8 image cannot exceed 829,440 (1440×576) using PAL modes but can exceed 1,310,720 (1280×1024) using third-party display hardware (Indivision AGA flicker-fixer ). Like the original HAM mode, a HAM8 screen cannot display any arbitrary color at any arbitrary position, since every pixel relies on either a limited palette or relies on up to two color components of the previous pixel. As with the original HAM mode, designers may also choose to 'slice'

576-536: A dedicated text mode. Finally, Denise next to the CIAs is responsible for handling mouse/joystick X/Y inputs. The notion that Denise fetches bit plane and sprite data is a simplification. It is Agnus who is maintaining horizontal and vertical screen position counters and initiating the DRAM read operations. Denise has a number of bit plane registers which hold 16 bits of data each, enough to draw 16 pixels. When Agnus issues

672-481: A distinct color for each pixel if a 256-pixel-wide video mode was defined, and in higher resolutions even a single 256-color palette for the entire screen, let alone each line, allowed much more effective and accurate simulation of higher color depths using dithering than could be achieved with only 32. The original purpose of HAM, which was to allow more color resolution despite limited video buffer size and limited memory bandwidth, had become largely irrelevant thanks to

768-610: A given perceived fidelity of display, by storing and transmitting the luminance at full resolution, but chrominance at a relatively lower resolution - a technique shared with image compression techniques like JPEG and MPEG , as well as in other HSV/YUV based video modes such as the YJK encoding of the V9958 MSX-Video chip (first used in the MSX2+ ). The variant of HSV encoding used in the original form of HAM allowed for prioritising

864-552: A programmed instruction stream, synchronized with the video hardware. When it is turned on, the Copper has three states; either reading an instruction, executing it, or waiting for a specific video beam position. The Copper runs a program called the Copper list in parallel with the main CPU . The Copper runs in sync with the video beam, and it can be used to perform various operations which require video synchronization. Most commonly it

960-529: A significant advantage over competing systems. HAM allows display of all 4096 colors simultaneously, though with the aforementioned limitations. This pseudo-photorealistic display was unprecedented for a home computer of the time and allowed display of digitized photographs and rendered 3D images. In comparison, the then IBM-PC standard EGA allowed 16 on-screen colors from a palette of 64. EGA's successor VGA released in 1987 with its flagship games mode, Mode 13h , allowed 256 on-screen colors from 262,144. HAM mode

1056-433: A single frame to increase the total sprites per frame. Sprite position registers may also be changed during a scanline, increasing the total number of sprites on a single scanline. However, the sprite data , or shape, is only fetched a single time per scanline and can't change. The first Amiga game to utilize the sprite re-position registers during a scanline was Hybris released in 1988. The Denise chip does not support

SECTION 10

#1732781036558

1152-493: A video mode with higher horizontal scan rate . Alternately, Paula may signal the CPU to load a new sample into any of the four audio output buffers by generating an interrupt when a new sample is needed. This allows for output rates that exceed 57 kHz per channel and increases the number of possible voices (simultaneous sounds) through software mixing. The Amiga contains an analog low-pass filter ( reconstruction filter ) which

1248-643: A write to register 1, all registers are then transferred into separate shift registers from which pixels are generated (at the same time new values are loaded from DRAM). Denise is not aware of any memory addresses either. The Paula chip, designed by Glenn Keller, from MOS Technology , is the interrupt controller , but also includes logic for audio playback, floppy disk drive control, serial port input/output and mouse/joystick buttons two and three signals. The logic remained functionally identical across all Amiga models from Commodore. Paula has four DMA -driven 8-bit PCM sound channels. Two sound channels are mixed into

1344-558: Is 1440 × 580 (262 144 colors) in interlaced 50 Hz PAL mode, when overscan is used. These missed opportunities in the AGA upgrade contributed to the Amiga ultimately losing technical leadership in the area of multimedia . After the long-delayed AAA was finally suspended, AGA was to be succeeded by the Hombre chipset , but this was ultimately cancelled due to Commodore's bankruptcy . AGA

1440-469: Is Direct Memory Access (DMA), where Agnus is the DMA Controller (DMAC). Agnus has a complex and priority-based memory access policy that attempts to best coordinate requests for memory access among competing resources. For example, bitplane data fetches are prioritized over blitter transfers as the immediate display of frame buffer data is considered more important than the processing of memory by

1536-493: Is achieved by playing the high byte of a 16-bit sample at maximum volume, and the low byte at minimum volume (both ranges overlap, so the low byte needs to be shifted right two bits). The bit shift operation requires a small amount of CPU or blitter overhead, whereas conventional 8-bit playback is almost entirely DMA driven. This technique was incorporated into the retargetable audio subsystem AHI , allowing compatible applications to use this mode transparently. The floppy controller

1632-489: Is also available where only 5 bits of data per pixel are used. The sixth bit is always zero, so only the blue color component can be modified. Because only the blue component can be modified without a SET command, the effect is limited to moderate increase of the number of yellow-blue color shades displayed. This mode is not as flexible as HAM6 and not widely used. On the AGA chipset, HAM5 no longer exists. It's also possible to use HAM mode with 4 bitplanes. Practical use

1728-534: Is an incremental upgrade, rather than the dramatic upgrade of the other chipset that Commodore had begun in 1988, the Amiga Advanced Architecture chipset (AAA), lacking many features that would have made it competitive with other graphic chipsets of its time. Apart from the graphics data fetches, AGA still operates on 16-bit data only, meaning that significant bandwidth is wasted during register accesses and copper and blitter operations. Also

1824-419: Is arbitrary, thus if 32 colors are not needed, 2, 4, 8 or 16 can be used instead. The number of bitplanes (and resolution) can be changed on the fly, usually by the Copper. This allows for very economical use of RAM, and balancing of CPU processing speed vs graphical sophistication when executing from Chip RAM (as modes beyond 4bpp in lores, or 2bpp in hires, use extra DMA channels that can slow or temporarily halt

1920-530: Is based directly on the NTSC colorburst clock, these sizes very nearly fill the width of a standard television with only a thin "underscan" border between the graphics and the screen border when compared to many other contemporary home computers, for an appearance closer to a games console but with finer detail. On top of this, Denise supports reasonably extensive overscan; technically modes with enough data for up to 400 or 800 pixels (+25%) may be specified, although this

2016-591: Is equivalent to two low resolution (140 ns) pixels or four high resolution (70 ns) pixels. Like Denise, these timings were designed for display on household TVs , and can be synchronized to an external clock source. The blitter is a sub-component of Agnus. "Blit" is shorthand for "block image transfer" or bit blit . The blitter is a highly parallel memory transfer and logic operation unit. It has three modes of operation: copying blocks of memory, filling blocks (e.g. polygon filling) and line drawing. The blitter allows rapid copying of video memory, meaning that

SECTION 20

#1732781036558

2112-575: Is external to Paula. The filter is a 12 dB/oct Butterworth low-pass filter at approximately 3.3 kHz. The filter can only be applied globally to all four channels. In models after the Amiga ;1000 (excluding the very first revision of the Amiga 500), the brightness of the power LED is used to indicate the status of the filter. The filter is active when the LED is at normal brightness, and deactivated when dimmed (on early Amiga 500 models

2208-414: Is limited, but this technique was used in demos. It is possible to set up HAM mode with 7 bitplanes on OCS/ECS, but that will use only 4 bitplanes. This technique was demonstrated in the “HAM Eager” demo. On the AGA chipset, HAM7 no longer exists. The Original Amiga Chipset included a support chip known as the " Copper " that handles interrupts and other timing and housekeeping duties independently of

2304-658: Is most commonly used to do direct copies (D = A), or apply a pixel mask around blitted objects (D = (C AND B) OR A). The copy can also barrel shift each line by 0 to 15 pixels. This allows the blitter to draw at pixel offsets that are not exactly multiples of 16. These functions allow the Amiga to move GUI windows around the screen rapidly as each is represented in graphical memory space as a rectangular block of memory which may be shifted to any required screen memory location at will. The blitter's line mode draws single-pixel thick lines using Bresenham's line algorithm . It can also apply

2400-453: Is no explicit "end" instruction; instead, the WAIT instruction is used to wait for a location which is never reached. Under normal circumstances, the Amiga generates its own video timings, but Agnus also supports synchronising the system to an external signal so as to achieve genlocking with external video hardware. There is also a 1-bit output on this connector that indicates whether the Amiga

2496-402: Is on, it sets every pixel until filling mode is turned off or the line ends. Together, these modes allow the blitter to draw individual flat-shaded polygons. Later Amigas tended to use a combination of a faster CPU and blitter for many operations. The Copper is another sub-component of Agnus; The name is short for "co-processor". The Copper is a programmable finite-state machine that executes

2592-440: Is only actually useful for scrolling and special effects that involve partial display of large graphics, as a separate hardware limit is met at 368 (or 736) pixels, which is the maximum that will fit between the end of one blanking period and the start of the next - although it is unlikely that even this many pixels will be visible on any display other than a dedicated monitor that allows adjustment of horizontal scan width, as much of

2688-402: Is outputting background color or not, permitting easy overlaying of Amiga video onto external video. This made the Amiga particularly attractive as a character generator for titling videos and broadcast work, as it avoided the use and expense of A/B roll and chroma key units that would be required without the genlock support. The support of overscan, interlacing and genlocking capabilities, and

2784-884: Is present in the CD32 , Amiga 1200 , and Amiga 4000 . In order to increase memory bandwidth, the Chip RAM data bus was extended to 32-bit width as in the A3000 (unlike AGA, the A3000's Chip RAM is 32-bit for CPU access only) and the Alice chip (replacing OCS / ECS Agnus ) was improved to be able to support full-width access for bitplane DMA. Bandwidth was doubled again (to 4x) by using Fast Page Mode RAM . Lisa (replacing former Denise ) adds support for 8-bit bitplane data fetches, 256 instances of 24-bit palette registers, and for 32-bit data transfer for bitplane graphic and sprites . The rest of

2880-495: Is the central chip in the design. It controls all access to chip RAM from both the central 68000 processor and the other custom chips, using a complicated priority system. Agnus includes sub-components known as the blitter (fast transfer of data in memory without the intervention of the processor) and the Copper (video-synchronized co-processor). The original Agnus can address 512 KB of chip RAM. Later revisions, dubbed 'Fat Agnus', added 512 KB pseudo-fast RAM, which for ECS

2976-415: Is to use multiple screens with different color depths. AGA lacks flicker free higher resolution modes, being only able to display 640 × 480 at 72 Hz flicker-free operation. 800 × 600 mode is rarely used as it can only operate at a flickering 60 Hz interlaced mode. In contrast, higher-end PC systems of this era can operate 1024 × 768 at 72 Hz with a full 256-color display. AGA's highest resolution

Amiga Advanced Graphics Architecture - Misplaced Pages Continue

3072-420: Is unlikely that any further developments of the technique would have been bothered with had it survived to the present day. HAM mode places restrictions on the value of adjacent pixels on each horizontal line of the playfield. In order to render two arbitrary colors adjacently, it may take up to two intermediary pixels to change to the intended color (if the red, green and blue components must all be modified). In

3168-449: Is unusually flexible. It can read and write raw bit sequences directly from and to the disk via DMA or programmed I/O at 500 ( double density ) or 250 kbit/s ( single density or GCR). MFM or GCR were the two most commonly used formats though in theory any run-length limited code could be used. It also provides a number of convenient features, such as sync-on-word (in MFM coding, $ 4489

3264-433: Is used to control video output, but it can write to most of the chipset registers and thus can be used to initiate blits, set audio registers, or interrupt the CPU. The Copper list has three kinds of instructions, each one being a pair of two bytes, four bytes in total: The length of the Copper list program is limited by execution time. The Copper restarts executing the Copper list at the start of each new video frame. There

3360-549: Is used, artifacts becomes particularly noticeable in areas of sharp contrast (strong horizontal image gradients ), where an undesirable multi-hued artifact or "fringe" may appear. Various rendering techniques were used to minimize the impact of "fringing" and HAM displays were often designed to incorporate subtle horizontal color gradients, avoiding vertical edges and contrasts. Displaying a full color image in HAM mode requires some careful preprocessing. Because HAM can only modify one of

3456-420: Is usually used as the sync word ). MFM encoding/decoding is usually done with the blitter — one pass for decode, three passes for encode. Normally the entire track is read or written in one shot, rather than sector-by-sector; this made it possible to get rid of most of the inter-sector gaps that most floppy disk formats need to safely prevent the "bleeding" of a written sector into the previously-existing header of

3552-730: The "rainbow" effects used in demos . Note, however, that Hold-and-Modify only applies to playfield pixels. 128 pixels of sprite data (in DMA mode) per scanline are still available for placement on top of the HAM playfield. HAM6 mode, named for the 6 bits of data per pixel, was introduced with the Original Chip Set and was retained in the later Enhanced Chip Set and Advanced Graphics Architecture (AGA) . HAM6 allows up to 4096 colors to be displayed simultaneously at resolutions from 320×200 to 360×576. HAM6 encoding uses six bits per pixel: two bits for control and four bits for data. If

3648-529: The DCT stage; in HAM6 mode, an effective 4096-color (12-bit) playfield is encoded in half the memory that would normally be required - and HAM8 reduces this still further, to roughly 40%. There is a however a payoff for this simplistic compression: a greater overall color fidelity is achieved at the expense of horizontal artifacts, caused by the inability to set any single pixel to an arbitrary 12- (or 18, 24) bit value. At

3744-469: The YUV colorspace used by NTSC and PAL color TVs, requiring simpler conversion electronics compared to RGB encoding . Color television, when transmitted over an RF or composite video link, uses a much reduced chroma bandwidth (encoded as two color-difference components, rather than hue + saturation) compared to the third component, luma . This substantially reduces the memory and bandwidth needed for

3840-604: The floppy disk drive , the serial port , and analog joysticks . There are many similarities – both in overall functionality and in the division of functionality into the three component chips – between the OCS chipset and the much earlier and simpler chipset of the Atari 8-bit computers , consisting of the ANTIC , GTIA and POKEY chips; both chipsets were conceptually designed by Jay Miner , which explains

3936-586: The AGA chipset has 256 entries from 16,777,216 colors (24-bit), whereas previous chipsets, the Original Chip Set (OCS) and Enhanced Chip Set (ECS), only allow 32 colors out of 4096 or 64 colors in Amiga Extra Half-Brite (EHB mode). Other features added to AGA over ECS are super-hi-res smooth scrolling and 32-bit fast page memory fetches to supply the graphics data bandwidth for 8 bitplane graphics modes and wider sprites . AGA

Amiga Advanced Graphics Architecture - Misplaced Pages Continue

4032-708: The Amiga HAM8 is a part of the HGFX , a planar -based system, provided in the form of the FPGA extension of the original video circuity ( ULA ), for ZX Spectrum computers. Proposed and tested with the LnxSpectrum emulator as the HGFX/Q, realized in the eLeMeNt ZX computer, in 2021. Original Chip Set The Original Chip Set ( OCS ) is a chipset used in the earliest Commodore Amiga computers and defined

4128-415: The Amiga design migrated from a games console to a more general purpose home computer, the video chipset was itself changed from HSV to the modern RGB color model , seemingly negating much of the benefit of HAM mode. Amiga project lead Jay Miner relates: Hold and Modify came from a trip to see flight simulators in action and I had a kind of idea about a primitive type of virtual reality . NTSC on

4224-411: The Amiga its edge in terms of the color palette. The final form of Hold-And-Modify was, hardware-wise, functionally the same as the original HSV concept, but instead of operating on those three descriptive components (mostly prioritising the V component), it modifies one of the three RGB color channels. HAM can be considered a lossy compression technique, similar in operation and efficiency to JPEG minus

4320-457: The Amiga's graphics and sound capabilities. It was succeeded by the slightly improved Enhanced Chip Set (ECS) and the greatly improved Advanced Graphics Architecture (AGA). The original chipset appeared in Amiga models built between 1985 and 1990: the Amiga 1000 , Amiga 2000 , Amiga CDTV , and Amiga 500 . The chipset which gave the Amiga its unique graphics features consists of three main "custom" chips: Agnus , Denise , and Paula . Both

4416-555: The CPU and the video system. Using the Copper, it is possible to modify chipset registers or interrupt the CPU at any display coordinate synchronously to the video output. This allows programmers to use either Copper-specific code assembled into a Copperlist or CPU code for video effects with very low overhead. Using this technique, programmers developed the Sliced HAM or SHAM mode, also known as dynamic HAM . SHAM changes some or all color registers on selected scan lines to change

4512-444: The CPU can be freed for other tasks. The blitter was primarily used for drawing and redrawing graphics images on the screen, called "bobs", short for "blitter objects". The blitter's block copying mode takes zero to three data sources in memory, called A, B and C, performs a programmable Boolean function on the data sources and writes the result to a destination area, D. Any of these four areas can overlap. The blitter runs either from

4608-410: The CPU does not generally get locked out of memory access and does not appear to slow down. However, non-time-critical custom chip access, such as blitter transfers, can use up any spare odd or even cycles and, if the "BLITHOG" (blitter hog) flag is set, Agnus can lock out the even cycles from the CPU in deference to the blitter . Agnus's timings are measured in "color clocks" of 280  ns . This

4704-405: The CPU in addition to the usual non-conflicting channels). There can also be a sixth bitplane, which can be used in three special graphics modes: There are two horizontal graphics resolutions, "lowres" with 140 ns pixels and "hires" with 70 ns pixels, with a default of 320 or 640 horizontal pixels wide without using overscan. As the pixel output is regulated by the main system clock, which

4800-621: The Crystallion , Links: The Challenge Of Golf , Overdrive (Infacto) , Kang Fu , AMRVoxel , RTG , Zdzislav: Hero Of The Galaxy 3D , OloFight and Genetic Species . With the introduction of the Advanced Graphics Architecture, a conventional planar image could have a palette of 256 colors, offering significantly higher color fidelity. The original HAM mode, with its limited color resolution, became far less attractive to users of an AGA machine, though it

4896-506: The DMA slots dedicated to playfield video ends up stealing some (from 1 to 7 of the total 8) the sprite engine. [1] . Vertical resolution, without overscan, is 200 pixels for a 60 Hz NTSC Amiga or 256 for a 50 Hz PAL Amiga. This can be doubled using an interlaced display, and, as with horizontal resolution, increased using overscan, to a maximum of 241 (or 483) for NTSC, and 283 (or 567) for PAL (interlaced modes gaining one extra line as

SECTION 50

#1732781036558

4992-464: The LED went completely off). Models released before Amiga 1200 also have a static "tone knob" type low-pass filter that is enabled regardless of the optional "LED filter". This filter is a 6 dB/oct low-pass filter with cutoff frequency at 4.5 or 5 kHz. A software technique was later developed which can play back 14-bit audio by combining two channels set at different volumes. This results in two 14-bit channels instead of four 8-bit channels. This

5088-483: The RGB components at a time, rapid color transitions along a scan line may be best achieved by using one of the preset color registers for these transitions. To render an arbitrary image, a programmer may choose to first examine the original image for the most noticeable of these transitions and then assign those colors to one of the registers, a technique known as adaptive palettes . However, with only 16 available registers in

5184-452: The SHAM mode. This technique is not limited to HAM, and was widely used with the machine's more conventional graphics modes as well. Dynamic HiRes uses a similar palette changing technique to produce 16 colors per line in the high resolution modes, whereas HAM is limited to low resolution but allows both 16 indexed colors as well as modifications of them. The SHAM idea was deprecated when HAM8

5280-443: The bitplanes used by the respective HAM mode). With AGA, instead of 4 bits per color component, the Amiga now had up to 8 bits per color component, resulting in 16,777,216 possible colors (24-bit color space). HAM8 operates in the same way as HAM6, using two "control" bits per pixel, but with six bits of data per pixel instead of four. The set operation selects from a palette of 64 colors instead of 16. The modify operation modifies

5376-459: The blitter. Agnus also attempts to order accesses in such a way so as to overlap CPU bus cycles with DMA cycles. As the original 68000 processor in Amigas tended only to access memory on every second available memory cycle, Agnus operates a system where "odd" memory access cycles are allocated first and as needed to time-critical custom chip DMA while any remaining cycles are available to the CPU, thus

5472-439: The chip meant you could hold the hue and change the luminance by only altering four bits. When we changed to RGB I said that wasn't needed any more as it wasn't useful and I asked the chip layout guy to take it off. He came back and said that this would either leave a big hole in the middle of the chip or take a three-month redesign and we couldn't do that. I didn't think anyone would use it. I was wrong again as that has really given

5568-526: The chipset remains unchanged, as do the Blitter and Copper coprocessors in Alice, still working on 16-bit data. Hold-And-Modify Hold-And-Modify , usually abbreviated as HAM , is a display mode of the Commodore Amiga computer. It uses a highly unusual technique to express the color of pixels, allowing many more colors to appear on screen than would otherwise be possible. HAM mode

5664-460: The discussion of Agnus, memory access is prioritized and one DMA slot per scan line is available for each of the four sound channels. On a regular NTSC or PAL display, DMA audio playback is limited to a maximum output rate of 28,867 values per channel (PAL: 28837) per second totaling 57674 (PAL: 57734) values per second on each stereo output. This rate can be increased with the ECS and AGA chipsets by using

5760-624: The display (see above) in order to circumvent some of these restrictions. HAM is unique to the Amiga and its distinct chipsets. To allow direct rendering of legacy images encoded in HAM format software-based HAM emulators have been developed which do not require the original display hardware. Pre-4.0 versions of AmigaOS can use HAM mode in the presence of the native Amiga chipset. AmigaOS 4.0 and up, designed for radically different hardware, provides HAM emulation for use on modern chunky graphics hardware. Dedicated Amiga emulators running on non-native hardware are able to display HAM mode by emulation of

5856-417: The display hardware, as the graphics buffer data is being displayed. Each encoded pixel acts as either a normal index to the color palette registers, or as a command to directly alter the value held in the output DAC (somewhat like updating just one-third of the active palette register), and is immediately acted on as such as it passes through the chipset. When the Amiga was launched in 1985, HAM mode offered

SECTION 60

#1732781036558

5952-407: The display hardware. However, since no other computer architecture used the HAM technique, viewing a HAM image on any other architecture requires programmatic interpretation of the image file. Faithful software-based decoding will produce identical results, setting aside variations in color fidelity between display setups. However, if the goal is merely to display a SHAM image on a non-Amiga platform,

6048-410: The extreme, it can take three pixels to change from one color to another, reducing the effective resolution at that point from a "320-pixel" to approximately "106-pixel" mode, and causing smears and shadows to spread along a scanline to the right of a high contrast feature if the 16 available palette registers prove insufficient. "Decompression" of the HAM encoded color space is achieved in realtime by

6144-547: The fact that a high resolution image with four bitplanes delivers a third more memory bandwidth, and therefore a third more data, than a low resolution image with six bitplanes. The HAM technique was also implemented on the HAM256 and HAM8x1 modes of ULAplus / HAM256 / HAM8x1 for the ZX Spectrum , where it provides the ability to display 256 colors on screen, by modifying a base 64 color palette. The HAM very similar to

6240-430: The fact that the display timing was very close to broadcast standards (NTSC or PAL), made the Amiga the first ideal computer for video purposes, and indeed, it was used in many studios for digitizing video data (sometimes called frame-grabbing), subtitling and interactive video news. Denise is programmed to fetch planar video data from one to five bitplanes and translate that into a color lookup . The number of bitplanes

6336-414: The hardware allows one channel in a channel pair to modulate the other channel's period or amplitude. It is rarely used on the Amiga due to both frequency and volume being controllable in better ways, but could be used to achieve different kinds of tremolo and vibrato , and even rudimentary FM synthesis effects. Audio may be output using two methods. Most often, DMA-driven audio is used. As explained in

6432-484: The image could access up to 32 values using 5 bits per pixel. The sixth available bit could be used by a display mode known as Extra Half-Brite which reduced the luminosity of that pixel by half, providing an easy way to produce shadowing effects. The Amiga chipset was designed using a HSV ( hue , saturation and luminance ) color space, as was common for early home computers and games consoles which relied on television sets for display. HSV maps more directly to

6528-436: The image will, by design, disappear seamlessly behind the screen bezel (or, on LCDs, be cropped off at the edge of the panel). Because of the highly regular structure of the Amiga's timing in relation to scanlines and allocation of DMA resources to various uses besides normal "playfield" graphics, increased horizontal resolution is also a tradeoff between number of pixels and how many hardware sprites are available, as increasing

6624-446: The individual bits per pixel into separate areas of memory, called bitplanes . In normal operation, Denise allows between one and five bitplanes, giving two to 32 unique colors. These colors are selected from a palette of 4096 colors (four bits per RGB component). A 6th bitplane is available for two special video modes: Halfbrite mode and Hold-And-Modify (HAM) mode. Denise also supports eight sprites , single pixel scrolling, and

6720-465: The lack of a chunky graphics mode is a speed impediment to graphics operations not tailored for planar modes, resulting in ghost artifacts during the common productivity task of scrolling . In practice, the AGA HAM mode is mainly useful in paint programs, picture viewers, and for video playback. Workbench in 256 colors is much slower than ECS operation modes for normal application use; a workaround

6816-400: The left audio output, and the other two are mixed into the right output, producing stereo audio output. The only supported hardware sample format is signed linear 8-bit two's complement . Each sound channel has an independent frequency and a 6-bit volume control (64 levels). Internally, the audio hardware is implemented by four state machines, each having eight different states. Additionally

6912-510: The left-most edge of the animated object contains any 'modify' pixels, or if the image immediately to the right of the object contains any 'modify' pixels, then those Hold-and-Modify values must be recomputed. An attempt to move an object around the screen (such as with the use of the blitter ) will create noticeable fringing at the left and right borders of that image, unless the graphics are specially designed to avoid this. In order to avoid recomputing Hold-and-Modify values and circumvent fringing,

7008-449: The less-than-ideal file system of the earlier Amiga models reduced this again to approximately 830 KB of actual payload data. In addition to the native 880 KB 3.5-inch disk format, the controller can handle many foreign formats, such as: The Amiga 3000 introduced a special, dual-speed floppy drive that also allowed use of high density disks with double capacity without any change to Paula's floppy controller. The serial port

7104-405: The lifting of those limits. As more modern computers are inherently capable of high resolution truecolor displays without any special tricks, there is no longer any need for display techniques like HAM; as PC-style graphics cards offering modes such as 800x600 SVGA in hi-color (16 bpp , or 65536 directly-selectable colors) were already available for the Amiga in the dying days of the platform, it

7200-552: The maximum is determined by how many lines are taken from the available total by blanking and sync, and the total scanlines in non-interlaced modes are half the original, broadcast-spec odd-numbered interlaced counts, rounded down). Starting with ECS, Denise was upgraded to support "Productivity" mode which allowed for 640x400 non-interlaced albeit with only 4 colors. Denise can composite up to eight 16-pixel-wide sprites per scan line (in automatic mode) on top, underneath, or between playfields, and detect collisions between sprites and

7296-417: The maximum number of unique on-screen colors can be greater than 262,144, depending on the two least significant bits of each color component in the 64 color palette. In theory, all 16.7 million colors could be displayed with a large enough screen and an appropriate base palette, but in practice the limitations in achieving full precision mean that the two least significant bits are typically ignored. In general,

7392-430: The next sector due to speed variations of the drive. If all sectors and their headers are always written in one go, such bleeding is only an issue at the end of the track (which still must not bleed back into its beginning), so that only one gap per track is needed. This way, for the native Amiga disk format, the raw storage capacity of 3.5 inch DD disks was increased from the typical 720 KB to 880 KB, although

7488-496: The original HAM mode, some loss in color fidelity is common. Additionally, HAM mode does not easily permit arbitrary animation of the display. For example, if an arbitrary portion of the playfield is to be moved to another on-screen position, the Hold-and-Modify values may have to be recomputed on all source and target lines in order to display the image correctly (an operation not well-suited to animation). Specifically, if

7584-565: The original chipset and the enhanced chipset were manufactured using NMOS logic technology by Commodore 's chip manufacturing subsidiary, MOS Technology . According to Jay Miner , the OCS chipset was fabricated in 5 μm manufacturing process while AGA Lisa was implemented in 1.5 μm process. All three custom chips were originally packaged in 48-pin DIPs ; later versions of Agnus, known as Fat Agnus, were packaged in an 84-pin PLCC . Agnus

7680-471: The palette during display. This meant that every scan line can have its own set of 16 base colors. This removes some constraints caused by the limited palette, which can then be chosen per-line instead of per-image. The only downsides to this approach are that the Copperlist uses extra clock cycles of chip RAM for the register changes, that the image is not bitmap-only, and the added complexity of setting up

7776-434: The perceived HAM8 color depth is roughly equivalent to a high color display. The vertical display resolutions for HAM8 are the same as for HAM6. The horizontal resolution can be 320 (360 with overscan) as before, doubled to 640 (720 with overscan) or even quadrupled to 1280 pixels (1440 with overscan). The AGA chipset also introduced even higher resolutions for the traditional planar display modes. The total number of pixels in

7872-521: The playfields or between sprites. These sprites have three visible colors and one transparent color. Optionally, adjacent pairs of sprites can be "attached" to make a single 15-color sprite. The Sprite DMA reads data to form a sprite channel as controlled by its registers, enabling the vertical reuse of sprites. There has to be one empty scanline in between two successive list entries to allow for updating sprite data. Using Copper or CPU register manipulations, each sprite channel can be reused multiple times in

7968-427: The programmer would have to ensure the left-most pixel of every blitter object and the left-most pixel of every line of a scrolling playfield is a "set" pixel. The palette would have to be designed so that it incorporates every such left-most pixel. Alternatively, a HAM display can be animated by generating pixel values through procedural generation , though this is generally useful for synthetic images only, for example,

8064-562: The required color values may be pre-calculated based on the palette entries that are programmed via the Copperlist, regardless of whether the palette is modified in the middle of a scanline. It is always possible to up-convert a HAM or SHAM image losslessly to a 32-bit palette. A device produced by Black Belt known as HAM-E was able to produce images with HAM8 color depth at low horizontal resolution from an Amiga with an Original Chip Set. The Amiga would be set up to produce high resolution images (640 pixels wide, 720 with overscan). This required

8160-466: The similarity. The Agnus chip is in overall control of the entire chipset's operation. All operations are synchronised to the position of the video beam. This includes access to the built-in RAM , known as chip RAM because the chipset has access to it. Both the central 68000 processor and other members of the chipset have to arbitrate for access to chip RAM via Agnus . In computing architecture terms, this

8256-408: The six most significant bits of either the red, green or blue color component - the two least significant bits of the color cannot be altered by this operation and remain as set by the most recent set operation. Compared to HAM6, HAM8 can display many more on-screen colors. The maximum number of on-screen colors using HAM8 was widely reported to be 262,144 colors (18-bit RGB color space). In fact,

8352-483: The start of the block to the end, known as "ascending" mode, or in reverse, "descending" mode. Blocks are "rectangular"; they have a "width" in multiples of 16 bits, a height measured in "lines", and a "stride" distance to move from the end of one line to the next. This allows the blitter to operate on any video resolution up to 1,024×1,024 pixels. The copy automatically performs a per-pixel logical operation. These operations are described generically using minterms . This

8448-480: The two control bits are both set to zero, the four remaining bits are used to index one of the 16 preset color registers, operating in the fashion of a normal indexed bitmap. The other three possible control bit patterns indicate that the color of the previous pixel (to the left) on the scanline should be used and the data bits should instead be used to modify the value of the red, green or blue component. Consequently, there are four possibilities: A similar mode, HAM5,

8544-490: The update of luminance information over hue and particularly saturation, switching between the three components as needed, compared to the more regular interleaving of full-resolution luma ( Y {\displaystyle Y} ) with individual half- or quarter-resolution chromas ( U {\displaystyle U} + V {\displaystyle V} ) as used by later digital video standards. This offered considerable efficiency benefits over RGB. As

8640-509: The use of four bitplanes at 70 ns per pixel. The first few lines of the image encoded information to configure the HAM-E unit. Then each pair of pixels was encoded with information for the HAM-E unit, which converted the information into one 140 ns pixel (generating an image 320 pixels wide, or 360 with overscan, at a color depth of eight bitplanes). The quality of HAM-E was thus comparable to a low-resolution HAM8 image. The HAM-E technique exploited

8736-434: The worst case this reduces the horizontal usable chroma resolution in half, from 320~360 pixels to 106~120. Even so, it compares favorably to contemporary video technologies like VHS that has a chroma resolution of around 40 television lines , roughly equivalent to 80 pixels. Displaying such images over a composite video connection provides some horizontal smoothing that minimizes color artifacts. But if an RGB monitor

8832-459: Was changed to 1 MB (sometimes called 'Fatter Agnus') and subsequently to 2 MB chip RAM. Denise is the main video processor. Without using overscan , the Amiga's graphics display is 320 or 640 pixels wide by 200 ( NTSC ) or 256 ( PAL ) pixels tall. Denise also supports interlacing , which doubles the vertical resolution, at the cost of intrusive flickering on typical monitors of that era. Planar bitmap graphics are used, which splits

8928-449: Was commonly used to display digitized photographs or video frames, bitmap art and occasionally animation. At the time of the Amiga's launch in 1985, this near-photorealistic display was unprecedented for a home computer and it was widely used to demonstrate the Amiga's graphical capability. However, HAM has significant technical limitations which prevent it from being used as a general purpose display mode. The original Amiga chipset uses

9024-466: Was frequently used to demonstrate the Amiga's ability in store displays and trade presentations, since competing hardware could not match the color depth. Due to the limitations described above HAM was mainly used for display of static images and developers largely avoided its use with games or applications requiring animation. HAM mode was only used for gameplay in twelve games, starting with Pioneer Plague in 1988. Other HAM titles include Knights of

9120-492: Was introduced with the AGA chipset, since even an unsliced HAM8 image has far more color resolution than a sliced HAM6 image. However, SHAM remains the best available HAM mode on those Amigas with the OCS or ECS chipsets. With the release of the Advanced Graphics Architecture (AGA) in 1992, the original HAM mode was renamed "HAM6", and a new "HAM8" mode was introduced (the numbered suffix represents

9216-499: Was still included for backward compatibility. The new HAM8 mode was far less useful to the AGA chipset than the HAM mode was to the original chipset, since the more straightforward indexed 256-color (as well as higher performance, planar 128- and 64-color) modes greatly increased the options to the artist without suffering from the drawbacks of HAM. A well-programmed "sliced"-palette mode could prove to be more useful than HAM8, with up to 256 unique colors per line - enough to directly define

#557442