Skip to content

Commit 4b7f9fb

Browse files
jonathanpeppersFodaMike Corsaro
authored
Add the "dotnet bot"! (#57)
Co-authored-by: Mike Corsaro <[email protected]> Co-authored-by: Mike Corsaro <[email protected]>
1 parent acacf1f commit 4b7f9fb

File tree

2 files changed

+21
-18
lines changed

2 files changed

+21
-18
lines changed

samples/staticsprite/Program.cs

+13-10
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
byte[] PALETTE = new byte[32] {
2-
0x01, // screen color
2+
0x30, // screen color
33

4-
0x11,0x30,0x27,0x0, // background palette 0
5-
0x1c,0x20,0x2c,0x0, // background palette 1
6-
0x00,0x10,0x20,0x0, // background palette 2
7-
0x06,0x16,0x26,0x0, // background palette 3
4+
0x11,0x30,0x27,0x0, // background palette 0
5+
0x1c,0x20,0x2c,0x0, // background palette 1
6+
0x00,0x10,0x20,0x0, // background palette 2
7+
0x06,0x16,0x26,0x0, // background palette 3
88

9-
0x16,0x35,0x24,0x0, // sprite palette 0
10-
0x00,0x37,0x25,0x0, // sprite palette 1
11-
0x0d,0x2d,0x3a,0x0, // sprite palette 2
12-
0x0d,0x27,0x2a // sprite palette 3
9+
0x14,0x34,0x0d,0x0, // sprite palette 0
10+
0x00,0x37,0x25,0x0, // sprite palette 1
11+
0x0d,0x2d,0x3a,0x0, // sprite palette 2
12+
0x0d,0x27,0x2a // sprite palette 3
1313
};
1414

1515
pal_all(PALETTE);
16-
oam_spr(40, 40, 0x10, 3, 0);
16+
oam_spr(40, 40, 0xD8, 0, 0);
17+
oam_spr(48, 40, 0xDA, 0, 4);
18+
oam_spr(40, 48, 0xD9, 0, 8);
19+
oam_spr(48, 48, 0xDB, 0, 12);
1720
ppu_on_all();
1821

1922
while (true) ;

samples/staticsprite/chr_generic.s

+8-8
Original file line numberDiff line numberDiff line change
@@ -431,14 +431,14 @@
431431
.byte $00,$00,$00,$38,$7C,$7C,$FE,$FE
432432
.byte $7B,$F3,$F3,$66,$7E,$3C,$00,$00
433433
.byte $FE,$FE,$7C,$7C,$38,$00,$00,$00
434-
.byte $00,$17,$0F,$1F,$12,$30,$08,$18
435-
.byte $00,$00,$00,$00,$0D,$0F,$07,$07
436-
.byte $0F,$1F,$1F,$13,$03,$0E,$0E,$0F
437-
.byte $0F,$1F,$1F,$1C,$0C,$00,$0E,$0F
438-
.byte $00,$C8,$F8,$F0,$40,$40,$00,$00
439-
.byte $00,$00,$00,$00,$A0,$B0,$E0,$C0
440-
.byte $C0,$E0,$E0,$C0,$C0,$C0,$E0,$70
441-
.byte $C0,$E0,$E0,$20,$20,$00,$E0,$70
434+
.byte $30,$33,$0F,$0F,$1C,$1C,$1E,$1F
435+
.byte $30,$33,$0C,$08,$13,$13,$19,$14
436+
.byte $3F,$38,$1F,$1F,$03,$06,$0E,$07
437+
.byte $28,$2F,$14,$1F,$02,$04,$08,$07
438+
.byte $00,$E0,$F0,$F8,$94,$94,$64,$FC
439+
.byte $00,$E0,$10,$08,$FC,$FC,$9C,$04
440+
.byte $FC,$0E,$FE,$E4,$60,$60,$70,$38
441+
.byte $04,$FA,$1A,$E4,$40,$40,$60,$38
442442
.byte $00,$17,$0F,$1F,$12,$30,$08,$18
443443
.byte $00,$00,$00,$00,$0D,$0F,$07,$07
444444
.byte $1F,$1F,$0F,$0F,$3F,$7C,$30,$18

0 commit comments

Comments
 (0)