English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 16 November 2016, 11:09   #1
TroyWilkins
Registered User
 
TroyWilkins's Avatar
 
Join Date: Jan 2015
Location: Melbourne, Australia
Posts: 548
How does the Denise chip (and Lisa) generate the display?

I hope this is in the right section, if not I apologise.

I'm trying to get a better understanding of how the Amiga works exactly so I can write it up on my web site, but I'm not entirely sure how Denise/Lisa generates the display.

What I mean is, does Denise/Lisa simply read from the appropriate place in Chip RAM as the electron beam scans across the display and generate suitable output to the display device, and thus Agnus/Lisa changes the data in the chip RAM if need be (say for a copper effect or display change), or is it done some other way?
TroyWilkins is offline  
Old 16 November 2016, 12:11   #2
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Yeah, that's basically it alright, although Lisa & Denise produce digital output that needs to be converted to analogue to be displayed, so there is DAC circuitry between the custom chips and the actual video output you get from the RGB or composite ports.

There isn't a specific place in chip RAM that contains the display information, so the position in memory the information is read from can be changed easily. This is the basics of double buffering - one bitmap is being drawn while the other is being fed to the display, then they're swapped over so the previously drawn bitmap is now the one being fed to the display.
Daedalus is offline  
Old 16 November 2016, 12:21   #3
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,745
Principle is relatively simple - there is group of counters that can be programmed (and some of them not), they count clock and based on outcome together with comparators trig particular strobes inside Denise and Lisa, there is group of latches where video bitplane data are load and latched, there are some comparators working together with counters, finally there are parallel to serial shifters and bunch of gates to detect collisions.
pandy71 is offline  
Old 16 November 2016, 12:39   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
Denise/Lisa (and Paula) do not have direct access to chip RAM.

Agnus/Alice read from chip ram and then write the data words to Denise/Lisa BPLxDAT (if bitplane) and SPRxDAT (if sprite) registers.
Toni Wilen is online now  
Old 16 November 2016, 22:55   #5
TroyWilkins
Registered User
 
TroyWilkins's Avatar
 
Join Date: Jan 2015
Location: Melbourne, Australia
Posts: 548
Ahh, thank you very much. So one of the DMA channels in Agnus/Lisa is used to provide data to Denise/Lisa, and the same for Paula? With Paula, is it one DMA channel per sound channel? Sorry if these are annoying questions, but I've foudn that this information isn't easy to find using google.
TroyWilkins is offline  
Old 17 November 2016, 09:04   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
HRM DMA allocation chart explains most of it, indirectly.

Paula has 5 channels, 4 for audio and 1 for disk (or 2, disk DMA can work in both directions). Works same way as Denise, Agnus/Alice writes to AUDxDATs and DSKDAT (or reads from DSKDATR).

Note that audio DMA writes do not cause any immediate sound change. DMA fetches are not fully hardwired to audio state, they are done early. When new sample word starts playing (first byte of word), next sample word DMA request goes to Agnus/Alice. (This is probably getting too technical but at the beginning of each scanline, Agnus/Alice gets serial DMA "mask" from Paula that tells which Paula's DMA slots require new data. This is not officially documented anywhere and explains smallest possible audio period without repeating samples.)
Toni Wilen is online now  
Old 17 November 2016, 10:12   #7
TroyWilkins
Registered User
 
TroyWilkins's Avatar
 
Join Date: Jan 2015
Location: Melbourne, Australia
Posts: 548
Not too technical, thank you very much for the detailed response Toni, very much appreciated! And thank you for the reminder about the HRM, just having a look at that now and it looks like it should prevent me from asking what must seem like basic questions.
TroyWilkins is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wanted: A1200 Lisa chip ivansc MarketPlace 0 14 March 2013 18:15
Looking for lisa kipper2k MarketPlace 0 12 February 2011 15:39
Looking for Amiga 1200 PAL motherboard with CBM Lisa chip. Sallinen Swapshop 3 23 November 2008 02:34
WTB/Trade Amiga 1200 PAL motherboard with CBM Lisa. Sallinen MarketPlace 0 11 November 2008 07:13

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:51.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.13930 seconds with 15 queries