- decreased complexitiy by removing guicntl - changed fonts to allow for storing bitmaps in ressource segment - add fonts to ressources for display node c03 - added some safety features (check pointers, add magic field to objects etc) - moved style.asm to device folder
42 lines
1.4 KiB
NASM
42 lines
1.4 KiB
NASM
; ***************************************************************************
|
|
; copyright : (C) 2025 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. *
|
|
; ***************************************************************************
|
|
|
|
|
|
; ***************************************************************************
|
|
; This is a font from the project LCD_fonts at
|
|
; https://github.com/basti79/LCD-fonts.git
|
|
; which in turn is based on a post by Benedikt K. in a forum post on
|
|
; https://www.mikrocontroller.net/topic/54860
|
|
; ***************************************************************************
|
|
|
|
#ifndef AQH_AVR_ILI9341_FONT6X8_1_ASM
|
|
#define AQH_AVR_ILI9341_FONT6X8_1_ASM
|
|
|
|
|
|
|
|
|
|
; ***************************************************************************
|
|
; code
|
|
|
|
.cseg
|
|
|
|
|
|
|
|
ili9341Font6x8_1:
|
|
; header
|
|
.dw ili9341Font6x8MonoHandlerFn ; handlerFn
|
|
.db 96, 0 ; needed buffer size
|
|
.db 6, 8 ; width, height of chars
|
|
.db 32, 224 ; first char, num of chars in font
|
|
.dw RESSSOURCE_FNT_6X8_1
|
|
|
|
|
|
#endif ; AQH_AVR_ILI9341_FONT6X8_1_ASM
|
|
|