From 8d5cf37448274d8c03a54e1d9f332ea141c3a931 Mon Sep 17 00:00:00 2001 From: hugova Date: Thu, 8 May 2025 20:16:06 +0200 Subject: [PATCH] populate .inc file with parameters for homade compiler, will change format --- wip-hugo/userside.inc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 wip-hugo/userside.inc diff --git a/wip-hugo/userside.inc b/wip-hugo/userside.inc new file mode 100644 index 0000000..e69f5bf --- /dev/null +++ b/wip-hugo/userside.inc @@ -0,0 +1,20 @@ +;;; -*- Mode: asm; indent-tabs-mode: t; tab-width: 8 -*- + +;; Note that this file should never be actualy be linked by the assembly directly +;; The file is used for the homade assembler to now the parameters of different public routines + +;;routine line +X_end = $EF +Y_end = $F0 +X_pos = $FC +Y_pos = $FB + +;;routine pixel_draw +Y_pos = $FB +X_pos = $FC ; 16-bit value (uses FD) + +;; routine char_draw +X_pos = $FA +Y_pos = $F9 +charset = $FB +code = $FE