From ce3c89948e6fc3c7234e8f47e048d74f917e6bf9 Mon Sep 17 00:00:00 2001 From: Pedro de Medeiros Date: Fri, 7 Jan 2022 15:53:15 -0300 Subject: Replacing VRAM magic numbers with constants --- src/ubox/ubox_fill_screen.z80 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ubox/ubox_fill_screen.z80') diff --git a/src/ubox/ubox_fill_screen.z80 b/src/ubox/ubox_fill_screen.z80 index ed8c58f..e803f76 100644 --- a/src/ubox/ubox_fill_screen.z80 +++ b/src/ubox/ubox_fill_screen.z80 @@ -1,10 +1,11 @@ .globl _ubox_fill_screen FILVRM = 0x0056 +BG_TILE_MAP = 0x1800 _ubox_fill_screen:: ld a, l - ld hl, #0x1800 + ld hl, #BG_TILE_MAP ld bc, #768 jp FILVRM -- cgit v1.2.3