diff --git a/system/lcd.s65 b/system/lcd.s65 index 7f852ec..6343606 100644 --- a/system/lcd.s65 +++ b/system/lcd.s65 @@ -13,6 +13,8 @@ ; @optparam LCD_MEM: Memory address for a runtime variable. Default = $300 ; @depends IO-W65C22N ;******************************************************************************** +.ifndef INCLUDE_LCD +INCLUDE_LCD = 1 .ifndef LCD_IO .fatal "LCD_IO is not defined: set it to the base address of the IO chip of the LCD" @@ -228,3 +230,4 @@ LCD_CLEAR = %00000000 jsr _lcd_cmd rts .endproc +.endif