From 4cb365dc23a5c38f279617c23e0796c05e68059e Mon Sep 17 00:00:00 2001 From: alpine9000 Date: Mon, 29 Feb 2016 20:57:07 +1100 Subject: [PATCH 1/3] Update README.md --- 004.copper_bars/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/004.copper_bars/README.md b/004.copper_bars/README.md index 1d5b9f3..f791a1a 100644 --- a/004.copper_bars/README.md +++ b/004.copper_bars/README.md @@ -4,9 +4,9 @@ Copper bars Now I discover how vertical copper waiting works. Some notes: -1. The first line is copper address $2c -2. The last last is copper address $2c + 256 (screen height) = $12c + 1. The first line is copper address $2c + 2. The last last is copper address $2c + 256 (screen height) = $12c At copper line 255 ($FF), we run out of bits in the copper wait instruction, so if we want to wait for lines after this, we need to wait for a wrapped value. [See here](http://amigadev.elowar.com/read/ADCD_2.1/Hardware_Manual_guide/node004D.html) -[copper_gen.c](copper_gen.c) will generate a copper list with horizontal bars. See http://krazydad.com/tutorials/makecolors.php for details on the algorithm used to generate the bars. You can generate all sorts of different kinds of patterns by changing the algorithm parameters. \ No newline at end of file +[copper_gen.c](copper_gen.c) will generate a copper list with horizontal bars. See http://krazydad.com/tutorials/makecolors.php for details on the algorithm used to generate the bars. You can generate all sorts of different kinds of patterns by changing the algorithm parameters. From 9f4b5d0e80d088d316a3cdfc57e6de77dd87a262 Mon Sep 17 00:00:00 2001 From: alpine9000 Date: Mon, 29 Feb 2016 20:58:27 +1100 Subject: [PATCH 2/3] Update README.md --- 004.copper_bars/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/004.copper_bars/README.md b/004.copper_bars/README.md index f791a1a..b77e15d 100644 --- a/004.copper_bars/README.md +++ b/004.copper_bars/README.md @@ -7,6 +7,6 @@ Some notes: 1. The first line is copper address $2c 2. The last last is copper address $2c + 256 (screen height) = $12c -At copper line 255 ($FF), we run out of bits in the copper wait instruction, so if we want to wait for lines after this, we need to wait for a wrapped value. [See here](http://amigadev.elowar.com/read/ADCD_2.1/Hardware_Manual_guide/node004D.html) +At copper line 255 ($FF), we run out of bits in the copper wait instruction, so if we want to wait for lines after this, we need to wait for a wrapped value. [See hardware reference manual details here](http://amigadev.elowar.com/read/ADCD_2.1/Hardware_Manual_guide/node004D.html) [copper_gen.c](copper_gen.c) will generate a copper list with horizontal bars. See http://krazydad.com/tutorials/makecolors.php for details on the algorithm used to generate the bars. You can generate all sorts of different kinds of patterns by changing the algorithm parameters. From 6addb6478f8ae60ac2529e68ccc5f44cb8d8ebf7 Mon Sep 17 00:00:00 2001 From: alpine9000 Date: Mon, 29 Feb 2016 20:59:51 +1100 Subject: [PATCH 3/3] Update README.md --- 004.copper_bars/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/004.copper_bars/README.md b/004.copper_bars/README.md index b77e15d..e0f616e 100644 --- a/004.copper_bars/README.md +++ b/004.copper_bars/README.md @@ -9,4 +9,6 @@ Some notes: At copper line 255 ($FF), we run out of bits in the copper wait instruction, so if we want to wait for lines after this, we need to wait for a wrapped value. [See hardware reference manual details here](http://amigadev.elowar.com/read/ADCD_2.1/Hardware_Manual_guide/node004D.html) -[copper_gen.c](copper_gen.c) will generate a copper list with horizontal bars. See http://krazydad.com/tutorials/makecolors.php for details on the algorithm used to generate the bars. You can generate all sorts of different kinds of patterns by changing the algorithm parameters. +[copper_gen.c](copper_gen.c) will generate a full screen copper list with horizontal bars. See http://krazydad.com/tutorials/makecolors.php for details on the algorithm used to generate the bars. You can generate different patterns by changing the algorithm parameters. + +Also in this example I have remove interrupt processing and disabled most of the interrupts.