From a635449829a095cb2e9b1ea3809d26dc9ab08a6a Mon Sep 17 00:00:00 2001 From: zbyti Date: Wed, 9 Sep 2020 01:50:44 +0200 Subject: [PATCH 1/2] new a8 memory mapping helpers --- include/a8_antic.mfk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/a8_antic.mfk b/include/a8_antic.mfk index 853c9e3f..6aa0ef53 100644 --- a/include/a8_antic.mfk +++ b/include/a8_antic.mfk @@ -6,6 +6,7 @@ volatile byte antic_dmactl @$D400 // direct memory access control volatile byte antic_chactl @$D401 // character mode control +volatile word antic_dlist @$D402 // display list pointer volatile byte antic_dlistl @$D402 // display list pointer low-byte volatile byte antic_dlisth @$D403 // display list pointer high-byte volatile byte antic_hscrol @$D404 // horizontal scroll enable From adf84c084d274f40fdd89bb18e84cd5537821474 Mon Sep 17 00:00:00 2001 From: zbyti Date: Wed, 9 Sep 2020 02:47:07 +0200 Subject: [PATCH 2/2] more info about a8 example --- examples/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/README.md b/examples/README.md index 81b5b96c..c91db918 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,6 +1,6 @@ # Examples -The examples showcased here are designed to compile with a compiler built from newest sources. +The examples showcased here are designed to compile with a compiler built from newest sources. If you are using a release version of the compiler, consider browsing the older versions of the examples: * [for version 0.3.18](https://github.com/KarolS/millfork/tree/v0.3.18/examples) @@ -41,7 +41,7 @@ If you are using a release version of the compiler, consider browsing the older * [Life](crossplatform/life.mfk) (C64/C16/Atari/ZX Spectrum) – Conway's game of life -* [Reg dump](crossplatform/regdump.mfk) (C64/C16/ZX Spectrum/CoCo) – a program that simply prints the initial values of CPU registers +* [Reg dump](crossplatform/regdump.mfk) (C64/C16/ZX Spectrum/CoCo) – a program that simply prints the initial values of CPU registers * [Test suite](tests) (C64/C16/Atari/Apple II/BBC Micro/Armstrad CPC/ZX Spectrum/PC-88/CoCo) – the semi-official test-suite for Millfork @@ -53,14 +53,14 @@ If you are using a release version of the compiler, consider browsing the older * [Softscrolling](c64/softscroll.mfk) – soft-scrolling a single line of text -* [Galencia starfield](c64/galencia.mfk) – a port of the starfield effect from the game *Galencia* +* [Galencia starfield](c64/galencia.mfk) – a port of the starfield effect from the game *Galencia* * [Space Poker \[external link\]](https://github.com/KarolS/spacepoker) – a game made for the 2018 Reset C64 Craptastic 4KB Game Competition ### Other examples * Multifile ([source code](c64/multifile.mfk), [platform definition](c64/multifile.ini)) – -how to create a program made of multiple files loaded on demand +how to create a program made of multiple files loaded on demand * [Panic](c64/panic_test.mfk) – how panic works on C64, showing the address of where it happened @@ -80,7 +80,7 @@ how to create a program made of multiple files loaded on demand * [Rainbow example](a8/rainbow.mfk) – simple scrolling rasterbars -* [DLI example](a8/dli-example.mfk) – simple display list example +* [DLI example](a8/dli-example.mfk) – simple display list and display list interrupt example * [Scroll example](a8/endless_scroll.mfk) – simple horizontal scroll example