From d4848c890e84d5ea153b17ac3cd7e49a65fe2065 Mon Sep 17 00:00:00 2001 From: alpine9000 Date: Fri, 4 Mar 2016 13:07:13 +1100 Subject: [PATCH] Updated README.md and Makefile --- 008.shift_blit/README.md | 2 +- Makefile | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/008.shift_blit/README.md b/008.shift_blit/README.md index 3c5a17c..20e43cc 100644 --- a/008.shift_blit/README.md +++ b/008.shift_blit/README.md @@ -9,7 +9,7 @@ So the algorithm for drawing to non word aligned boundaries is as follows: 1. The destination address is the word aligned address to the left of the desired position. 2. Command the blitter to blit an extra word to the right of our blitter object. 3. We mask the trailing word of each line to prevent the extra word from being blit. - 4. We shift the data by the difference in bits between the desired column and the word aligned column from (1). + 4. We right shift the data by the difference in bits between the desired column and the word aligned column from (1). 5. We make the line modulos #-2 so blitter object data is correctly fetched. diff --git a/Makefile b/Makefile index be95d14..e3bb350 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,9 @@ SUBDIRS=tools/makeadf \ 003.music\ 004.copper_bars\ 005.copper_vert\ - 006.simple_blit + 006.simple_blit\ + 007.masked_blit\ + 008.shift_blit .PHONY: subdirs $(SUBDIRS)