; *************************************************************************** ; copyright : (C) 2026 by Martin Preuss ; email : martin@libchipcard.de ; ; *************************************************************************** ; * This file is part of the project "AqHome". * ; * Please see toplevel file COPYING of that project for license details. * ; *************************************************************************** #ifndef AQH_AVR_GUI_BASE_CDIALOG_ASM #define AQH_AVR_GUI_BASE_CDIALOG_ASM ; *************************************************************************** ; defines ; CDIALOG data .equ CDIALOG_OFFS_BEGIN = DIALOG_SIZE .equ CDIALOG_OFFS_CONFIG_LO = CDIALOG_OFFS_BEGIN+0 .equ CDIALOG_OFFS_CONFIG_HI = CDIALOG_OFFS_BEGIN+1 .equ CDIALOG_SIZE = CDIALOG_OFFS_BEGIN+2 ; *************************************************************************** ; code .cseg ; --------------------------------------------------------------------------- ; @routine CDialog_Init @global ; ; @param Y pointer to MainWindow ; @param X pointer to root window ; @param R21:R20 title ressource ; @param r23:r22 pointer to settings (byte addr for LPM!) ; @return CFLAG set of okay, cleared otherwise ; @clobbers any, !Y CDialog_Init: push r22 push r23 ldi r16, 0 ; OPTS ldi r17, (WIDGET_PACK_FILLED<