mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-11-26 12:49:21 +00:00
Extended sprite CX16 example. #581
This commit is contained in:
parent
e4349daaf6
commit
559d4f65c7
@ -32,7 +32,7 @@ void main() {
|
||||
memcpy_to_vram((char)>VERA_SPRITE_ATTR, vram_sprite_attr, &SPRITE_ATTR, sizeof(SPRITE_ATTR));
|
||||
vram_sprite_attr += sizeof(SPRITE_ATTR);
|
||||
}
|
||||
// Makea border
|
||||
// Make a border
|
||||
//*VERA_CTRL |= VERA_DCSEL;
|
||||
//*VERA_DC_HSTART = 16/4;
|
||||
//*VERA_DC_HSTOP = 624/4;
|
||||
|
@ -315,7 +315,7 @@ main: {
|
||||
cmp #$80
|
||||
bcc __b2
|
||||
// *VERA_CTRL &= ~VERA_DCSEL
|
||||
// Makea border
|
||||
// Make a border
|
||||
//*VERA_CTRL |= VERA_DCSEL;
|
||||
//*VERA_DC_HSTART = 16/4;
|
||||
//*VERA_DC_HSTOP = 624/4;
|
||||
|
@ -1422,7 +1422,7 @@ main: {
|
||||
// main::@3
|
||||
__b3:
|
||||
// [41] *VERA_CTRL = *VERA_CTRL & ~VERA_DCSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2
|
||||
// Makea border
|
||||
// Make a border
|
||||
//*VERA_CTRL |= VERA_DCSEL;
|
||||
//*VERA_DC_HSTART = 16/4;
|
||||
//*VERA_DC_HSTOP = 624/4;
|
||||
@ -2202,7 +2202,7 @@ main: {
|
||||
// main::@3
|
||||
// *VERA_CTRL &= ~VERA_DCSEL
|
||||
// [41] *VERA_CTRL = *VERA_CTRL & ~VERA_DCSEL -- _deref_pbuc1=_deref_pbuc1_band_vbuc2
|
||||
// Makea border
|
||||
// Make a border
|
||||
//*VERA_CTRL |= VERA_DCSEL;
|
||||
//*VERA_DC_HSTART = 16/4;
|
||||
//*VERA_DC_HSTOP = 624/4;
|
||||
|
Loading…
Reference in New Issue
Block a user