11-22-2018, 06:08 PM
Hi all
I'm trying to use britlion's putTile library but I'm getting screen garbage instead of a defined 2x2 UDG. For instance, please look at this code that defines a 2x2 circle:
Instead of printing a 2x2 circle with an outside square, it prints some screen garbage, including flashing sprites, so I must be reading and/or writing in a wrong memory address.
Please, could you tell me what is the right way to deal with putTile and 2x2 sprites?
Thanks and regards
I'm trying to use britlion's putTile library but I'm getting screen garbage instead of a defined 2x2 UDG. For instance, please look at this code that defines a 2x2 circle:
Code:
Dim circulo(31) As uByte => { _
0, 63, 64, 67, 79, 79, 95, 95, _ REM bloque circulo 1 de 4
0,252, 2,194,242,242,250,250, _
95, 95, 79, 79, 67, 64, 63, 0, _
250,250,242,242,194, 2,252, 0 _
}
Poke uInteger 23675, (@circulo (0))
putTile (10,10,@circulo)
Instead of printing a 2x2 circle with an outside square, it prints some screen garbage, including flashing sprites, so I must be reading and/or writing in a wrong memory address.
Please, could you tell me what is the right way to deal with putTile and 2x2 sprites?
Thanks and regards