Amiga memory map

Contents:


Address space

Address space Starts at Ends at Size Notes
Z2 Chip RAM All Amigas (Agnus-ones too) $00000000 $0007FFFF 512 kB Agnus only handles 0.5 MB Chip RAM.
From "new" OCS Amigas (at least Fat Agnus) $00080000 $000FFFFF 512 kB Amigas equipped at least with Fat Agnus can address further 0.5 MB of Chip RAM.
Only ECS / AGA Amigas (only Big Fat Agnus / Alice) $00100000 $001FFFFF 1 MB Amigas containing Big Fat Agnus and Alice can see a further 1 MB of Chip RAM.
Lower AutoConfig Zorro 2 Fast RAM $00200000 $005FFFFF 4 MB  
Upper AutoConfig Zorro 2 Fast RAM / PCMCIA RAM (A600 & A1200) $00600000 $009FFFFF 4 MB In the A1200 and A600 you can have 4 MB Fast RAM + 4 MB PCMCIA RAM or 8 MB FastRAM.
Zorro 2 IO expansion / PCMCIA attributes (A600 & A1200) $00A00000 $00A1FFFF 128 kB  
Zorro 2 IO expansion / PCMCIA I/O (A600 & A1200) $00A20000 $00A3FFFF 128 kB  
Zorro 2 IO expansion / PCMCIA bits (A600 & A1200) $00A40000 $00A5FFFF 128 kB  
Zorro 2 IO expansion / PCMCIA PC I/O (A600 & A1200) $00A60000 $00A7FFFF 128 kB  
Zorro 2 IO expansion / Additional KickStart expansion (A1200) $00A80000 $00BEFFFF 1024 kB  
Zorro 2 IO expansion / Reserved for CDTV $00B80000 $00BEFFFF 448 kB  
CIA registers $00BF0000 $00BFFFFF 64 kB See here.
A500 "Trapdoor" Slow RAM / A4000 Chip shadow registers $00C00000 $00D7FFFF 1536 kB Technically this is Fast RAM, because only the CPU sees it, but due to it's speed, it is called "Slow RAM", but real Fast RAM can too be mapped here, as the ACA500 does it. On the A4000, the first 1 MB contains the Chip shadow registers.
A1200 Clock Port / SPARE chip select $00D80000 $00D8FFFF 64 kB Since only A2-A5 and D16-D23 lines are available, only addresses patterned like $D8XXX1, $D8XXX5, $D8XXX9 and $D8XXXD are accessible; a total 16 of them, repeated 1024 times.
ARCNET chip select $00D90000 $00D9FFFF 64 kB  
A600 & A1200 IDE controller $00DA0000 $00DA3FFF 16 kB  
A600 & A1200 IDE reserved $00DA4000 $00DA7FFF 16 kB  
A600 & A1200 PCIMCA and IDE configuration registers $00DA8000 $00DAFFFF 32 kB  
A600 & A1200 external IDE controller $00DB0000 $00DBFFFF 64 kB  
RealTimeClock $00DC0000 $00DCFFFF 64 kB Used by accelerator cards which have a built-in clock as the RTC_CS signal goes to the A1200 CPU connector and can not be used if you have a clock.
A3000 SCSI controller / A4000 IDE controller / A1200 DMA controller $00DD0000 $00DDFFFF 64 kB  
Motherboard resources (A3000 & A4000): RAMSEY/GARY registers (supervisor space) $00DE0000 $00DEFFFF 64 kB  
Unused $00DF0000 $00DF7FFF 32 kB  
Auxiliary interrupt control $00DF8000 $00DBFFFF 16 kB  
Chip registers $00DFC000 $00DFFFFF 16 kB See here.
KickStart expansion $00E00000 $00E7FFFF 512 kB  
Primary Zorro 2 AutoConfig $00E80000 $00E8FFFF 64 kB  
Secondary Zorro 2 AutoConfig (IO) $00E90000 $00EFFFFF 448 kB  
CDTV & CD32 Extended ROM / A4000 Diagnostics ROM $00F00000 $00F7FFFF 512 kB  
KickStart ROM $00F80000 $00FFFFFF 512 kB  
Z3 A4000 Chip RAM expansion $01000000 $017FFFFF 8 MB Fast RAM can be mapped here too.
A4000 Motherboard Fast RAM expansion $01800000 $06FFFFFF 104 MB By default, the hardware can only handle 16 MB of motherboard Fast RAM. You have to modify the machine to be able to use 64 MB. But even 96 or 112 MB is possible.
A3000 & A4000 Motherboard Fast RAM $07000000 $07FFFFFF 16 MB  
CPU-socket 32-bit Fast RAM $08000000 $0FFFFFFF 128 MB Most CPU-socketed - and Amiga 1200 - turbocards maps their RAM here.
Zorro 3 expansion area $10000000 $7FFFFFFF 1792 MB  
"Negative" address space - $80000000 $FEFFFFFF 2032 MB From here, it is the "negative" address space; the CPU can see it and can use it, but the OS can not.
Zorro 3 AutoConfig $FF000000 $FF00FFFF 64 kB  
- $FF010000 $FFFFFFFF 16320 kB  

CIA registers

Notes:

Address Chip Name Description Data bits
  7 6 5 4 3 2 1 0
BFE001 ciaa pra Port A /FIR1
(Joy 1, pin 6)
/FIR0
(Joy 0, pin 6)
/RDY
(0 = disk motor is on)
/TK0
(0 = disk on track 00)
/WPRO
(0 = write protected disk)
/CHNG
(Disk: 1 = inserted)
/LED
(0 = bright LED)
OVL
(Memory overlay)
BFE101 prb Port B (Parallel port)  
BFE201 ddra Direction for Port A (BFE001); (set to 0x03) 0 0 0 0 0 0 1 1
BFE301 ddrb Direction for Port B (BFE101)  
BFE401 talo CIAA Timer A Bits 7-0
BFE501 tahi Bits 15-8
BFE601 tblo CIAA Timer B Bits 7-0
BFE701 tbhi Bits 15-8
BFE801 todlo 50/60 Hz event counter (VSync or line tick) Bits 7-0
BFE901 todmid Bits 15-8
BFEA01 todhi Bits 23-16
BFEB01 - Unused  
BFEC01 sdr CIAA Serial Data Register (connected to keyboard)  
BFED01 icr CIAA Interrupt Control Register Read: IR
Write: S/C
Unused Unused FLG SP ALRM TB TA
BFEE01 cra CIAA Control Register A See here.
BFEF01 crb CIAA Control Register B
BFD000 ciab pra Port A /DTR
(Data Terminal Ready)
/RTS
(Request to Send)
/CD
(Carrier Detect)
/CTS
(Clear to Send)
/DSR
(Data Set Ready)
SEL
(Printer Select)
POUT
(Printer Paper Out)
BUSY
(Printer Busy)
BFD100 prb Port B /MTR
(0 = turn on disk motor)
/SEL3
(0 = select DF3)
/SEL2
(DF2)
/SEL1
(DF1)
/SEL0
(DF0)
/SIDE
(Disk side: 0 = Up)
DIR
(Step towards: 0 = to center)
/STEP
(Step disk head)
BFD200 ddra Direction for Port A (BFD000); (set to 0xFF) 1 1 1 1 1 1 1 1
BFD300 ddrb Direction for Port B (BFD100); (set to 0xFF) 1 1 1 1 1 1 1 1
BFD400 talo CIAB Timer A Bits 7-0
BFD500 tahi Bits 15-8
BFD600 tblo CIAB Timer B Bits 7-0
BFD700 tbhi Bits 15-8
BFD800 todlo Horizontal sync event counter Bits 7-0
BFD900 todmid Bits 15-8
BFDA00 todhi Bits 23-16
BFDB00 - Unused  
BFDC00 sdr CIAB Serial Data Register (unused)  
BFDD00 icr CIAB Interrupt Control Register Read: IR
Write: S/C
Unused Unused FLG SP ALRM TB TA
BFDE00 cra CIAB Control Register A See here.
BFDF00 crb CIAB Control Register B

CIA Control Register

Bit Register A Register B Note
Name V. Function Name V. Function
7 UNUSED     ALARM 0 writing to TOD registers sets TOD clock Reading TOD registers always reads TOD clock, regardless of the state of the Alarm bit.
1 writing to TOD registers sets Alarm
6 SPMODE 0 Serial port=input (external shift clock is required) INMODE 00 Timer B counts 02 pulses  
1 Serial port=output (CNT is the source of the shift clock) 01 Timer B counts positive CNT transitions
5 INMODE 0 Timer A counts 02 pulses 10 Timer B counts Timer A underflow pulses
1 Timer A counts positive CNT transitions 11 Timer B counts Timer A underflow pulses while CNT pin is held high.
4 LOAD 0 - LOAD 0 - This is a strobe input, there is no data storage; bit 4 will always read back a zero and writing a 0 has no effect.
1 Force load 1 Force load
3 RUNMODE 0 Continuous mode RUNMODE 0 Continuous mode  
1 One-shot mode 1 One-shot mode
2 OUTMODE 0 Pulse OUTMODE 0 Pulse  
1 Toggle 1 Toggle
1 PBON 0 PB6 is normal operation PBON 0 PB7 is normal operation  
1 Timer A output on PB6 1 Timer B output on PB7
0 START 0 stop Timer A START 0 stop Timer B This bit is automatically resets (=0) when underflow occurs during one-shot mode.
1 start Timer A 1 start Timer B

Chip registers

Note about Copper access: On OCS all registers below DFF040 are unaccessible to the Copper, even if CDANG in COPCON is set to 1.
Access
E Early-read
R Read
W Write
S Strobe
- None
Chipset
O OCS
E ECS
A AGA
- None
By address:
Addr. Name A C Desc.
DFF000 BLTDDAT E O Blitter dest. early read (dummy address)
DFF002 DMACONR R O Dma control (and blitter status) read
DFF004 VPOSR R O Read vertical most sig. bits (and frame flop)
DFF006 VHPOSR R O Read vert and horiz position of beam
DFF008 DSKDATR E O Disk data early read (dummy address)
DFF00A JOY0DAT R O Joystick-mouse 0 data (vert, horiz)
DFF00C JOY1DAT R O Joystick-mouse 1 data (vert, horiz)
DFF00E CLXDAT R O Collision data reg. (read and clear)
DFF010 ADKCONR R O Audio, disk control register read
DFF012 POT0DAT R O Pot counter data left pair (vert, horiz)
DFF014 POT1DAT R O Pot counter data right pair (vert, horiz)
DFF016 POTINP R O Pot pin data read
DFF018 SERDATR R O Serial port data and status read
DFF01A DSKBYTR R O Disk data byte and status read
DFF01C INTENAR R O Interrupt enable bits read
DFF01E INTREQR R O Interrupt request bits read
DFF020 DSKPTH W O Disk pointer (high 5 bits (OCS: 3 bits))
DFF022 DSKPTL W O Disk pointer (low 15 bits)
DFF024 DSKLEN W O Disk length
DFF026 DSKDAT W O Disk DMA data write
DFF028 REFPTR W O Refresh pointer
DFF02A VPOSW W O Write vert most sig. bits (and frame flop)
DFF02C VHPOSW W O Write vert and horiz pos of beam
DFF02E COPCON W O Coprocessor control
DFF030 SERDAT W O Serial port data and stop bits write
DFF032 SERPER W O Serial port period and control
DFF034 POTGO W O Pot count start,pot pin drive enable data
DFF036 JOYTEST W O Write to all 4 joystick-mouse counters at once
DFF038 STREQU S O Strobe for horiz sync with VB and EQU
DFF03A STRVBL S O Strobe for horiz sync with VB (vert blank)
DFF03C STRHOR S O Strobe for horiz sync
DFF03E STRLONG S O Strobe for identification of long horiz line
DFF040 BLTCON0 W O Blitter control register 0
DFF042 BLTCON1 W O Blitter control register 1
DFF044 BLTAFWM W O Blitter first word mask for source A
DFF046 BLTALWM W O Blitter last word mask for source A
DFF048 BLTCPTH W O Blitter pointer to source C (high 5 bits (OCS: 3 bits))
DFF04A BLTCPTL W O Blitter pointer to source C (low 15 bits)
DFF04C BLTBPTH W O Blitter pointer to source B (high 5 bits (OCS: 3 bits))
DFF04E BLTBPTL W O Blitter pointer to source B (low 15 bits)
DFF050 BLTAPTH W O Blitter pointer to source A (high 5 bits (OCS: 3 bits))
DFF052 BLTAPTL W O Blitter pointer to source A (low 15 bits)
DFF054 BLTDPTH W O Blitter pointer to dest D (high 5 bits (OCS: 3 bits))
DFF056 BLTDPTL W O Blitter pointer to dest D (low 15 bits)
DFF058 BLTSIZE W O Blitter start and size (win/width,height)
DFF05A BLTCON0L W E Blitter control 0, lower 8 bits (minterms)
DFF05C BLTSIZV W E Blitter V size (for 15 bit vertical size)
DFF05E BLTSIZH W E Blitter H size and start (for 11 bit H size)
DFF060 BLTCMOD W O Blitter modulo for source C
DFF062 BLTBMOD W O Blitter modulo for source B
DFF064 BLTAMOD W O Blitter modulo for source A
DFF066 BLTDMOD W O Blitter modulo for dest D
DFF068 RESERVED - -  
DFF06A RESERVED - -  
DFF06C RESERVED - -  
DFF06E RESERVED - -  
DFF070 BLTCDAT W O Blitter source C data register
DFF072 BLTBDAT W O Blitter source B data register
DFF074 BLTADAT W O Blitter source A data register
DFF076 RESERVED - -  
DFF078 SPRHDAT W E Ext. logic UHRES sprite pointer and data identifier
DFF07A BPLHDAT W E Ext. logic UHRES bit plane identifier
DFF07C DENISEID R E Chip revision level for Denise/Lisa (video out chip)
DFF07E DSKSYNC W O Disk sync pattern reg for disk read
DFF080 COP1LCH W O Coprocessor 1st location (high 5 bits (OCS: 3 bits))
DFF082 COP1LCL W O Coprocessor 1st location (low 15 bits)
DFF084 COP2LCH W O Coprocessor 2nd location(high 5 bits (OCS: 3 bits))
DFF086 COP2LCL W O Coprocessor 2nd location (low 15 bits)
DFF088 COPJMP1 S O Coprocessor restart at 1st location
DFF08A COPJMP2 S O Coprocessor restart at 2nd location
DFF08C COPINS S O Coprocessor inst fetch identify
DFF08E DIWSTRT W O Display window start (upper left vert,horiz pos)
DFF090 DIWSTOP W O Display window stop (lower right vert,horiz pos)
DFF092 DDFSTRT W O Display bit plane data fetch start,horiz pos
DFF094 DDFSTOP W O Display bit plane data fetch stop,horiz pos
DFF096 DMACON W O DMA control write (clear or set)
DFF098 CLXCON W O Collision control
DFF09A INTENA W O Interrupt enable bits (clear or set bits)
DFF09C INTREQ W O Interrupt request bits (clear or set bits)
DFF09E ADKCON W O Audio, disk,UART control
DFF0A0 AUD0LCH W O Audio channel 0 location (high 5 bits (OCS: 3 bits))
DFF0A2 AUD0LCL W O Audio channel 0 location (low 15 bits)
DFF0A4 AUD0LEN W O Audio channel 0 length
DFF0A6 AUD0PER W O Audio channel 0 period
DFF0A8 AUD0VOL W O Audio channel 0 volume
DFF0AA AUD0DAT W O Audio channel 0 data
DFF0AC RESERVED - -  
DFF0AE RESERVED - -  
DFF0B0 AUD1LCH W O Audio channel 1 location (high 5 bits (OCS: 3 bits))
DFF0B2 AUD1LCL W O Audio channel 1 location (low 15 bits)
DFF0B4 AUD1LEN W O Audio channel 1 length
DFF0B6 AUD1PER W O Audio channel 1 period
DFF0B8 AUD1VOL W O Audio channel 1 volume
DFF0BA AUD1DAT W O Audio channel 1 data
DFF0BC RESERVED - -  
DFF0BE RESERVED - -  
DFF0C0 AUD2LCH W O Audio channel 2 location (high 5 bits (OCS: 3 bits))
DFF0C2 AUD2LCL W O Audio channel 2 location (low 15 bits)
DFF0C4 AUD2LEN W O Audio channel 2 length
DFF0C6 AUD2PER W O Audio channel 2 period
DFF0C8 AUD2VOL W O Audio channel 2 volume
DFF0CA AUD2DAT W O Audio channel 2 data
DFF0CC RESERVED - -  
DFF0CE RESERVED - -  
DFF0D0 AUD3LCH W O Audio channel 3 location (high 5 bits (OCS: 3 bits))
DFF0D2 AUD3LCL W O Audio channel 3 location (low 15 bits)
DFF0D4 AUD3LEN W O Audio channel 3 length
DFF0D6 AUD3PER W O Audio channel 3 period
DFF0D8 AUD3VOL W O Audio channel 3 volume
DFF0DA AUD3DAT W O Audio channel 3 data
DFF0E0 BPL1PTH W O Bitplane pointer 1 (high 5 bits (OCS: 3 bits))
DFF0E2 BPL1PTL W O Bitplane pointer 1 (low 15 bits)
DFF0E4 BPL2PTH W O Bitplane pointer 2 (high 5 bits (OCS: 3 bits))
DFF0E6 BPL2PTL W O Bitplane pointer 2 (low 15 bits)
DFF0E8 BPL3PTH W O Bitplane pointer 3 (high 5 bits (OCS: 3 bits))
DFF0EA BPL3PTL W O Bitplane pointer 3 (low 15 bits)
DFF0EC BPL4PTH W O Bitplane pointer 4 (high 5 bits (OCS: 3 bits))
DFF0EE BPL4PTL W O Bitplane pointer 4 (low 15 bits)
DFF0F0 BPL5PTH W O Bitplane pointer 5 (high 5 bits (OCS: 3 bits))
DFF0F2 BPL5PTL W O Bitplane pointer 5 (low 15 bits)
DFF0F4 BPL6PTH W O Bitplane pointer 6 (high 5 bits (OCS: 3 bits))
DFF0F6 BPL6PTL W O Bitplane pointer 6 (low 15 bits)
DFF0F8 BPL7PTH W A Bitplane pointer 7 (high 5 bits (OCS: 3 bits))
DFF0FA BPL7PTL W A Bitplane pointer 7 (low 15 bits)
DFF0FC BPL8PTH W A Bitplane pointer 8 (high 5 bits (OCS: 3 bits))
DFF0FE BPL8PTL W A Bitplane pointer 8 (low 15 bits)
DFF100 BPLCON0 W O Bitplane control (miscellaneous control bits)
DFF102 BPLCON1 W O Bitplane control (scroll value)
DFF104 BPLCON2 W O Bitplane control (video priority control)
DFF106 BPLCON3 W O Bitplane control (enhanced features)
DFF108 BPL1MOD W O Bitplane modulo (odd planes)
DFF10A BPL2MOD W O Bitplane modulo (even planes)
DFF10C BPLCON4 W A Bitplane control (bitplane and sprite-masks)
DFF10E CLXCON2 W A Extended collision control
DFF110 BPL1DAT W O Bitplane 1 data (parallel to serial convert)
DFF112 BPL2DAT W O Bitplane 2 data (parallel to serial convert)
DFF114 BPL3DAT W O Bitplane 3 data (parallel to serial convert)
DFF116 BPL4DAT W O Bitplane 4 data (parallel to serial convert)
DFF118 BPL5DAT W O Bitplane 5 data (parallel to serial convert)
DFF11A BPL6DAT W O Bitplane 6 data (parallel to serial convert)
DFF11C BPL7DAT W A Bitplane 7 data (parallel to serial convert)
DFF11E BPL8DAT W A Bitplane 8 data (parallel to serial convert)
DFF120 SPR0PTH W O Sprite 0 pointer (high 5 bits (OCS: 3 bits))
DFF122 SPR0PTL W O Sprite 0 pointer (low 15 bits)
DFF124 SPR1PTH W O Sprite 1 pointer (high 5 bits (OCS: 3 bits))
DFF126 SPR1PTL W O Sprite 1 pointer (low 15 bits)
DFF128 SPR2PTH W O Sprite 2 pointer (high 5 bits (OCS: 3 bits))
DFF12A SPR2PTL W O Sprite 2 pointer (low 15 bits)
DFF12C SPR3PTH W O Sprite 3 pointer (high 5 bits (OCS: 3 bits))
DFF12E SPR3PTL W O Sprite 3 pointer (low 15 bits)
DFF130 SPR4PTH W O Sprite 4 pointer (high 5 bits (OCS: 3 bits))
DFF132 SPR4PTL W O Sprite 4 pointer (low 15 bits)
DFF134 SPR5PTH W O Sprite 5 pointer (high 5 bits (OCS: 3 bits))
DFF136 SPR5PTL W O Sprite 5 pointer (low 15 bits)
DFF138 SPR6PTH W O Sprite 6 pointer (high 5 bits (OCS: 3 bits))
DFF13A SPR6PTL W O Sprite 6 pointer (low 15 bits)
DFF13C SPR7PTH W O Sprite 7 pointer (high 5 bits (OCS: 3 bits))
DFF13E SPR7PTL W O Sprite 7 pointer (low 15 bits)
DFF140 SPR0POS W O Sprite 0 vert,horiz start pos data
DFF142 SPR0CTL W O Sprite 0 position and control data
DFF144 SPR0DATA W O Sprite 0 image data register A
DFF146 SPR0DATB W O Sprite 0 image data register B
DFF148 SPR1POS W O Sprite 1 vert,horiz start pos data
DFF14A SPR1CTL W O Sprite 1 position and control data
DFF14C SPR1DATA W O Sprite 1 image data register A
DFF14E SPR1DATB W O Sprite 1 image data register B
DFF150 SPR2POS W O Sprite 2 vert,horiz start pos data
DFF152 SPR2CTL W O Sprite 2 position and control data
DFF154 SPR2DATA W O Sprite 2 image data register A
DFF156 SPR2DATB W O Sprite 2 image data register B
DFF158 SPR3POS W O Sprite 3 vert,horiz start pos data
DFF15A SPR3CTL W O Sprite 3 position and control data
DFF15C SPR3DATA W O Sprite 3 image data register A
DFF15E SPR3DATB W O Sprite 3 image data register B
DFF160 SPR4POS W O Sprite 4 vert,horiz start pos data
DFF162 SPR4CTL W O Sprite 4 position and control data
DFF164 SPR4DATA W O Sprite 4 image data register A
DFF166 SPR4DATB W O Sprite 4 image data register B
DFF168 SPR5POS W O Sprite 5 vert,horiz start pos data
DFF16A SPR5CTL W O Sprite 5 position and control data
DFF16C SPR5DATA W O Sprite 5 image data register A
DFF16E SPR5DATB W O Sprite 5 image data register B
DFF170 SPR6POS W O Sprite 6 vert,horiz start pos data
DFF172 SPR6CTL W O Sprite 6 position and control data
DFF174 SPR6DATA W O Sprite 6 image data register A
DFF176 SPR6DATB W O Sprite 6 image data register B
DFF178 SPR7POS W O Sprite 7 vert,horiz start pos data
DFF17A SPR7CTL W O Sprite 7 position and control data
DFF17C SPR7DATA W O Sprite 7 image data register A
DFF17E SPR7DATB W O Sprite 7 image data register B
DFF180 COLOR00 W O Color table 0, color of background & borders
DFF182 COLOR01 W O Color table 1
DFF184 COLOR02 W O Color table 2
DFF186 COLOR03 W O Color table 3
DFF188 COLOR04 W O Color table 4
DFF18A COLOR05 W O Color table 5
DFF18C COLOR06 W O Color table 6
DFF18E COLOR07 W O Color table 7
DFF190 COLOR08 W O Color table 8
DFF192 COLOR09 W O Color table 9
DFF194 COLOR10 W O Color table 10
DFF196 COLOR11 W O Color table 11
DFF198 COLOR12 W O Color table 12
DFF19A COLOR13 W O Color table 13
DFF19C COLOR14 W O Color table 14
DFF19E COLOR15 W O Color table 15
DFF1A0 COLOR16 W O Color table 16
DFF1A2 COLOR17 W O Color table 17, color #1 of sprite #0 & #1
DFF1A4 COLOR18 W O Color table 18, color #2 of sprite #0 & #1
DFF1A6 COLOR19 W O Color table 19, color #3 of sprite #0 & #1
DFF1A8 COLOR20 W O Color table 20
DFF1AA COLOR21 W O Color table 21, color #1 of sprite #2 & #3
DFF1AC COLOR22 W O Color table 22, color #2 of sprite #2 & #3
DFF1AE COLOR23 W O Color table 23, color #3 of sprite #2 & #3
DFF1B0 COLOR24 W O Color table 24
DFF1B2 COLOR25 W O Color table 25, color #1 of sprite #4 & #5
DFF1B4 COLOR26 W O Color table 26, color #2 of sprite #4 & #5
DFF1B6 COLOR27 W O Color table 27, color #3 of sprite #4 & #5
DFF1B8 COLOR28 W O Color table 28
DFF1BA COLOR29 W O Color table 29, color #1 of sprite #6 & #7
DFF1BC COLOR30 W O Color table 30, color #2 of sprite #6 & #7
DFF1BE COLOR31 W O Color table 31, color #3 of sprite #6 & #7
DFF1C0 HTOTAL W E Highest number count, horiz line (VARBEAMEN=1)
DFF1C2 HSSTOP W E Horizontal line position for HSYNC stop
DFF1C4 HBSTRT W E Horizontal line position for HBLANK start
DFF1C6 HBSTOP W E Horizontal line position for HBLANK stop
DFF1C8 VTOTAL W E Highest numbered vertical line (VARBEAMEN=1)
DFF1CA VSSTOP W E Vertical line position for VSYNC stop
DFF1CC VBSTRT W E Vertical line for VBLANK start
DFF1CE VBSTOP W E Vertical line for VBLANK stop
DFF1D0 SPRHSTRT W E UHRES sprite vertical start
DFF1D2 SPRHSTOP W E UHRES sprite vertical stop
DFF1D4 BPLHSTRT W E UHRES bit plane vertical start
DFF1D6 BPLHSTOP W E UHRES bit plane vertical stop
DFF1D8 HHPOSW W E DUAL mode hires H beam counter write
DFF1DA HHPOSR R E DUAL mode hires H beam counter read
DFF1DC BEAMCON0 W O Beam counter control register (SHRES,UHRES,PAL)
DFF1DE HSSTRT W E Horizontal sync start (VARHSY)
DFF1E0 VSSTRT W E Vertical sync start (VARVSY)
DFF1E2 HCENTER W E Horizontal position for Vsync on interlace
DFF1E4 DIWHIGH W E Display window - upper bits for start/stop
DFF1E6 BPLHMOD W E UHRES bit plane modulo
DFF1E8 SPRHPTH W E UHRES sprite pointer (high 5 bits)
DFF1EA SPRHPTL W E UHRES sprite pointer (low 15 bits)
DFF1EC BPLHPTH W E VRam (UHRES) bitplane pointer (hi 5 bits)
DFF1EE BPLHPTL W E VRam (UHRES) bitplane pointer (lo 15 bits)
DFF1F0 RESERVED - -  
DFF1F2 RESERVED - -  
DFF1F4 RESERVED - -  
DFF1F6 RESERVED - -  
DFF1F8 RESERVED - -  
DFF1FA RESERVED - -  
DFF1FC FMODE W A Fetch mode register
DFF1FE NO-OP R O No operation/NULL (Copper NOP instruction)
By name:
Addr. Name A C Desc.
DFF09E ADKCON W O Audio, disk,UART control
DFF010 ADKCONR R O Audio, disk control register read
DFF0AA AUD0DAT W O Audio channel 0 data
DFF0BA AUD1DAT W O Audio channel 1 data
DFF0CA AUD2DAT W O Audio channel 2 data
DFF0DA AUD3DAT W O Audio channel 3 data
DFF0A0 AUD0LCH W O Audio channel 0 location (high 5 bits (OCS: 3 bits))
DFF0A2 AUD0LCL W O Audio channel 0 location (low 15 bits)
DFF0B0 AUD1LCH W O Audio channel 1 location (high 5 bits (OCS: 3 bits))
DFF0B2 AUD1LCL W O Audio channel 1 location (low 15 bits)
DFF0C0 AUD2LCH W O Audio channel 2 location (high 5 bits (OCS: 3 bits))
DFF0C2 AUD2LCL W O Audio channel 2 location (low 15 bits)
DFF0D0 AUD3LCH W O Audio channel 3 location (high 5 bits (OCS: 3 bits))
DFF0D2 AUD3LCL W O Audio channel 3 location (low 15 bits)
DFF0A4 AUD0LEN W O Audio channel 0 length
DFF0B4 AUD1LEN W O Audio channel 1 length
DFF0C4 AUD2LEN W O Audio channel 2 length
DFF0D4 AUD3LEN W O Audio channel 3 length
DFF0A6 AUD0PER W O Audio channel 0 period
DFF0B6 AUD1PER W O Audio channel 1 period
DFF0C6 AUD2PER W O Audio channel 2 period
DFF0D6 AUD3PER W O Audio channel 3 period
DFF0A8 AUD0VOL W O Audio channel 0 volume
DFF0B8 AUD1VOL W O Audio channel 1 volume
DFF0C8 AUD2VOL W O Audio channel 2 volume
DFF0D8 AUD3VOL W O Audio channel 3 volume
DFF1DC BEAMCON0 W O Beam counter control register (SHRES,UHRES,PAL)
DFF044 BLTAFWM W O Blitter first word mask for source A
DFF046 BLTALWM W O Blitter last word mask for source A
DFF040 BLTCON0 W O Blitter control register 0
DFF05A BLTCON0L W E Blitter control 0, lower 8 bits (minterms)
DFF042 BLTCON1 W O Blitter control register 1
DFF000 BLTDDAT E O Blitter dest. early read (dummy address)
DFF058 BLTSIZE W O Blitter start and size (win/width,height)
DFF05E BLTSIZH W E Blitter H size and start (for 11 bit H size)
DFF05C BLTSIZV W E Blitter V size (for 15 bit vertical size)
DFF074 BLTADAT W O Blitter source A data register
DFF072 BLTBDAT W O Blitter source B data register
DFF070 BLTCDAT W O Blitter source C data register
DFF064 BLTAMOD W O Blitter modulo for source A
DFF062 BLTBMOD W O Blitter modulo for source B
DFF060 BLTCMOD W O Blitter modulo for source C
DFF066 BLTDMOD W O Blitter modulo for dest D
DFF050 BLTAPTH W O Blitter pointer to source A (high 5 bits (OCS: 3 bits))
DFF052 BLTAPTL W O Blitter pointer to source A (low 15 bits)
DFF04C BLTBPTH W O Blitter pointer to source B (high 5 bits (OCS: 3 bits))
DFF04E BLTBPTL W O Blitter pointer to source B (low 15 bits)
DFF048 BLTCPTH W O Blitter pointer to source C (high 5 bits (OCS: 3 bits))
DFF04A BLTCPTL W O Blitter pointer to source C (low 15 bits)
DFF054 BLTDPTH W O Blitter pointer to dest D (high 5 bits (OCS: 3 bits))
DFF056 BLTDPTL W O Blitter pointer to dest D (low 15 bits)
DFF100 BPLCON0 W O Bitplane control (miscellaneous control bits)
DFF102 BPLCON1 W O Bitplane control (scroll value)
DFF104 BPLCON2 W O Bitplane control (video priority control)
DFF106 BPLCON3 W O Bitplane control (enhanced features)
DFF10C BPLCON4 W A Bitplane control (bitplane and sprite-masks)
DFF07A BPLHDAT W E Ext. logic UHRES bit plane identifier
DFF1E6 BPLHMOD W E UHRES bit plane modulo
DFF1EC BPLHPTH W E VRam (UHRES) bitplane pointer (hi 5 bits)
DFF1EE BPLHPTL W E VRam (UHRES) bitplane pointer (lo 15 bits)
DFF1D6 BPLHSTOP W E UHRES bit plane vertical stop
DFF1D4 BPLHSTRT W E UHRES bit plane vertical start
DFF110 BPL1DAT W O Bitplane 1 data (parallel to serial convert)
DFF112 BPL2DAT W O Bitplane 2 data (parallel to serial convert)
DFF114 BPL3DAT W O Bitplane 3 data (parallel to serial convert)
DFF116 BPL4DAT W O Bitplane 4 data (parallel to serial convert)
DFF118 BPL5DAT W O Bitplane 5 data (parallel to serial convert)
DFF11A BPL6DAT W O Bitplane 6 data (parallel to serial convert)
DFF11C BPL7DAT W A Bitplane 7 data (parallel to serial convert)
DFF11E BPL8DAT W A Bitplane 8 data (parallel to serial convert)
DFF108 BPL1MOD W O Bitplane modulo (odd planes)
DFF10A BPL2MOD W O Bitplane modulo (even planes)
DFF0E0 BPL1PTH W O Bitplane pointer 1 (high 5 bits (OCS: 3 bits))
DFF0E2 BPL1PTL W O Bitplane pointer 1 (low 15 bits)
DFF0E4 BPL2PTH W O Bitplane pointer 2 (high 5 bits (OCS: 3 bits))
DFF0E6 BPL2PTL W O Bitplane pointer 2 (low 15 bits)
DFF0E8 BPL3PTH W O Bitplane pointer 3 (high 5 bits (OCS: 3 bits))
DFF0EA BPL3PTL W O Bitplane pointer 3 (low 15 bits)
DFF0EC BPL4PTH W O Bitplane pointer 4 (high 5 bits (OCS: 3 bits))
DFF0EE BPL4PTL W O Bitplane pointer 4 (low 15 bits)
DFF0F0 BPL5PTH W O Bitplane pointer 5 (high 5 bits (OCS: 3 bits))
DFF0F2 BPL5PTL W O Bitplane pointer 5 (low 15 bits)
DFF0F4 BPL6PTH W O Bitplane pointer 6 (high 5 bits (OCS: 3 bits))
DFF0F6 BPL6PTL W O Bitplane pointer 6 (low 15 bits)
DFF0F8 BPL7PTH W A Bitplane pointer 7 (high 5 bits (OCS: 3 bits))
DFF0FA BPL7PTL W A Bitplane pointer 7 (low 15 bits)
DFF0FC BPL8PTH W A Bitplane pointer 8 (high 5 bits (OCS: 3 bits))
DFF0FE BPL8PTL W A Bitplane pointer 8 (low 15 bits)
DFF098 CLXCON W O Collision control
DFF10E CLXCON2 W A Extended collision control
DFF00E CLXDAT R O Collision data reg. (read and clear)
DFF180 COLOR00 W O Color table 0, color of background & borders
DFF182 COLOR01 W O Color table 1
DFF184 COLOR02 W O Color table 2
DFF186 COLOR03 W O Color table 3
DFF188 COLOR04 W O Color table 4
DFF18A COLOR05 W O Color table 5
DFF18C COLOR06 W O Color table 6
DFF18E COLOR07 W O Color table 7
DFF190 COLOR08 W O Color table 8
DFF192 COLOR09 W O Color table 9
DFF194 COLOR10 W O Color table 10
DFF196 COLOR11 W O Color table 11
DFF198 COLOR12 W O Color table 12
DFF19A COLOR13 W O Color table 13
DFF19C COLOR14 W O Color table 14
DFF19E COLOR15 W O Color table 15
DFF1A0 COLOR16 W O Color table 16
DFF1A2 COLOR17 W O Color table 17, color #1 of sprite #0 & #1
DFF1A4 COLOR18 W O Color table 18, color #2 of sprite #0 & #1
DFF1A6 COLOR19 W O Color table 19, color #3 of sprite #0 & #1
DFF1A8 COLOR20 W O Color table 20
DFF1AA COLOR21 W O Color table 21, color #1 of sprite #2 & #3
DFF1AC COLOR22 W O Color table 22, color #2 of sprite #2 & #3
DFF1AE COLOR23 W O Color table 23, color #3 of sprite #2 & #3
DFF1B0 COLOR24 W O Color table 24
DFF1B2 COLOR25 W O Color table 25, color #1 of sprite #4 & #5
DFF1B4 COLOR26 W O Color table 26, color #2 of sprite #4 & #5
DFF1B6 COLOR27 W O Color table 27, color #3 of sprite #4 & #5
DFF1B8 COLOR28 W O Color table 28
DFF1BA COLOR29 W O Color table 29, color #1 of sprite #6 & #7
DFF1BC COLOR30 W O Color table 30, color #2 of sprite #6 & #7
DFF1BE COLOR31 W O Color table 31, color #3 of sprite #6 & #7
DFF080 COP1LCH W O Coprocessor 1st location (high 5 bits (OCS: 3 bits))
DFF082 COP1LCL W O Coprocessor 1st location (low 15 bits)
DFF084 COP2LCH W O Coprocessor 2nd location(high 5 bits (OCS: 3 bits))
DFF086 COP2LCL W O Coprocessor 2nd location (low 15 bits)
DFF02E COPCON W O Coprocessor control
DFF08C COPINS S O Coprocessor inst fetch identify
DFF088 COPJMP1 S O Coprocessor restart at 1st location
DFF08A COPJMP2 S O Coprocessor restart at 2nd location
DFF094 DDFSTOP W O Display bit plane data fetch stop,horiz pos
DFF092 DDFSTRT W O Display bit plane data fetch start,horiz pos
DFF07C DENISEID R E Chip revision level for Denise/Lisa (video out chip)
DFF1E4 DIWHIGH W E Display window - upper bits for start/stop
DFF090 DIWSTOP W O Display window stop (lower right vert,horiz pos)
DFF08E DIWSTRT W O Display window start (upper left vert,horiz pos)
DFF096 DMACON W O DMA control write (clear or set)
DFF002 DMACONR R O Dma control (and blitter status) read
DFF01A DSKBYTR R O Disk data byte and status read
DFF026 DSKDAT W O Disk DMA data write
DFF008 DSKDATR E O Disk data early read (dummy address)
DFF024 DSKLEN W O Disk length
DFF020 DSKPTH W O Disk pointer (high 5 bits (OCS: 3 bits))
DFF022 DSKPTL W O Disk pointer (low 15 bits)
DFF07E DSKSYNC W O Disk sync pattern reg for disk read
DFF1FC FMODE W A Fetch mode register
DFF1C6 HBSTOP W E Horizontal line position for HBLANK stop
DFF1C4 HBSTRT W E Horizontal line position for HBLANK start
DFF1E2 HCENTER W E Horizontal position for Vsync on interlace
DFF1DA HHPOSR R E DUAL mode hires H beam counter read
DFF1D8 HHPOSW W E DUAL mode hires H beam counter write
DFF1C2 HSSTOP W E Horizontal line position for HSYNC stop
DFF1DE HSSTRT W E Horizontal sync start (VARHSY)
DFF1C0 HTOTAL W E Highest number count, horiz line (VARBEAMEN=1)
DFF09A INTENA W O Interrupt enable bits (clear or set bits)
DFF01C INTENAR R O Interrupt enable bits read
DFF09C INTREQ W O Interrupt request bits (clear or set bits)
DFF01E INTREQR R O Interrupt request bits read
DFF00A JOY0DAT R O Joystick-mouse 0 data (vert, horiz)
DFF00C JOY1DAT R O Joystick-mouse 1 data (vert, horiz)
DFF036 JOYTEST W O Write to all 4 joystick-mouse counters at once
DFF1FE NO-OP R O No operation/NULL (Copper NOP instruction)
DFF012 POT0DAT R O Pot counter data left pair (vert, horiz)
DFF014 POT1DAT R O Pot counter data right pair (vert, horiz)
DFF034 POTGO W O Pot count start,pot pin drive enable data
DFF016 POTINP R O Pot pin data read
DFF028 REFPTR W O Refresh pointer
DFF030 SERDAT W O Serial port data and stop bits write
DFF018 SERDATR R O Serial port data and status read
DFF032 SERPER W O Serial port period and control
DFF078 SPRHDAT W E Ext. logic UHRES sprite pointer and data identifier
DFF1E8 SPRHPTH W E UHRES sprite pointer (high 5 bits)
DFF1EA SPRHPTL W E UHRES sprite pointer (low 15 bits)
DFF1D2 SPRHSTOP W E UHRES sprite vertical stop
DFF1D0 SPRHSTRT W E UHRES sprite vertical start
DFF142 SPR0CTL W O Sprite 0 position and control data
DFF14A SPR1CTL W O Sprite 1 position and control data
DFF152 SPR2CTL W O Sprite 2 position and control data
DFF15A SPR3CTL W O Sprite 3 position and control data
DFF162 SPR4CTL W O Sprite 4 position and control data
DFF16A SPR5CTL W O Sprite 5 position and control data
DFF172 SPR6CTL W O Sprite 6 position and control data
DFF17A SPR7CTL W O Sprite 7 position and control data
DFF144 SPR0DATA W O Sprite 0 image data register A
DFF146 SPR0DATB W O Sprite 0 image data register B
DFF14C SPR1DATA W O Sprite 1 image data register A
DFF14E SPR1DATB W O Sprite 1 image data register B
DFF154 SPR2DATA W O Sprite 2 image data register A
DFF156 SPR2DATB W O Sprite 2 image data register B
DFF15C SPR3DATA W O Sprite 3 image data register A
DFF15E SPR3DATB W O Sprite 3 image data register B
DFF164 SPR4DATA W O Sprite 4 image data register A
DFF166 SPR4DATB W O Sprite 4 image data register B
DFF16C SPR5DATA W O Sprite 5 image data register A
DFF16E SPR5DATB W O Sprite 5 image data register B
DFF174 SPR6DATA W O Sprite 6 image data register A
DFF176 SPR6DATB W O Sprite 6 image data register B
DFF17C SPR7DATA W O Sprite 7 image data register A
DFF17E SPR7DATB W O Sprite 7 image data register B
DFF140 SPR0POS W O Sprite 0 vert,horiz start pos data
DFF148 SPR1POS W O Sprite 1 vert,horiz start pos data
DFF150 SPR2POS W O Sprite 2 vert,horiz start pos data
DFF158 SPR3POS W O Sprite 3 vert,horiz start pos data
DFF160 SPR4POS W O Sprite 4 vert,horiz start pos data
DFF168 SPR5POS W O Sprite 5 vert,horiz start pos data
DFF170 SPR6POS W O Sprite 6 vert,horiz start pos data
DFF178 SPR7POS W O Sprite 7 vert,horiz start pos data
DFF120 SPR0PTH W O Sprite 0 pointer (high 5 bits (OCS: 3 bits))
DFF122 SPR0PTL W O Sprite 0 pointer (low 15 bits)
DFF124 SPR1PTH W O Sprite 1 pointer (high 5 bits (OCS: 3 bits))
DFF126 SPR1PTL W O Sprite 1 pointer (low 15 bits)
DFF128 SPR2PTH W O Sprite 2 pointer (high 5 bits (OCS: 3 bits))
DFF12A SPR2PTL W O Sprite 2 pointer (low 15 bits)
DFF12C SPR3PTH W O Sprite 3 pointer (high 5 bits (OCS: 3 bits))
DFF12E SPR3PTL W O Sprite 3 pointer (low 15 bits)
DFF130 SPR4PTH W O Sprite 4 pointer (high 5 bits (OCS: 3 bits))
DFF132 SPR4PTL W O Sprite 4 pointer (low 15 bits)
DFF134 SPR5PTH W O Sprite 5 pointer (high 5 bits (OCS: 3 bits))
DFF136 SPR5PTL W O Sprite 5 pointer (low 15 bits)
DFF138 SPR6PTH W O Sprite 6 pointer (high 5 bits (OCS: 3 bits))
DFF13A SPR6PTL W O Sprite 6 pointer (low 15 bits)
DFF13C SPR7PTH W O Sprite 7 pointer (high 5 bits (OCS: 3 bits))
DFF13E SPR7PTL W O Sprite 7 pointer (low 15 bits)
DFF038 STREQU S O Strobe for horiz sync with VB and EQU
DFF03C STRHOR S O Strobe for horiz sync
DFF03E STRLONG S O Strobe for identification of long horiz line
DFF03A STRVBL S O Strobe for horiz sync with VB (vert blank)
DFF1CE VBSTOP W E Vertical line for VBLANK stop
DFF1CC VBSTRT W E Vertical line for VBLANK start
DFF006 VHPOSR R O Read vert and horiz position of beam
DFF02C VHPOSW W O Write vert and horiz pos of beam
DFF004 VPOSR R O Read vertical most sig. bits (and frame flop)
DFF02A VPOSW W O Write vert most sig. bits (and frame flop)
DFF1E0 VSSTRT W E Vertical sync start (VARVSY)
DFF1CA VSSTOP W E Vertical line position for VSYNC stop
DFF1C8 VTOTAL W E Highest numbered vertical line (VARBEAMEN=1)
DFF068 RESERVED - -  
DFF06A RESERVED - -  
DFF06C RESERVED - -  
DFF06E RESERVED - -  
DFF076 RESERVED - -  
DFF0AC RESERVED - -  
DFF0AE RESERVED - -  
DFF0BC RESERVED - -  
DFF0BE RESERVED - -  
DFF0CC RESERVED - -  
DFF0CE RESERVED - -  
DFF1F0 RESERVED - -  
DFF1F2 RESERVED - -  
DFF1F4 RESERVED - -  
DFF1F6 RESERVED - -  
DFF1F8 RESERVED - -  
DFF1FA RESERVED - -  


Address Name Description
DFF010 ADKCONR Audio, Disk, UART Control Read
DFF09E ADKCON Audio, Disk, UART Control Write


Bit Function Description
15 SET/CLEAR Set/clear control bit.determines if bits
written with a 1 get set or cleared.bits
written with a zero are always unchanged.
14-13 PRECOMP 1-0 00 : none
01 : 140 ns
10 : 280 ns
11 : 560 ns
12 MFMPREC (1 = MFM precomp / 0 = GCR precomp)
11 UARTBRK Forces a UART break (clears TXD) if true
10 WORDSYNC Enables disk read synchronizing on a word
equal to DISK SYNC CODE, Located in
address DSKSYNC (7E).
09 MSBSYNC Enables disk read synchronizing on the
MSB (most significant bit) appl type GCR
08 FAST Disk data clock rate control :

1 : fast(2us)
0 : slow(4us)

(Fast for MFM or 2us,slow for 4us GCR)
07 USE3PN Use audio channel 3 to modulate nothing
06 USE2P3 Use audio channel 2 to modulate period of channel 3
05 USE1P2 Use audio channel 1 to modulate period of channel 2
04 USE0P1 Use audio channel 0 to modulate period of channel 1
03 USE3VN Use audio channel 3 to modulate nothing
02 USE2V3 Use audio channel 2 to modulate volume of channel 3
01 USE1V2 Use audio channel 1 to modulate volume of channel 2
00 USE0V1 Use audio channel 0 to modulate volume of channel 1

Note:
If both period and volume are modulated on the same channel,
the period and volume will be alternated. First AUDxDAT word
is used for V6-V0 of UDxVOL. Second AUDxDAT word is used for
P15-P0 of AUDxPER. This alternating sequence is repeated.



Back to the list
Address Name Description
DFF0AA AUD0DAT Audio Channel 0 data
DFF0BA AUD1DAT Audio Channel 1 data
DFF0CA AUD2DAT Audio Channel 2 data
DFF0DA AUD3DAT Audio Channel 3 data

This reg is the audio channel x (x=0,1,2,3) DMA data buffer. It
contains 2 bytes of data (each byte is a twos complement signed
integer) that are outputted sequentially (with digital to analog
conversion)to the audio output pins. With maximum volume, each
byte can drive the audio outputs with 0.8 volts (peak to peak,type).
The audio DMA channel controller automatically transfers data
to this reg from RAM. The processor can also write directly to
this reg. When the DMA data is finished (words outputted = length)
and the data in this reg has been used, an audio channel interrupt
request is set.

Back to the list
Address Name Description
DFF0A0 AUD0LCH Audio Channel 0 Location (high 5 bits (OCS: 3 bits))
DFF0A2 AUD0LCL Audio Channel 0 Location (low 15 bits)
DFF0B0 AUD1LCH Audio Channel 1 Location (high 5 bits (OCS: 3 bits))
DFF0B2 AUD1LCL Audio Channel 1 Location (low 15 bits)
DFF0C0 AUD2LCH Audio Channel 2 Location (high 5 bits (OCS: 3 bits))
DFF0C2 AUD2LCL Audio Channel 2 Location (low 15 bits)
DFF0D0 AUD3LCH Audio Channel 3 Location (high 5 bits (OCS: 3 bits))
DFF0D2 AUD3LCL Audio Channel 3 Location (low 15 bits)

This pair of registers contains the 20-bit (OCS: 18-bit) starting
address (location) of audio channel x (x = 0,1,2,3) DMA data.
This is not a pointer reg and therefore only needs to be
reloaded if a different memory location is to be outputted.

Back to the list
Address Name Description
DFF0A4 AUD0LEN Audio Channel 0 length
DFF0B4 AUD1LEN Audio Channel 1 length
DFF0C4 AUD2LEN Audio Channel 2 length
DFF0D4 AUD3LEN Audio Channel 3 length

This register contains the length (number of words) of audio
channel x DMA data.

Back to the list
Address Name Description
DFF0A6 AUD0PER Audio channel 0 period
DFF0B6 AUD1PER Audio channel 1 period
DFF0C6 AUD2PER Audio channel 2 period
DFF0D6 AUD3PER Audio channel 3 period

This reg contains the period (rate) of audio channel x DMA data
transfer. The minimum period is 124 clocks. This means that the
smallest number that should be placed in this reg is 124.

Back to the list
Address Name Description
DFF0A8 AUD0VOL Audio channel 0 volume
DFF0B8 AUD1VOL Audio channel 1 volume
DFF0C8 AUD2VOL Audio channel 2 volume
DFF0D8 AUD3VOL Audio channel 3 volume

This reg contains the volume setting for audio channel x.
Bits 6,5,4,3,2,1,0 specify 65 linear volume levels as shown below.

Bit Function
15-07 Not used
06 Forces volume to max (64 ones, no zeros)
05-00 Sets one of the 64 levels (000000 = no output,
111111 = 63 ones, one zero)

Back to the list
Address Name Description
DFF1DC BEAMCON0 Beam Counter Control Bits


Bit Function
15 Unused
14 HARDDIS
13 LPENDIS
12 VARVBEN
11 LOLDIS
10 CSCBEN
9 VARVSYEN
8 VARHSYEN
7 VARBEAMEN
6 DUAL
5 PAL
4 VARCSYEN
3 (unused, formerly BLANKEN)
2 CSYTRUE
1 VSYTRUE
0 HSYTRUE

HARDDIS
This bit is used to disable the hardwired vertical horizontal
window limits. It is cleared upon reset.

LPENDIS
When this bit is a low and LPE (BPLCON0, bit 3) is enabled, the
light-pen latched value(beam hit position) will be read by
VHPOSR, VPOSR and HHPOSR. When the bit is a high the light-pen
latched value is ignored and the actual beam counter position is
read by VHPOSR, VPOSR, and HHPOSR.

VARVBEN
Use the comparator generated vertical blank (from VBSTRT, VBSTOP)
to run the internal chip stuff-sending RGA signals to Denise,
starting sprites,resetting light pen. It also disables the hard
stop on the vertical display window.

LOLDIS
Disable long line/short toggle. This is useful for DUAL mode
where even multiples are wanted, or in any single display
where this toggling is not desired.

CSCBEN
The variable composite sync comes out on the HSY pin, and the
variable composite blank comes out on the VSY pin. The idea is
to allow all the information to come out of the chip for a
DUAL mode display. The normal monitor uses the normal composite
sync, and the variable composite sync &blank come out the HSY &
VSY pins. The bits VARVSTEN & VARHSYEN (below) have priority over
this control bit.

VARVSYEN
Comparator VSY -> VSY pin. The variable VSY is set vertically on
VSSTRT, reset vertically on VSSTOP, with the horizontal position
for set set & reset HSSTRT on short fields (all fields are short
if LACE = 0) and HCENTER on long fields (every other field if LACE = 1).

VARHSYEN
Comparator HSY -> HSY pin. Set on HSSTRT value, reset on HSSTOP value.

VARBEAMEN
Enables the variable beam counter comparators to operate
(allowing different beam counter total values) on the main horiz
counter. It also disables hard display stops on both horizontal
and vertical.

DUAL
Run the horizontal comparators with the alternate horizontal beam
counter, and starts the UHRES pointer chain with the reset of
this counter rather than the normal one. This allows the UHRES
pointers to come out more than once in a horizontal line,
assuming there is some memory bandwidth left (it doesn't work in
640*400*4 interlace mode) also, to keep the two displays synced,
the horizontal line lengths should be multiples of each other.
If you are amazingly clever, you might not need to do this.

PAL
Set appropriate decodes (in normal mode) for PAL. In variable
beam counter mode this bit disables the long line/short line
toggle- ends up short line.

VARCSYEN
Enables CSY from the variable decoders to come out the CSY
(VARCSY is set on HSSTRT match always, and also on HCENTER
match when in vertical sync. It is reset on HSSTOP match when VSY
and on both HBSTRT & HBSTOP matches during VSY. A reasonable
composite can be generated by setting HCENTER half a horizontal line
from HSSTRT, and HBSTOP at (HSSTOP-HSSTRT) before HCENTER, with
HBSTRT at ( HSSTOP-HSSTRT) before HSSTRT.

HSYTRUE, VSYTRUE, CSYTRUE
These change the polarity of the HSY*, VSY*, & CSY* pins
to HSY, VSY, & CSY respectively for input and output.

Hcenter HSSTRT VBSTRT/VBSTOP

Back to the list
Address Name Description
DFF044 BLTAFWM Blitter first word mask for source A
DFF046 BLTALWM Blitter last word mask for source A

The patterns in the two registers are "anded" with the first and
last words of each line of data from Source A into the Blitter.
A zero in any bit overrides data from Source A. These registers
should be set to all "ones" for fill mode or for line drawing mode.

Back to the list
Address Name Description
DFF040 BLTCON0 Blitter control register 0
DFF042 BLTCON1 Blitter control register 0
(lower 8 bits) This is to speed up software - the upper bits are often the same.
DFF05A BLTCON0L Pot pin data read

These two control registers are used together to control blitter
operations. There are 2 basic modes, are and line, which are
selected by bit 0 of BLTCON1, as show below.

AREA MODE LINE MODE
Bit BLTCON0 BLTCON1 Bit BLTCON0 BLTCON1
15 ASH3 BSH3 15 ASH3 BSH3
14 ASH2 BSH2 14 ASH2 BSH2
13 ASH1 BSH1 13 ASH1 BSH1
12 ASA0 BSH0 12 ASH0 BSH0
11 USEA 0 11 1 0
10 USEB 0 10 0 0
09 USEC 0 09 1 0
08 USED 0 08 1 0
07 LF7 DOFF 07 LF7 DPFF
06 LF6 0 06 LF6 SIGN
05 LF5 0 05 LF5 OVF
04 LF4 EFE 04 LF4 SUD
03 LF3 IFE 03 LF3 SUL
02 LF2 FCI 02 LF2 AUL
01 LF1 DESC 01 LF1 SING
00 LF0 LINE(=0) 00 LF0 LINE(=1)


Function Description
ASH3-0 Shift value of A source
BSH3-0 Shift value of B source and line texture
USEA Mode control bit to use source A
USEB Mode control bit to use source B
USEC Mode control bit to use source C
USED Mode control bit to use destination D
LF7-0 Logic function minterm select lines
EFE Exclusive fill enable
IFE Inclusive fill enable
FCI Fill carry input
DESC Descending (dec address) control bit
LINE Line mode control bit
SIGN Line draw sign flag
OVF Line/draw r/l word overflow flag
SUD Line draw, Sometimes up or down (=AUD)
SUL Line draw, Sometimes up or left
AUL Line draw, Always up or left
SING Line draw, Single bit per horiz line
DOFF Disables the D output- for external ALUs
The cycle occurs normally, but the data
bus is tristate (hires chips only)

Back to the list
Address Name Description
DFF000 BLTDDAT Blitter destination data register

This register holds the data resulting from each word of Blitter
operation until it is sent to a RAM destination. This is a dummy
address and cannot be read by the microprocessor. The transfer is
automatic during Blitter operation.

Back to the list
Address Name Description
DFF058 BLTSIZE Blitter start and size (width, height)

This register contains the width and height of the blitter operation
(in line mode width must = 2, height = line length). Writing
to this register will start the Blitter, and should be done last,
after all pointers and control registers have been initialized.

Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
  H9 H8 H7 H6 H5 H4 H3 H2 H1 H0 W5 W4 W3 W2 W1 W0

H = Height = Vertical lines (10 bits = 1024 lines max)
W = Width = Horiz pixels (6 bits = 64 words = 1024 pixels max)

Back to the list
Address Name Description
DFF05E BLTSIZH Blitter horizontal size & start (11 bit width)


Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
  0 0 0 0 0 W10 W9 W8 W7 W6 W5 W4 W3 W2 W1 W0

Back to the list
Address Name Description
DFF05C BLTSIZV Blitter vertical size (15 bit height)


Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
  0 H14 H13 H12 H11 H10 H9 H8 H7 H6 H5 H4 H3 H2 H1 H0

These are the blitter size regs for blits larger than the earlier
chips could accept. The original commands are retained for
compatibility. BLTSIZV should be written first, followed by BLTSIZH,
which starts the blitter. BLTSIZV need not be rewritten for
subsequent bits if the vertical size is the same.
Max size of blit 32k pixels * 32k lines.

Back to the list
Address Name Description
DFF070 BLTCDAT Blitter source C data register
DFF072 BLTBDAT Blitter source B data register
DFF074 BLTADAT Blitter source A data register

This register hold Source x (x=A,B,C) data for use by the Blitter.
It is normally loaded by the Blitter DMA channel, however it may
also be preloaded by the microprocessor.

Back to the list
Address Name Description
DFF060 BLTCMOD Blitter modulo for source C
DFF062 BLTBMOD Blitter modulo for source B
DFF064 BLTAMOD Blitter modulo for source A
DFF066 BLTDMOD Blitter modulo for destination D

This register contains the Modulo for Blitter source (x=A,B,C) or
Dest (x=D). A modulo is a number that is automatically added to the
address at the end of each line, in order that the address then
points to the start of the next line. Each source or destination has
it's own Modulo, allowing each to be different in size, while an
identical area of each is used in the Blitter operation.

Back to the list
Address Name Description
DFF048 BLTCPTH Blitter pointer to source C (high 5 bits (OCS: 3 bits))
DFF04A BLTCPTL Blitter pointer to source C (low 15 bits)
DFF04C BLTBPTH Blitter pointer to source B (high 5 bits (OCS: 3 bits))
DFF04E BLTBPTL Blitter pointer to source B (low 15 bits)
DFF050 BLTAPTH Blitter pointer to source A (high 5 bits (OCS: 3 bits))
DFF052 BLTAPTL Blitter pointer to source A (low 15 bits)
DFF054 BLTDPTH Blitter pointer to destination D (high 5 bits (OCS: 3 bits))
DFF056 BLTDPTL Blitter pointer to destination D (low 15 bits)

This pair of registers contains the 20-bit (OCS: 18-bit) address of Blitter source
(x=A,B,C) or dest. (x=D) DMA data. This pointer must be preloaded
with the starting address of the data to be processed by the blitter.
After the Blitter is finished, it will contain the last data address
(plus increment and modulo).

Back to the list
Address Name Description
DFF100 BPLCON0 Bit Plane Control Register 0 (misc, control bits)


Bit Function Description
15 HIRES HIRES = High resolution (640*200/640*400 interlace)
mode
14-12 BPUx Bit planes use
11 HAM Hold and modify mode, now using either 6 or 8 bit
planes.
10 DPF Double playfield (PF1 = odd & PF2 = even bit planes)
now available in all resolutions.
(If BPU = 6 and HAM = 0 and DPF = 0 a special mode is
defined that allows bitplane 6 to cause an intensity
reduction of the other 5 bitplanes. The color
register output selected by 5 bitplanes is shifted
to half intensity by the 6th bit plane. This is
called EXTRA-HALFBRITE Mode.
09 COLOR Enables color burst output signal
08 GAUD Genlock audio enable. This level appears on the ZD
pin on denise during all blanking periods, unless ZDCLK
bit is set.
07 UHRES Ultrahi res enables the UHRES pointers (for 1k*1k) also
needs bits in DMACON (hires chips only).
Disables hard stops for vert, horiz display windows.
06 SHRES Super hi-res mode (35ns pixel width)
05 BYPASS=0 Bit planes are scrolled and prioritized normally, but
bypass color table and 8 bit wide data appear on R(7:0).
04 BPU3=0 See above (BPUx)
03 LPEN Light pen enable (reset on power up)
02 LACE Interlace enable (reset on power up)
01 ERSY External resync (HSYNC, VSYNC pads become inputs)
(reset on power up)
00 ECSENA=0 When low (default), the following bits in BPLCON3 are
disabled: BRDRBLNK,BRDNTRAN,ZDCLKEN,BRDSPRT, and
EXTBLKEN. These 5 bits can always be set by writing
to BPLCON3, however there effects are inhibited until
ECSENA goes high. This allows rapid context switching
between pre-ECS viewports and new ones.

BEAMCON0 VTOTAL/VSSTOP

Back to the list
Address Name Description
DFF102 BPLCON1 Bit Plane Control Register (horizontal, scroll counter)


Bit Function Description
15 PF2H7 (PF2Hx =) Playfield 2 horizontal scroll code, x=0-7
14 PF2H6  
13 PF2H1  
12 PF2H0  
11 PF1H7 (PF1Hx =) Playfield 1 horizontal scroll code, x=0-7
where PFyH0 = LSB = 35ns SHRES pixel (bits have been
renamed, old PFyH0 now PFyH2, etc). Now that the scroll
range has been quadrupled to allow for wider
(32 or 64 bits) bitplanes.
10 PF1H6  
09 PF1H1  
08 PF1H0  
07 PF2H5 OCS/ECS
06 PF2H4  
05 PF2H3  
04 PF2H2  
03 PF1H5  
02 PF1H4  
01 PF1H3  
00 PF1H2  

Back to the list
Address Name Description
DFF104 BPLCON2 Bit Plane Control Register (new control bits)


Bit Function Description
15 x don`t care- but drive to 0 for upward compatibility
14 ZDBPSEL2 3 bit field which selects which bitplane is to be used
for ZD when ZDBBPEN is set- 000 selects BB1 and 111
selects BP8.
13 ZDBPSEL1  
12 ZDBPSEL0  
11 ZDBPEN Causes ZD pin to mirror bitplane selected by ZDBPSELx
bits. This does not disable the ZD mode defined by
ZDCTEN, but rather is "ored" with it.
10 ZDCTEN Causes ZD pin to mirror bit #15 of the active entry in
high color table. When ZDCTEN is reset ZD reverts to
mirroring color (0).
09 KILLEHB Disables extra halfbrite mode.
08 RDRAM=0 Causes color table address to read the color table
instead of writing to it.
07 SOGEN=0 When set causes SOG output pin to go high
06 PF2PRI Gives playfield 2 priority over playfield 1.
05 PF2P2 Playfield 2 priority code (with resp. to sprites).
04 PF2P1  
03 PF2P0  
02 PF1P2 Playfield 1 priority code (with resp. to sprites).
01 PF1P1  
00 PF1P0  

Back to the list
Address Name Description
DFF106 BPLCON3 Bit Plane Control Register (enhanced bits)


Bit Function Description
15-13 BANKx Selects one of eight color banks, x = 0-2.
12-10 PF2OFx Determine bit plane color table offset when playfield 2
has priority in dual playfield mode :

000 : none
001 : 2 (plane 2 affected)
010 : 4 (plane 3 affected)
011 : 8 (plane 3 affected) (default)
100 : 16 (plane 5 affected)
101 : 32 (plane 6 affected)
110 : 64 (plane 7 affected)
111 : 128 (plane 8 affected)
09 LOCT=0 Dictates that subsequent color palette values will be
written to a second 12-bit color palette, constituting
the RGB low minus order bits. Writes to the normal hi
minus order color palette automattically copied to the
low order for backwards compatibility.
08 x Don`t care but drive to 0 for upward compatibility
07-06 SPRESx=0 Determine resolution of all 8 sprites (x = 0,1):

00 : ECS defaults (LORES, HIRES=140ns, SHRES=70ns)
01 : LORES (140ns)
10 : HIRES (70ns)
11 : SHRES (35ns)
05 BRDRBLNK=0 "Border area" is blanked instead of color (0).
Disabled when ECSENA low.
04 BRDNTRAN=0 "Border area" is non minus transparant (ZD pin is low
when border is displayed). Disabled when ECSENA low.
03 x Don`t care but drive to 0 for upward compatibility
02 ZDCLKEN=0 ZD pin outputs a 14 MHz clock whose falling edge
coincides with hires (7 MHz) video data. this bit when
set disables all other ZD functions.
Disabled when ESCENA low.
01 BRDSPRT=0 Enables sprites outside the display window.
disabled when ESCENA low.
00 EXTBLKEN=0 Causes BLANK output to be programmable instead of
reflecting internal fixed decodes.
Disabled when ESCENA low.

Back to the list
Address Name Description
DFF10C BPLCON4 Bit Plane Control Register (display masks)


Bit Function Description
15-08 BPLAMx=0 This 8 bit field is XOR`ed with the 8 bit plane color
address, thereby altering the color address sent to the
color table. Default value is 00000000 binary. (x=0-7)
07-04 ESPRMx=1 4 Bit field provides the 4 high order color table address
bits for even sprites: SPR0,SPR2,SPR4,SPR6. Default value
is 0001 binary. (x=7-4)
03-00 OSPRM7=1 4 Bit field provides the 4 high order color table address
bits for odd sprites: SPR1,SPR3,SPR5,SPR7. Default value
is 0001 binary. (x=7-4)

Back to the list
Address Name Description
DFF07A BPLHDAT Ext. logic UHRES bit plane identifier
DFF1E6 BPLHMOD UHRES bit plane modulo

This is the number (sign extended) that is added to the UHRES bitplane
pointer (BPLHPTx) every line, and then another 2 is added,
just like the other modulos.

BPLHPTH/BPLHPTL

Back to the list
Address Name Description
DFF1EC BPLHPTH UHRES (VRAM) bit plane pointer (high 5 bits)
DFF1EE BPLHPTL UHRES (VRAM) bit plane pointer (low 15 bits)

When UHRES is enabled, this pointer comes out on the 2nd 'free' cycle
after the start of each horizontal line. It's modulo is added every
time it comes out. 'free' means priority above the copper and below
the fixed stuff (audio,sprites....).
BPLHDAT comes out as an identifier on the RGA lines when the pointer
address is valid so that external detectors can use this to do the
special cycle for the VRAMs, The SPRHDAT gets the first and third
free cycles.

BPLHDAT/BPLHMOD BPLHSTRT SPRHPTH/SPRHPTL

Back to the list
Address Name Description
DFF1D6 BPLHSTOP UHRES bit plane vertical stop


Bit Name
15 BPLHWRM
14-11 Unused
10-0 V10-V0

BPLHWRM = Swaps the polarity of ARW* when the BPLHDAT comes out so
that external devices can detect the RGA and put things into memory
(ECS and later versions).

Back to the list
Address Name Description
DFF1D4 BLTHSTRT UHRES bit plane vertical stop

This controls the line when the data fetch starts for the BPLHPTx
pointers. V10-V0 on DB10-0.

Back to the list
Address Name Description
DFF110 BPL1DAT Bit plane 1 data (parallel to serial convert)
DFF112 BPL2DAT Bit plane 2 data (parallel to serial convert)
DFF114 BPL3DAT Bit plane 3 data (parallel to serial convert)
DFF116 BPL4DAT Bit plane 4 data (parallel to serial convert)
DFF118 BPL5DAT Bit plane 5 data (parallel to serial convert)
DFF11A BPL6DAT Bit plane 6 data (parallel to serial convert)
DFF11C BPL7DAT Bit plane 7 data (parallel to serial convert)
DFF11E BPL8DAT Bit plane 8 data (parallel to serial convert)

These registers receive the DMA data fetched from RAM by the bit
plane address pointers described above. They may also be rewritten
by either micro. They act as an 8 word parallel to serial buffer
for up to 8 memory 'bit planes'. x=1-8 the parallel to serial
conversion ID triggered whenever bitplane #1 is written, inducing
the completion of all bit planes for that word (16/32/64 pixels).
The MSB is output first, and is therefore always on the left.

Back to the list
Address Name Description
DFF108 BPL1MOD Bit plane modulo (odd planes)
DFF10A BPL2MOD Bit plane modulo (even planes)

These registers contain the modulos for the odd and even bit planes.
A modulo is a number that is automatically added to the address at
the end of each line, in order that the address then points to the
start of the next line. Since they have separate modulos, the odd
and even bit planes may have sizes that are different from each
other, as well as different from the display window size.

If scan-doubling is enabled, BPL1MOD serves as the primary bitplane
modulos and BPL2MOD serves as the alternate. Lines whose LSBs of
beam counter and DIWSTRT match are designated primary, whereas lines
whose LSBs don`t match are designated alternate.

Back to the list
Address Name Description
DFF0E0 BPL1PTH Bit plane 1 pointer (high 5 bits (OCS: 3 bits))
DFF0E2 BPL1PTL Bit plane 1 pointer (low 15 bits)
DFF0E4 BPL2PTH Bit plane 2 pointer (high 5 bits (OCS: 3 bits))
DFF0E6 BPL2PTL Bit plane 2 pointer (low 15 bits)
DFF0E8 BPL3PTH Bit plane 3 pointer (high 5 bits (OCS: 3 bits))
DFF0EA BPL3PTL Bit plane 3 pointer (low 15 bits)
DFF0EC BPL4PTH Bit plane 4 pointer (high 5 bits (OCS: 3 bits))
DFF0EE BPL4PTL Bit plane 4 pointer (low 15 bits)
DFF0F0 BPL5PTH Bit plane 5 pointer (high 5 bits (OCS: 3 bits))
DFF0F2 BPL5PTL Bit plane 5 pointer (low 15 bits)
DFF0F4 BPL6PTH Bit plane 6 pointer (high 5 bits (OCS: 3 bits))
DFF0F6 BPL6PTL Bit plane 6 pointer (low 15 bits)
DFF0F8 BPL7PTH Bit plane 7 pointer (high 5 bits (OCS: 3 bits))
DFF0FA BPL7PTL Bit plane 7 pointer (low 15 bits)
DFF0FC BPL8PTH Bit plane 8 pointer (high 5 bits (OCS: 3 bits))
DFF0FE BPL8PTL Bit plane 8 pointer (low 15 bits)

Address of bit plane DMA data. These pointers
must be reinitialized by the processor or coprocessor to point
in the beginning of bit plane date very vertical blank time.

Back to the list
Address Name Description
DFF098 CLXCON Collision control

This register controls which bitplanes are included (enabled) in
collision detection, and their required state if included. It also
controls the individual inclusion of odd numbered sprites in the
collision detection, by logically ORing them with their correspond-
ing even numbered sprite. Writing to this register resets the bits
in CLXCON2.

Bit Function Description
15 ENSP7 Enable Sprite 7 (ORed with Sprite 6)
14 ENSP5 Enable Sprite 5 (ORed with Sprite 4)
13 ENSP3 Enable Sprite 3 (ORed with Sprite 2)
12 ENSP1 Enable Sprite 1 (ORed with Sprite 0)
11 ENSP6 Enable bit plane 6 (match reqd. for collision)
10 ENSP5 Enable bit plane 5 (match reqd. for collision)
09 ENSP4 Enable bit plane 4 (match reqd. for collision)
08 ENSP3 Enable bit plane 3 (match reqd. for collision)
07 ENSP2 Enable bit plane 2 (match reqd. for collision)
06 ENSP1 Enable bit plane 1 (match reqd. for collision)
05 ENSP6 Match value for bit plane 6 collision
04 ENSP5 Match value for bit plane 5 collision
03 ENSP4 Match value for bit plane 4 collision
02 ENSP3 Match value for bit plane 3 collision
01 ENSP2 Match value for bit plane 2 collision
00 ENSP1 Match value for bit plane 1 collision

CLXCON2

Back to the list
Address Name Description
DFF10E CLXCON2 Extended Collision Control

This reg controls when bit planes 7 and 8 are included in collision
detection, and there required state if included. Contents of this
register are reset by a write to CLXCON.

*BITS INITIALIZED BY RESET*

Bit Function Description
15-08   Unused
07 ENBP8 Enable bit plane 8 (match reqd. for collision)
06 ENBP7 Enable bit plane 7 (match reqd. for collision)
05-02   Unused
01 MVBP8 Match value for bit plane 8 collision
00 MVBP7 Match value for bit plane 7 collision

Note:
Disable bit planes cannot prevent collisions. Therefore if all
bitplanes are disabled, collision will be continuous, regardless
of the match values.

CLXCON

Back to the list
Address Name Description
DFF00E CLXDAT Collision detection register (read and clear)

This address reads (and clears) the collision detection reg.
The bit assignments are :

Note:
Playfield 1 is all odd numbered enabled bit planes.
Playfield 2 is all even numbered enabled bit planes.

Bit Collision registered
15 Not used
14 Sprite 4 (or 5) to Sprite 6 (or 7)
13 Sprite 2 (or 3) to Sprite 6 (or 7)
12 Sprite 2 (or 3) to Sprite 4 (or 5)
11 Sprite 0 (or 1) to Sprite 6 (or 7)
10 Sprite 0 (or 1) to Sprite 4 (or 5)
09 Sprite 0 (or 1) to Sprite 2 (or 3)
08 Playfield 2 to Sprite 6 (or 7)
07 Playfield 2 to Sprite 4 (or 5)
06 Playfield 2 to Sprite 2 (or 3)
05 Playfield 2 to Sprite 0 (or 1)
04 Playfield 1 to Sprite 6 (or 7)
03 Playfield 1 to Sprite 4 (or 5)
02 Playfield 1 to Sprite 2 (or 3)
01 Playfield 1 to Sprite 0 (or 1)
00 Playfield 1 to Playfield 2

Back to the list
Address Name Description
DFF180 - DFF1BE COLORxx Color table 0 to 31

There are 32 of these registers (xx = 00-31) and together with the banking
bits they address the 256 locations in the color palette. There are
actually two sets of color regs, selection of which is controlled by
the LOCT reg bit. When LOCT = 0 the 4 MSB of red, green and blue
video data are selected along with the T bit for genlocks the low
order set of registers is also selected as well, so that the 4 bits-
values are automatically extended to 8 bits.This provides
compatibility with old software. If the full range of palette values
are desired, then LOCT can be set high and independent values for
the 4 LSB of red, green and blue can be written. The low order
color registers do not contain a transparency (T) bit.

The table below shows the color register bit usage.

Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
LOCT=0 T 0 0 0 R7 R6 R5 R4 G7 G6 G5 G4 B7 B6 B5 B4
LOCT=1 0 0 0 0 R3 R2 R1 R0 G3 G2 G1 G0 B3 B2 B1 B0

T = TRANSPARENCY,
R = RED,
G = GREEN,
B = BLUE

T bit of COLOR00 thru COLOR31 sets ZD_pin HI, When that color is
selected in all video modes.

Back to the list
Address Name Description
DFF080 COP1LCH Coprocessor first location register (high 5 bits (OCS: 3 bits))
DFF082 COP1LCL Coprocessor first location register (low 15 bits)

These registers contain a jump address.
See COPINS for a complete description.

Back to the list
Address Name Description
DFF084 COP2LCH Coprocessor second location register (high 5 bits (OCS: 3 bits))
DFF086 COP2LCL Coprocessor second location register (low 15 bits)

These registers contain a jump address.
See COPINS for a complete description.

Back to the list
Address Name Description
DFF02E COPCON Coprocessor control register

This is a-1 bit register that when set true, allows the coprocessor
to access the blitter hardware. This bit is cleared power on reset,
so that the coprocessor cannot access the blitter hardware.

BIT# NAME FUNCTION
01 CDANG Coprocessor danger mode. Allows coprocessor
access to all RGA registers if true.
(if 0, access to RGA>DFF07E)
(On old chips access to only RGA>DFF03E if CDANG=1)
(see VPOSR)

Back to the list
Address Name Description
DFF08C COPINS Coprocessor instruction fetch identity

This is a dummy address that is generated by the coprocessor whenever
it is loading instructions into its own instruction register.
This actually occurs every coprocessor cycle except for the second
(IR2) cycle of the MOVE instruction. The three types of instructions
are shown below.

MOVE Move immediate to dest
WAIT Wait until beam counter is equal to, or greater than.
(Keeps coprocessor off of bus until beam position has
been reached)
SKIP Skip if beam counter is equal to, or greater than.
(Skips following MOVE inst. unless beam position has been
reached)


  MOVE WAIT UNTIL SKIP IF
Bit IR1 IR2 IR1 IR2 IR1 IR2
15 0 RD15 VP7 BFD VP7 BFD
14 0 RD14 VP6 VE6 VP6 VE6
13 0 RD13 VP5 VE5 VP5 VE5
12 0 RD12 VP4 VE4 VP4 VE4
11 0 RD11 VP3 VE3 VP3 VE3
10 0 RD10 VP2 VE2 VP2 VE2
09 0 RD09 VP1 VE1 VP1 VE1
08 DA8 RD08 VP0 VE0 VP0 VE0
07 DA7 RD07 HP8 HE8 HP8 HE8
06 DA6 RD06 HP7 HE7 HP7 HE7
05 DA5 RD05 HP6 HE6 HP6 HE6
04 DA4 RD04 HP5 HE5 HP5 HE5
03 DA3 RD03 HP4 HE4 HP4 HE4
02 DA2 RD02 HP3 HE3 HP3 HE3
01 DA1 RD01 HP2 HE2 HP2 HE2
00 0 RD00 1 0 1 1


IR1 First instruction register
IR2 Second instruction register
DA Destination address for MOVE instruction.Fetched during
IR1 time,used during IR2 time on RGA bus
RD RAM Data moved by MOVE instruction at IR2 time
directly from RAM to the address given by the DA field
VP Vertical beam position comparison bit
HP Horizontal beam position comparison bit
VE Enable comparison (mask bit)
HE Enable comparison (mask bit)

Note:
BFD = Blitter finished disable. When this bit is true, the blitter
finished flag will have no effect on the coprocessor. When this
bit is zero the blitter finished flag must be true (in addition
to the rest of the bit comparisons) before the coprocessor can
exit from it`s wait state, or skip over an instruction. Note
that the V7 comparison cannot be masked.

The coprocessor is basically a 2 cycle machine that requests
the bus only during odd memory cycles. (4 memory cycles per in)

It has priority over the blitter and microprocessor.

There are only three types of instructions, MOVE immediate,
WAIT UNTIL, and SKIP IF. All instructions require 2 bus cycles
(and two instruction words). Since only the odd bus cycles are
requested, 4 memory cycle times are required per instruction.
(memory cycles are 280 ns).

There are two indirect jump registers COP1LC and COP2LC.
These are 20 bit pointer registers whose contents are used to modify
program counter for initialization or jumps.

They are transfered to the program counter whenever strobe address
COPJMP1 or COPJMP2 are written. In addition COP1LC is automatically
used at the beginning of each vertical blank time.

It is important that one of the jump registers be initialized and it`s
jump strobe address hit, after power up but before coprocessor DMA is
initialized. This insures a determined startup address, and state.

COP1LCH/COP1LCL COP2LCH/COP2LCL

Back to the list
Address Name Description
DFF088 COPJMP1 Coprocessor restart at first location
DFF08A COPJMP2 Coprocessor restart at second location

These address are strobe address, that when written to cause the
coprocessor to jump indirect using the address contained in the
first or second location regs described below. The coprocessor itself
can write to these address, causing it`s own jump indirect.

Back to the list
Address Name Description
DFF092 DDFSTRT Display data fetch start (horizontal position)
DFF094 DDFSTOP Display data fetch stop (horizontal position)

These registers control the horizontal timing of the beginning and
end of the bit plane DMA timing display data fetch. The vertical bit
plane DMA timing is identical to the display windows described above.
The bit plane Modulos are dependent on the bit plane horizontal size,
and on this data fetch window size.

Register bit assignment :

Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
  0 0 0 0 0 0 0 0 H8 H7 H6 H5 H4 H3 H2 0

The tables below show the start and stop timing for different register contents

DDFSTRT (Left edge of display data fetch) :

PURPOSE H8 H7 H6 H5 H4
Extra wide (max) 0 0 1 0 1
wide 0 0 1 1 0
normal 0 0 1 1 1
narrow 0 1 0 0 0

DDFSTOP (Right edge of display data fetch) :

PURPOSE H8 H7 H6 H5 H4
narrow 1 1 0 0 1
normal 1 1 0 1 0
wide (max) 1 1 0 1 1

Note that these numbers will vary with variable beam counter mode
set: (The maxes and mins, that is).

Back to the list
Address Name Description
DFF07C DENISEID Denise/Lisa (video out chip) revision level

The original Denise (8362) does not have this register, so whatever
value is left over on the bus from the last cycle will be there.
ECS Denise (8373) returns hex (fc) in the lower 8 bits.Lisa returns
hex (f8). The upper 8 bits of this Register are loaded from the
serial mouse bus, and are reserved for future hardware implentation.

The 8 low-order bits are encoded as follows :

Bit Description
7-4 Lisa/Denise/ECS Denise Revision level(decrement to
bump revision level, hex F represents 0th rev. level).
3 Maintain as a 1 for future generation
2 When low indicates AA feature set (LISA)
1 When low indicates ECS feature set (LISA or ECS DENISE)
0 Maintain as a 1 for future generation

A proposed way to detect chip's revision through hardware poking :

is_AGA:
    move.w 0xdff07c,d0    
    moveq  #31-1,d2
    and.w  #0xff,d0
check_loop:
    move.w 0xdff07C,d1
    and.w  #0xff,d1
    cmp.b  d0,d1
    bne.b  not_AGA
    dbf    d2,check_loop
    or.b   #0xf0,d0
    cmp.b  #0xf8,d0
    bne.b  not_AGA
    moveq  #1,d0
    rts
not_AGA:
    moveq  #0,d0
    rts
			


Back to the list
Address Name Description
DFF1E4 DIWHIGH Display window upper bits for start, stop

This is an added register for Hires chips, and allows larger start
& stop ranges. If it is not written, (DIWSTRT, DIWSTOP)
description holds. If this register is written, direct start & stop
positions anywhere on the screen. It doesn't affect the UHRES
pointers.

Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
  0 0 H10 H1 H0 V10 V9 V8 0 0 H10 H1 H0 V10 V9 V8
  (stop) (start)

H1 and H0 values define 70ns and 35ns increments respectively, and new LISA bits.

Note:
In all 3 display window registers, horizontal bit positions have been
renamed to reflect HIRES pixel increments, e.g. what used to be
called H0 is now referred to as H2.

DIWSTRT/DIWSTOP

Back to the list
Address Name Description
DFF08E DIWSTRT Display window start (upper left vertical-horizontal position)
DFF090 DIWSTOP Display window stop (lower right vertical-horizontal position)

These registers control the display window size and position,
by locating the upper left and lower right corners.

Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
  V7 V6 V5 V4 V3 V2 V1 V0 H9 H8 H7 H6 H5 H4 H3 H2

DIWSTRT is vertically restricted to the upper 2/3 of the display (V8=0),
and horizontally restricted to the left 3/4 of the display (H8=0).

See DIWHIGH for exceptions.

DIWHIGH

Back to the list
Address Name Description
DFF002 DMACONR DMA Control (and blitter status) read
DFF096 DMACON DMA Control write (clear or set)

This register controls all of the DMA channels, and contains
blitter DMA status bits.

Bit Function Description
15 SET/CLR Set/Clear control bit. Determines if bits
written with a 1 get set or cleared
Bits written with a zero are unchanged
14 BBUSY Blitter busy status bit (read only)
13 BZERO Blitter logic zero status bit (read only)
12 X  
11 X  
10 BLTPRI Blitter DMA priority (over CPU micro)
(also called "blitter nasty")
(disables /BLS pin, preventing micro
from stealing any bus cycles while
blitter DMA is running)
09 DMAEN Enable all DMA below (also UHRES DMA)
08 BPLEN Bit plane DMA enable
07 COPEN Coprocessor DMA enable
06 BLTEN Blitter DMA enable
05 SPREN Sprite DMA enable
04 DSKEN Disk DMA enable
03 AUD3EN Audio channel 3 DMA enable
02 AUD2EN Audio channel 2 DMA enable
01 AUD1EN Audio channel 1 DMA enable
00 AUD0EN Audio channel 0 DMA enable

Back to the list
Address Name Description
DFF01A DSKBYTR Disk data byte and status read

This register is the Disk-Microprocessor data buffer. Data from the
disk (in read mode) is loaded into this register one byte at a time,
and bit 15 (DSKBYT) is set true.

Bit Function Description
15 DSKBYT Disk byte ready (reset on read)
14 DMAON DMAEN (DSKLEN) & DMAEN (DMACON) & DSKEN (DMACON)
13 DISKWRITE Mirror of bit 14 (WRITE) in DSKLEN
12 WORDEQUAL This bit true only while DSKSYNC register
equals the data from disk
11-08 0 Not used
07-00 DATA Disk byte data

Back to the list
Address Name Description
DFF008 DSKDATR Disk DMA data read (early read dummy address)
DFF026 DSKDAT Disk DMA data write

This register is the disk-DMA data buffer.It contains 2 bytes of data
that are either sent to (write) or received from (read) the disk. The
DMA controller automatically transfers data to or from this register
and RAM, and when the DMA data is finished (length=0) it causes
a disk block interrupt.

Back to the list
Address Name Description
DFF024 DSKLEN Disk length


Bit Function Description
15 DMAEN Disk DMA enable
14 WRITE Disk write (RAM or disk) if 1
13-0 LENGTH Length (# of words) of DMA data.

Back to the list
Address Name Description
DFF020 DSKPTH Disk Pointer (high 5 bits (OCS: 3 bits))
DFF022 DSKPTL Disk Pointer (low 15 bits)

This pair of registers contains the 20-bit (OCS: 18-bit) address of disk DMA data.
These address registers must be initialized by the processor or
coprocessor before disk DMA is enabled.

Back to the list
Address Name Description
DFF07E DSKSYNC Disk sync register, the match code for disk read synchronization
See ADKCON bit 10

Back to the list
Address Name Description
DFF1FC FMODE Memory Fetch Mode

This register controls the fetch mechanism for different
types of Chip RAM accesses:

Bit Function Description
15 SSCAN2 Global enable for sprite scan-doubling.
14 BSCAN2 Enables the use of 2nd P/F modulus on an
alternate line basis to support bitplane
scan-doubling.
13-04 Unused  
03 SPAGEM Sprite page mode (double CAS)
02 SPR32 Sprite 32 bit wide mode
01 BPAGEM Bitplane Page Mode (double CAS)
00 BLP32 Bitplane 32 bit wide mode


BPAGEM BPL32 Bitplane Fetch Increment Memory Cycle Bus Width
0 0 By 2 bytes (as before) normal CAS 16
0 1 By 4 bytes   normal CAS 32
1 0 By 4 bytes   double CAS 16
1 1 By 8 bytes   double CAS 32


SPAGEM SPR32 Sprite Fetch Increment Memory Cycle Bus Width
0 0 By 2 bytes (as before) normal CAS 16
0 1 By 4 bytes   normal CAS 32
1 0 By 4 bytes   double CAS 16
1 1 By 8 bytes   double CAS 32

Back to the list
Address Name Description
DFF1C4 HBSTRT Horizontal START position
DFF1C6 HBSTOP Horizontal STOP position

Bits 7-0 contain the stop and start positions, respectively,
for programmed horizontal blanking in 280ns increments.
Bits 10-8 provide a fine position control in 35ns increments.

Bit Function Description
15-11 0 Unused
10 H1 140ns
09 H1 70ns
08 H0 35ns
07 H10 35840ns
06 H9 17920ns
05 H8 8960ns
04 H7 4480ns
03 H6 2240ns
02 H5 1120ns
01 H4 560ns
00 H3 280ns

BEAMCON0 HHPOSW/HHPOSR

Back to the list
Address Name Description
DFF1E2 HCENTER Horizontal position (CCKs) of VSYNC on long field

This is necessary for interlace mode with variable beam counters.
See BEAMCON0 for when it affects chip outputs.
See HTOTAL for bits.

BEAMCON0

Back to the list
Address Name Description
DFF1D8 HHPOSW DUAL mode hires Hbeam counter write
DFF1DA HHPOSR DUAL mode hires Hbeam counter read

This the secondary beam counter for the faster mode, triggering the
UHRES pointers & doing the comparisons for HBSTRT,
HBSTOP, HTOTAL, HSSTRT, HSSTOP (See HTOTAL for bits)

BEAMCON0

Back to the list
Address Name Description
DFF1C2 HSSTOP Horizontal line position for SYNC stop

Sets # of colour clocks for sync stop (HTOTAL for bits).

BEAMCON0 HHPOSW/HHPOSR

Back to the list
Address Name Description
DFF1DE HSSTRT Horiz line position for HSYNC stop

Set # of colour clocks for sync start (HTOTAL for bits)
See BEAMCON0 for details of when these 2 are active.

BEAMCON0 HHPOSW/HHPOSR

Back to the list
Address Name Description
DFF1C0 HTOTAL Highest colour clock count in horizontal line


Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
  0 0 0 0 0 0 0 0 H8 H7 H6 H5 H4 H3 H2 H1

Horizontal line has these many + 1 280nS increments. If the pal bit &
LOLDIS are not high, long line/short line toggle will occur, and
there will be this many +2 every other line.
Active if VARBEAMEN=1 or DUAL+1.

Hcenter HHPOSW/HHPOSR HSSTOP HSSTRT

Back to the list
Address Name Description
DFF01C INTENAR Interrupt enable bits (read)
DFF09A POTINP Interrupt enable bits (clear or set bits)

This register contains interrupt enable bits. The bit assignment for
both the request, and enable registers is given below.

Bit Function Level Description
15 SET/CLR   Set/clear control bit. Determines if bits
written with a 1 get set or cleared. Bits
written with a zero are always unchanged.
14 INTEN   Master interrupt (enable only, no request)
13 EXTER 6 External interrupt
12 DSKSYN 5 Disk sync register (DSKSYNC) matches disk
11 RBF 5 Serial port receive buffer full
10 AUD3 4 Audio channel 3 block finished
09 AUD2 4 Audio channel 2 block finished
08 AUD1 4 Audio channel 1 block finished
07 AUD0 4 Audio channel 0 block finished
06 BLIT 3 Blitter has finished
05 VERTB 3 Start of vertical blank
04 COPER 3 Coprocessor
03 PORTS 2 I/O Ports and timers
02 SOFT 1 Reserved for software initiated interrupt.
01 DSKBLK 1 Disk block finished
00 TBE 1 Serial port transmit buffer empty

Back to the list
Address Name Description
DFF01E INTREQR Interrupt request bits (read)
DFF09C INTREQ Interrupt request bits (clear or set)

This register contains interrupt request bits (or flags). These bits
may be polled by the processor, and if enabled by the bits listed in
the next register, they may cause processor interrupts. Both a set
and clear operation are required to load arbitrary data into this register.

Bit Function Level Description
15 SET/CLR   Set/clear control bit. Determines if bits
written with a 1 get set or cleared. Bits
written with a zero are always unchanged.
14 INTEN   Master interrupt (enable only, no request)
13 EXTER 6 External interrupt
12 DSKSYN 5 Disk sync register (DSKSYNC) matches disk
11 RBF 5 Serial port receive buffer full
10 AUD3 4 Audio channel 3 block finished
09 AUD2 4 Audio channel 2 block finished
08 AUD1 4 Audio channel 1 block finished
07 AUD0 4 Audio channel 0 block finished
06 BLIT 3 Blitter has finished
05 VERTB 3 Start of vertical blank
04 COPER 3 Coprocessor
03 PORTS 2 I/O Ports and timers
02 SOFT 1 Reserved for software initiated interrupt.
01 DSKBLK 1 Disk block finished
00 TBE 1 Serial port transmit buffer empty

Back to the list
Address Name Description
DFF00A JOY0DAT Joystick-mouse 0 data (left vert, horiz)
DFF00C JOY1DAT Joystick-mouse 1 data (right vert, horiz)

These addresses each read a 16 bit register. These in turn are loaded
from the MDAT serial stream and are clocked in on the rising edge of
SCLK. MLD output is used to parallel load the external parallel-to-
serial converter.This in turn is loaded with the 4 quadrature inputs
from each of two game controller ports (8 total) plus 8 miscellaneous
control bits which are new for LISA and can be read in upper 8 bits
of LISAID.

Register bits are as follows:

Mouse counter usage (pins 1,3 = Yclock, pins 2,4 = Xclock)

Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
JOY0DAT Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 X7 X6 X5 X4 X3 X2 X1 X0
JOY1DAT Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 X7 X6 X5 X4 X3 X2 X1 X0

0 = LEFT CONTROLLER PAIR, 1 = RIGHT CONTROLLER PAIR.
(4 counters total).The bit usage for both left and right addresses is
shown below. Each 6 bit counter (Y7-Y2,X7-X2) is clocked by 2 of the
signals input from the mouse serial stream.

Starting with first bit received:

Serial Bit name Description
0 M0H JOY0DAT Horizontal Clock
1 M0HQ JOY0DAT Horizontal Clock (quadrature)
2 M0V JOY0DAT Vertical Clock
3 M0VQ JOY0DAT Vertical Clock (quadrature)
4 M1V JOY1DAT Horizontall Clock
5 M1VQ JOY1DAT Horizontall Clock (quadrature)
6 M1V JOY1DAT Vertical Clock
7 M1VQ JOY1DAT Vertical Clock (quadrature)

Bits 1 and 0 of each counter (Y1-Y0,X1-X0) may be read to determine
the state of the related input signal pair. This allows these pins to
double as joystick switch inputs. Joystick switch closures can be
deciphered as follows:

Direction Pin Counter bits
Forward 1 Y1 xor Y0 (BIT#09 xor BIT#08)
Left 3 Y1
Back 2 X1 xor X0 (BIT#01 xor BIT#00)
Right 4 X1

Back to the list
Address Name Description
DFF036 JOYTEST Write to all 4 joystick-mouse counters at once

Mouse counter write test data:

Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
JOY0DAT Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 X7 X6 X5 X4 X3 X2 X1 X0
JOY1DAT Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 X7 X6 X5 X4 X3 X2 X1 X0

Back to the list
Address Name Description
DFF1FE NO-OP No operation/NULL (Copper NOP instruction)

Can also indicate last 2 or 3 refresh cycles or the restart of the COPPER after lockup.

Back to the list
Address Name Description
DFF012 POT0DAT Pot counter data left pair (vert, horiz)
DFF014 POT1DAT Pot counter data right pair (vert, horiz)

These addresses each read a pair of 8 bit pot counters.
(4 counters total). The bit assignment for both addresses is shown
below. The counters are stopped by signals from 2 controller
connectors (left-right) with 2 pins each.

Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
RIGHT Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 X7 X6 X5 X4 X3 X2 X1 X0
LEFT Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 X7 X6 X5 X4 X3 X2 X1 X0


Connector Paula
Loc. Dir. Sym. Pin Pin
RIGHT Y RX 9 33
RIGHT X RX 5 32
LEFT Y LY 9 36
LEFT X LX 5 35

With normal (NTSC or PAL) horiz. line rate, the pots will give a full
scale (FF) reading with about 500kohms in one frame time. With
proportionally faster horiz line times, the counters will count
proportionally faster. This should be noted when doing variable
beam displays.

Back to the list
Address Name Description
DFF034 POTGO Pot port (4 bit) bi-direction and data and pot counter start

Back to the list
Address Name Description
DFF016 POTINP Pot pin data read

This register controls a 4 bit bi-direction I/O port that shares the
same 4 pins as the 4 pot counters above.

Bit Function Description
15 OUTRY Output enable for Paula pin 33
14 DATRY I/O data Paula pin 33
13 OUTRX Output enable for Paula pin 32
12 DATRX I/O data Paula pin 32
11 OUTLY Out put enable for Paula pin 36
10 DATLY I/O data Paula pin 36
09 OUTLX Output enable for Paula pin 35
08 DATLX I/O data Paula pin 35
07-01 X Not used
00 START Start pots (dump capacitors,start counters)

Back to the list
Address Name Description
DFF028 REFPTR Refresh pointer

This register is used as a dynamic RAM refresh address generator.
It's writable for test purposes only, and should never be written
by the microprocessor.

Back to the list
Address Name Description
DFF030 SERDAT Serial port data and stop bits write

This address writes data to a transmit data buffer. Data from this
buffer is moved into a serial shift register for output transmission
whenever it is empty. This sets the interrupt request TBE
(transmit buffer empty).

A stop bit must be provided as part of the data word.
The length of the data word is set by the position of the stop bit.

Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
  0 0 0 0 0 0 S D8 D7 D6 D5 D4 D3 D2 D1 D0

Back to the list
Address Name Description
DFF018 SERDATR Pot pin data read

SERDATR - Serial port data and status read.

This address reads data from a recive data buffer. Data in this
buffer is loaded from a receiving shift register whenever it is full.
Several interrupt request bits are also read at this address, along
with the data as shown below.

Bit Function Description
15 OVRUN Serial port receiver overun
14 RBF Serial port receive buffer full (mirror)
13 TBE Serial port transmit buffer empty (mirror)
12 TSRE Serial port transmit shift reg. empty
11 RXD RXD pin receives UART serial data for
direct bit test by the micro.
10 X Not used.
09 STP Stop bit
08 STP-DB8 Stop bit if LONG, data bit if not.
07 DB7 Data bit.
06 DB6 Data bit.
05 DB5 Data bit.
04 DB4 Data bit.
03 DB3 Data bit.
02 DB2 Data bit.
01 DB1 Data bit.
00 DB0 Data bit.

Back to the list
Address Name Description
DFF032 SERPER Serial port period and control

This register contains the control bit LONG referred to above, and a
15 bit number defining the serial port Baud rate. If this number is
N,then the baud rate is 1 bit every (N+1)*.2794 microseconds.

Bit Function Description
15 LONG Defines serial receive as 9 bit word.
14-00 RATE Defines baud rate=1/((N+1)*.2794 microseconds)

Back to the list
Address Name Description
DFF078 SPRHDAT Ext. logic UltraHiRes sprite pointer and data

This identifies the cycle when this pointer address is on the bus
accessing the memory.

BPLHPTH/BPLHPTL

Back to the list
Address Name Description
DFF1E8 SPRHPTH UHRES sprite pointer (high 5 bits)
DFF1EA SPRHPTL UHRES sprite pointer (low 15 bits)

This pointer is activated in the 1st and 3rd 'free' cycles
(see BPLHPTx) after horizontal line start.
It increments for the next line.

Back to the list
Address Name Description
DFF1D2 SPRHSTOP UHRES sprite vertical display stop


Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
SPRHWRM 0 0 0 0 0 V10 V9 V8 V7 V6 V5 V4 V3 V2 V1 V0

SPRHWRM = Swaps the polarity of ARW* when the SPRHDAT comes out so
that external devices can detect the RGA and put things into memory.
(ECS and later chips only)

Back to the list
Address Name Description
DFF1D0 SPRHSTRT UHRES sprite vertical display start


Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
  0 0 0 0 0 V10 V9 V8 V7 V6 V5 V4 V3 V2 V1 V0

Back to the list
Address Name Description
DFF142 SPR0CTL Sprite 0 position and control data
DFF14A SPR1CTL Sprite 1 position and control data
DFF152 SPR2CTL Sprite 2 position and control data
DFF15A SPR3CTL Sprite 3 position and control data
DFF162 SPR4CTL Sprite 4 position and control data
DFF16A SPR5CTL Sprite 5 position and control data
DFF172 SPR6CTL Sprite 6 position and control data
DFF17A SPR7CTL Sprite 7 position and control data


Bit Function Description
15-08 EV7-EV0 End (stop) vertical value. Low 8 bits
07 ATT Sprite attach control bit (odd sprites only)
06 SV9 Start vertical value 10th bit
05 EV9 End (stop) vertical value 10th bit
04 SH1=0 Start horizontal value, 70nS increment
03 SH0=0 Start horizontal value 35nS increment
02 SV8 Start vertical value 9th bit
01 EV8 End (stop) vertical value 9th bit
00 SH2 Start horizontal value, 140nS increment

These registers work together as position, size and feature sprite
control registers. They are usually loaded by the sprite DMA channel,
during horizontal blank, however they may be loaded by either
processor any time. Writing to SPRxCTL disables the corresponding
sprite.

SPRxDATA/SPRxDATB SPRxPOS

Back to the list
Address Name Description
DFF144 SPR0DATA Sprite 0 image data register A
DFF146 SPR0DATB Sprite 0 image data register B
DFF14C SPR1DATA Sprite 1 image data register A
DFF14E SPR1DATB Sprite 1 image data register B
DFF154 SPR2DATA Sprite 2 image data register A
DFF156 SPR2DATB Sprite 2 image data register B
DFF15C SPR3DATA Sprite 3 image data register A
DFF15E SPR3DATB Sprite 3 image data register B
DFF164 SPR4DATA Sprite 4 image data register A
DFF166 SPR4DATB Sprite 4 image data register B
DFF16C SPR5DATA Sprite 5 image data register A
DFF16E SPR5DATB Sprite 5 image data register B
DFF174 SPR6DATA Sprite 6 image data register A
DFF176 SPR6DATB Sprite 6 image data register B
DFF17C SPR7DATA Sprite 7 image data register A
DFF17E SPR7DATB Sprite 7 image data register B

These registers buffer the sprite image data. They are usually loaded
by the sprite DMA channel but may be loaded by either processor at
any time. When a horizontal coincidence occurs the buffers are dumped
into shift registers and serially outputted to the display, MSB first
on the left.

Note:
Writing to the A buffer enables (arms) the sprite.
Writing to the SPRxCTL registers disables the sprite.
If enabled, data in the A and B buffers will be output whenever the
beam counter equals the sprite horizontal position value in the
SPRxPOS register. In lowres mode, 1 sprite pixel is 1 bitplane pixel
wide.In HRES and SHRES mode, 1 sprite pixel is 2 bitplane pixels.
The DATB bits are the 2SBs (worth 2) for the color registers,
and MSB for SHRES. DATA bits are LSBs of the pixels.

Back to the list
Address Name Description
DFF140 SPR0POS Sprite 0 vertical & horizontal start positions data
DFF148 SPR1POS Sprite 1 vertical & horizontal start positions data
DFF150 SPR2POS Sprite 2 vertical & horizontal start positions data
DFF158 SPR3POS Sprite 3 vertical & horizontal start positions data
DFF160 SPR4POS Sprite 4 vertical & horizontal start positions data
DFF168 SPR5POS Sprite 5 vertical & horizontal start positions data
DFF170 SPR6POS Sprite 6 vertical & horizontal start positions data
DFF178 SPR7POS Sprite 7 vertical & horizontal start positions data


Bit Function Description
15-08 SV7-SV0 Start vertical value.High bit (SV8) is
in SPRxCTL registers.
07-00 SH10-SH3 Sprite horizontal start value. Low order
3 bits are in SPRxCTL registers. If
SSCAN2 bit in FMODE is set, then disable
SH10 horizontal coincidence detect.This bit
is then free to be used by ALICE as an
individual scan double enable.

SPRxDATA/SPRxDATB

Back to the list
Address Name Description
DFF120 SPR0PTH Sprite 0 pointer (high 5 bits (OCS: 3 bits))
DFF122 SPR0PTL Sprite 0 pointer (low 15 bits)
DFF124 SPR1PTH Sprite 1 pointer (high 5 bits (OCS: 3 bits))
DFF126 SPR1PTL Sprite 1 pointer (low 15 bits)
DFF128 SPR2PTH Sprite 2 pointer (high 5 bits (OCS: 3 bits))
DFF12A SPR2PTL Sprite 2 pointer (low 15 bits)
DFF12C SPR3PTH Sprite 3 pointer (high 5 bits (OCS: 3 bits))
DFF12E SPR3PTL Sprite 3 pointer (low 15 bits)
DFF130 SPR4PTH Sprite 4 pointer (high 5 bits (OCS: 3 bits))
DFF132 SPR4PTL Sprite 4 pointer (low 15 bits)
DFF134 SPR5PTH Sprite 5 pointer (high 5 bits (OCS: 3 bits))
DFF136 SPR5PTL Sprite 5 pointer (low 15 bits)
DFF138 SPR6PTH Sprite 6 pointer (high 5 bits (OCS: 3 bits))
DFF13A SPR6PTL Sprite 6 pointer (low 15 bits)
DFF13C SPR7PTH Sprite 7 pointer (high 5 bits (OCS: 3 bits))
DFF13E SPR7PTL Sprite 7 pointer (low 15 bits)

These pairs of registers contain the address of sprite x DMA data.
These address registers must be initialized by the processor or
Copper every vertical blank time.

Back to the list
Address Name Description
DFF038 STREQU Strobe for horiz sync with VB (vert blank) and EQU
DFF03A STRVBL Strobe for horiz sync with VB
DFF03C STRHOR Strobe for horiz sync
DFF03E STRLONG Strobe for identification of long horiz line (228CC)

One of the first 3 strobe addresses above, it is placed on the RGA
bus during the first refresh time slot of every other line, to
identify lines with long counts (228- NTSC, HTOTAL+2- VARBEAMEN=1
hires chips only). There are 4 refresh time slots and any not used
for strobes will leave a null (1FE) address on the RGA bus.

Back to the list
Address Name Description
DFF1CC VBSTRT Vertical line for VBLANK start
DFF1CE VBSTOP Vertical line for VBLANK stop

(V10-0 <- D10-0) Affects CSY pin if BLAKEN=1 and VSY pin
if CSCBEN=1 (see BEAMCON0)

BEAMCON0

Back to the list
Address Name Description
DFF006 VHPOSR Read vert and horiz position of beam, or lightpen
DFF02C VHPOSW Write vert and horiz position of beam, or lightpen


Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
  V7 V6 V5 V4 V3 V2 V1 V0 H8 H7 H6 H5 H4 H3 H2 H1

Resolution = 1/160 of screen width (280 ns).

BEAMCON0

Back to the list
Address Name Description
DFF004 VPOSR Read vert most sig. bits (and frame flop)
DFF02A VPOSW Write most sig. bits (and frame flop)


Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
  LOF I6 I5 I4 I3 I2 I1 I0 LOL - - - - V10 V9 V8

LOF = Long frame(auto toggle control bit in BPLCON0)
I0-I6 = Chip identification:

LOL = Long line bit. When low, it indicates short raster line.
V9 and V10 are available on hires chips only (20,30 identifiers).
Aside from LOF and V8, none of the other bits are available on OCS.

BEAMCON0

Back to the list
Address Name Description
DFF1E0 VSSTRT Vertical sync start (VARVSY)

BEAMCON0

Back to the list
Address Name Description
DFF1C8 VTOTAL Highest numbered vertical line (VERBEAMEN = 1)
DFF1CA VSSTOP Vertical position for VSYNC stop

It`s the line number to reset the counter, so there`s this many + 1
in a field. The exception is if the LACE bit is set (BPLCON0), in
which case every other field is this many + 2 and the short field
is this many + 1.

BEAMCON0

Back to the list

Sources: A4000 Service Addendum, Advanced Amiga 1200 System Functional Specification, Amiga Coding, Amiga-Dev, Apollo-Core, CopperShade, cyberpingui, Ian Stedman