Skip to content

Commit

Permalink
upload only imemcopy
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmolina committed Feb 23, 2019
1 parent f27d9b9 commit 4a79c6b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions alley.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <sound.h> // for bit_beepfx()
#include <string.h>
#include <stdlib.h>
#include <intrinsic.h>

// screen rectangle
struct sp1_Rect full_screen = {0, 0, 32, 24};
Expand Down Expand Up @@ -61,6 +62,13 @@ struct sp1_ss * add_sprite_misifu() {

int main()
{
intrinsic_di();
page(7);
memcpy(16384, cartoon0, 6912);
page(0);
intrinsic_ei();
in_wait_key();
/*
struct sp1_ss* sp = add_sprite_misifu();
zx_border(INK_WHITE);
Expand All @@ -70,15 +78,12 @@ int main()
sp1_Invalidate(&full_screen);
sp1_UpdateNow();
page(7);
memcpy(16384, cartoon0, 6912);
page(0);
while(1) {
// sprite, rectangle, offset (animations), y, x, rotationy, rotationx
sp1_MoveSprAbs(sp, &full_screen, (void*) 1, 10, 12, 0, 0);
sp1_UpdateNow();
}
}*/
}

/**
Expand Down
Binary file modified alley.tap
Binary file not shown.
Binary file modified alley_CODE.bin
Binary file not shown.

0 comments on commit 4a79c6b

Please sign in to comment.