Quote Originally Posted by richard View Post
the ext modifier should help
lcdb VAR BYTE[22]

ASM
lcd_cmd = _lcdb
lcd_buff = _lcdb+2

ENDASM

lcdb[0]=$fe
lcdb[1]= your lcd command eg 1 $80 $c0

use arraywrite to load lcd_buff (max 20 chrs)

then you can pass
lcd_cmd to your lcd write code if you need to send a cmd with your lcd string
or pass lcd_buff if no cmd required

ps don't forget to add a dely after a cmd to give the lcd time to act

ps ps
the asm names are case sensitive


left a bit out

lcd_cmd var byte EXT
lcd_buff var byte EXT

not sure if it needs to be try it and see

lcd_cmd var byte[2] EXT
lcd_buff var byte[20] EXT
Steve,
the point is that I do not have PBP_3.
My pbp is 2.50 B.
No arraywrite or read, no usercommand ... are available to me .
Thanks
Ambrogio
Ambrogio is using pbp2.5 and I am even older on 2.46.