Video RAM and a makefile change
[fpgaboy.git] / LCDC.v
diff --git a/LCDC.v b/LCDC.v
index 05a46d5..444fb85 100644 (file)
--- a/LCDC.v
+++ b/LCDC.v
@@ -27,6 +27,16 @@ module LCDC(
                clk4 = ~clk4;
        assign lcdclk = clk4;
        
+       /***** Video RAM *****/
+       /* Base is 0x8000
+        *
+        * Tile data from 8000-8FFF or 8800-97FF
+        * Background tile maps 9800-9BFF or 9C00-9FFF
+        */
+       reg [7:0] tiledata [6143:0];
+       reg [7:0] bgmap1 [1023:0];
+       reg [7:0] bgmap2 [1023:0];
+       
        /***** LCD control registers *****/
        reg [7:0] rLCDC = 8'h91;
        reg [7:0] rSTAT = 8'h00;
This page took 0.01642 seconds and 4 git commands to generate.