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