From f7791ef8e3faed6f57c872bcea789b0966add443 Mon Sep 17 00:00:00 2001 From: Jose Rodriguez Date: Thu, 15 May 2025 00:57:28 +0200 Subject: [PATCH] docs: fixes formatting in memorybank.md --- docs/library/memorybank.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/library/memorybank.md b/docs/library/memorybank.md index bc491851c..aeb9f5f48 100644 --- a/docs/library/memorybank.md +++ b/docs/library/memorybank.md @@ -3,26 +3,29 @@ The MemoryBank library allows you to manage paged memory on 128K and later/compatible models. This library includes three commands: -- [SetBank](memorybank/setbank.md): Sets the specified bank to memory location $c000. -- [GetBank](memorybank/getbank.md): Returns the memory bank that is located at memory location $c000. -- [SetCodeBank](memorybank/setcodebank.md): Copies the specified memory bank to location $8000 + +* [SetBank](memorybank/setbank.md): Sets the specified bank to memory location $c000 +* [GetBank](memorybank/getbank.md): Returns the memory bank that is located at memory location $c000 +* [SetCodeBank](memorybank/setcodebank.md): Copies the specified memory bank to location $8000 Only works on 128K and later/compatible models. **Danger:** If our program exceeds the address $c000 it may cause problems, use this library at your own risk. -## Menory banks -- $c000 > Bank 0 to Bank 7 -- $8000 > Bank 2 (fixed) -- $4000 > Bank 5 (screen) -- $0000 > ROM +## Memory banks + + - $c000 > Bank 0 to Bank 7 + - $8000 > Bank 2 (fixed) + - $4000 > Bank 5 (screen) + - $0000 > ROM Banks 2 and 5 are permanently fixed at addresses $8000 and $4000, so it is not common to use them. Banks 1, 3, 5 and 7 are banks in contention with the ULA, their use is not recommended in processes requiring maximum speed. ## See also + - [SetBank](memorybank/setbank.md) - [GetBank](memorybank/getbank.md) - [SetCodeBank](memorybank/setcodebank.md)