From eb71154cb32e3a567d825f36d63266cae60b0099 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 16 Apr 2023 23:14:45 +0300 Subject: WIP ppu --- digital/atk16_ppu.dig | 373 +++++++++++++++++++++++++++++--------------------- 1 file changed, 217 insertions(+), 156 deletions(-) (limited to 'digital/atk16_ppu.dig') diff --git a/digital/atk16_ppu.dig b/digital/atk16_ppu.dig index 8f373a3..d9064dd 100644 --- a/digital/atk16_ppu.dig +++ b/digital/atk16_ppu.dig @@ -200,7 +200,7 @@ AddrBits - 11 + 7 Label @@ -218,19 +218,26 @@ Description - (8 pixels wide x 8 pixels tall + 12 bit X + 12 bit Y + 8 bit priority) -x 21 sprites -< 2**11 = 2048 words + 8 bits tile pattern index +10 bits Y position +10 bits X position +1 bit H flip +1 bit V flip +1 bit behind background? (priority) +1 bit palette select += total 4 bytes per sprite +x 64 sprites += 128 words - + Text Description - 2**11 selector addresses for + 2**7 selector addresses for sprite mem, starting from 0x0800 @@ -370,40 +377,6 @@ sprite mem, starting from 0x0800 - - Tunnel - - - NetName - SMEMBUS - - - - - - Multiplexer - - - Bits - 11 - - - - - - Tunnel - - - rotation - - - - NetName - SM_QUERY - - - - Tunnel @@ -711,21 +684,11 @@ sprite mem, starting from 0x0800 Output Splitting - 9,1 + 1,9 - - Tunnel - - - NetName - Y - - - - Splitter @@ -735,21 +698,11 @@ sprite mem, starting from 0x0800 Output Splitting - 9,1 + 1,9 - - Tunnel - - - NetName - X - - - - Text @@ -802,31 +755,6 @@ sprite mem, starting from 0x0800 - - Ground - - - Bits - 4 - - - - - - Ground - - - - - Ground - - - - - Ground - - - Splitter @@ -922,6 +850,147 @@ sprite mem, starting from 0x0800 + + Ground + + + rotation + + + + Bits + 4 + + + + + + Ground + + + rotation + + + + + + + Counter + + + + + Tunnel + + + rotation + + + + NetName + PCLK + + + + + + VDD + + + + + Ground + + + + + Text + + + Description + TODO + + + + + + Tunnel + + + rotation + + + + NetName + SMEMBUS + + + + + + Ground + + + rotation + + + + Bits + 7 + + + + + + Tunnel + + + NetName + X + + + + + + Tunnel + + + NetName + Y + + + + + + Text + + + Description + TODO: 8x8x4 tile pattern memory + + + + + + VDD + + + rotation + + + + + + + Probe + + + Label + SCAN BUF + + + + @@ -976,25 +1045,25 @@ sprite mem, starting from 0x0800 - - - - - + - - + + - - + + + + + + @@ -1008,10 +1077,6 @@ sprite mem, starting from 0x0800 - - - - @@ -1021,12 +1086,12 @@ sprite mem, starting from 0x0800 - - + + - - + + @@ -1052,10 +1117,6 @@ sprite mem, starting from 0x0800 - - - - @@ -1076,10 +1137,6 @@ sprite mem, starting from 0x0800 - - - - @@ -1088,14 +1145,26 @@ sprite mem, starting from 0x0800 + + + + + + + + + + + + @@ -1104,6 +1173,10 @@ sprite mem, starting from 0x0800 + + + + @@ -1136,14 +1209,6 @@ sprite mem, starting from 0x0800 - - - - - - - - @@ -1200,18 +1265,22 @@ sprite mem, starting from 0x0800 - - - - + + + + + + + + @@ -1241,8 +1310,8 @@ sprite mem, starting from 0x0800 - - + + @@ -1257,8 +1326,8 @@ sprite mem, starting from 0x0800 - - + + @@ -1285,8 +1354,8 @@ sprite mem, starting from 0x0800 - - + + @@ -1297,8 +1366,20 @@ sprite mem, starting from 0x0800 - - + + + + + + + + + + + + + + @@ -1317,37 +1398,17 @@ sprite mem, starting from 0x0800 - - + + - - - - - - - - - - - - - - - - - - + + - - - - \ No newline at end of file -- cgit v1.3