Proof of concept working

This commit is contained in:
Quinn Dunki 2016-07-20 22:44:22 -05:00
parent 6e2bcdb352
commit 0a1cd5b8ed
5 changed files with 160 additions and 14 deletions

View File

@ -11,6 +11,7 @@
707005BF1D3EC7FD00623A10 /* hgrtest.s */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.asm; path = hgrtest.s; sourceTree = "<group>"; }; 707005BF1D3EC7FD00623A10 /* hgrtest.s */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.asm; path = hgrtest.s; sourceTree = "<group>"; };
707005C01D3FD65900623A10 /* hgrtable.s */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = hgrtable.s; sourceTree = "<group>"; }; 707005C01D3FD65900623A10 /* hgrtable.s */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = hgrtable.s; sourceTree = "<group>"; };
7090ABA91D4012A600F02EAA /* spritedata.s */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = spritedata.s; sourceTree = "<group>"; }; 7090ABA91D4012A600F02EAA /* spritedata.s */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = spritedata.s; sourceTree = "<group>"; };
7090ABAA1D407B8100F02EAA /* spritegen.s */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.asm; path = spritegen.s; sourceTree = "<group>"; };
/* End PBXFileReference section */ /* End PBXFileReference section */
/* Begin PBXGroup section */ /* Begin PBXGroup section */
@ -20,6 +21,7 @@
707005BE1D3EC75F00623A10 /* Makefile */, 707005BE1D3EC75F00623A10 /* Makefile */,
707005BF1D3EC7FD00623A10 /* hgrtest.s */, 707005BF1D3EC7FD00623A10 /* hgrtest.s */,
7090ABA91D4012A600F02EAA /* spritedata.s */, 7090ABA91D4012A600F02EAA /* spritedata.s */,
7090ABAA1D407B8100F02EAA /* spritegen.s */,
707005C01D3FD65900623A10 /* hgrtable.s */, 707005C01D3FD65900623A10 /* hgrtable.s */,
); );
sourceTree = "<group>"; sourceTree = "<group>";

BIN
box.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 B

After

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

View File

@ -84,47 +84,47 @@ loop:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
BLIT 20,80,SPRITE0 BLIT 20,80,BOX0
WAIT WAIT
BLIT 20,80,BLACK BLIT 20,80,BLACK
BLIT 20,80,SPRITE1 BLIT 20,80,BOX1
BLIT 21,80,SPRITE2 BLIT 21,80,BOX2
WAIT WAIT
BLIT 20,80,BLACK BLIT 20,80,BLACK
BLIT 21,80,BLACK BLIT 21,80,BLACK
BLIT 20,80,SPRITE3 BLIT 20,80,BOX3
BLIT 21,80,SPRITE4 BLIT 21,80,BOX4
WAIT WAIT
BLIT 20,80,BLACK BLIT 20,80,BLACK
BLIT 21,80,BLACK BLIT 21,80,BLACK
BLIT 20,80,SPRITE5 BLIT 20,80,BOX5
BLIT 21,80,SPRITE6 BLIT 21,80,BOX6
WAIT WAIT
BLIT 20,80,BLACK BLIT 20,80,BLACK
BLIT 21,80,BLACK BLIT 21,80,BLACK
BLIT 21,80,SPRITE7 BLIT 21,80,BOX7
BLIT 22,80,SPRITE8 BLIT 22,80,BOX8
WAIT WAIT
BLIT 21,80,BLACK BLIT 21,80,BLACK
BLIT 22,80,BLACK BLIT 22,80,BLACK
BLIT 21,80,SPRITE9 BLIT 21,80,BOX9
BLIT 22,80,SPRITE10 BLIT 22,80,BOX10
WAIT WAIT
BLIT 21,80,BLACK BLIT 21,80,BLACK
BLIT 22,80,BLACK BLIT 22,80,BLACK
BLIT 21,80,SPRITE11 BLIT 21,80,BOX11
BLIT 22,80,SPRITE12 BLIT 22,80,BOX12
WAIT WAIT
BLIT 21,80,BLACK BLIT 21,80,BLACK
BLIT 22,80,BLACK BLIT 22,80,BLACK
BLIT 22,80,SPRITE0 BLIT 22,80,BOX0
WAIT WAIT
BLIT 22,80,BLACK BLIT 22,80,BLACK
@ -222,6 +222,7 @@ venetianFill_inner:
.include "hgrtable.s" .include "hgrtable.s"
.include "spritedata.s" .include "spritedata.s"
.include "spritegen.s"
; Suppress some linker warnings - Must be the last thing in the file ; Suppress some linker warnings - Must be the last thing in the file

143
spritegen.s Normal file
View File

@ -0,0 +1,143 @@
BOX0:
.byte %01010101
.byte %01010001
.byte %01000101
.byte %01010001
.byte %01000101
.byte %01010001
.byte %01000101
.byte %01010101
BOX1:
.byte %01010100
.byte %01000100
.byte %00010100
.byte %01000100
.byte %00010100
.byte %01000100
.byte %00010100
.byte %01010100
BOX2:
.byte %00000010
.byte %00000010
.byte %00000010
.byte %00000010
.byte %00000010
.byte %00000010
.byte %00000010
.byte %00000010
BOX3:
.byte %01010000
.byte %00010000
.byte %01010000
.byte %00010000
.byte %01010000
.byte %00010000
.byte %01010000
.byte %01010000
BOX4:
.byte %00001010
.byte %00001010
.byte %00001000
.byte %00001010
.byte %00001000
.byte %00001010
.byte %00001000
.byte %00001010
BOX5:
.byte %01000000
.byte %01000000
.byte %01000000
.byte %01000000
.byte %01000000
.byte %01000000
.byte %01000000
.byte %01000000
BOX6:
.byte %00101010
.byte %00101000
.byte %00100010
.byte %00101000
.byte %00100010
.byte %00101000
.byte %00100010
.byte %00101010
BOX7:
.byte %00101010
.byte %00100010
.byte %00001010
.byte %00100010
.byte %00001010
.byte %00100010
.byte %00001010
.byte %00101010
BOX8:
.byte %00000001
.byte %00000001
.byte %00000001
.byte %00000001
.byte %00000001
.byte %00000001
.byte %00000001
.byte %00000001
BOX9:
.byte %00101000
.byte %00001000
.byte %00101000
.byte %00001000
.byte %00101000
.byte %00001000
.byte %00101000
.byte %00101000
BOX10:
.byte %00000101
.byte %00000101
.byte %00000100
.byte %00000101
.byte %00000100
.byte %00000101
.byte %00000100
.byte %00000101
BOX11:
.byte %00100000
.byte %00100000
.byte %00100000
.byte %00100000
.byte %00100000
.byte %00100000
.byte %00100000
.byte %00100000
BOX12:
.byte %00010101
.byte %00010100
.byte %00010001
.byte %00010100
.byte %00010001
.byte %00010100
.byte %00010001
.byte %00010101