prog8: const uword SPRITE_DATA_ADDR = $2000 ?
Posted: Wed Mar 13, 2024 4:07 pm
Hi good afternoon.
why does the data in the sprite demo start here in prog8:
const uword SPRITE_DATA_ADDR = $2000 ?
in the x16 kernal : $1:3000 - $1:afff
-------------------------------
main {
; we choose arbitrary unused vram location for sprite data: $12000
const ubyte SPRITE_DATA_BANK = 1
const uword SPRITE_DATA_ADDR = $2000
const ubyte SPRITE_PALETTE_OFFSET_IDX = 16
.......
.......
Thanks.
greeting
why does the data in the sprite demo start here in prog8:
const uword SPRITE_DATA_ADDR = $2000 ?
in the x16 kernal : $1:3000 - $1:afff
-------------------------------
main {
; we choose arbitrary unused vram location for sprite data: $12000
const ubyte SPRITE_DATA_BANK = 1
const uword SPRITE_DATA_ADDR = $2000
const ubyte SPRITE_PALETTE_OFFSET_IDX = 16
.......
.......
Thanks.
greeting