-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_logo_kernel.asm
45 lines (39 loc) · 1.24 KB
/
_logo_kernel.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
logo_draw
ldx #128
jsr sub_wsync_loop
;
; ABB logo draw
; Cribbed from Atari Background Builder
; SPACE: we can recover a lot of space here
;
; lda #68
; jsr sub_respxx
; ldx #1 ;2 2
; stx VDELP0 ;3 5
; stx VDELP1 ;3 8
; stx NUSIZ0 ;3 11
; dex ;2 13; get to zero
; stx NUSIZ1 ;3 16
; lda #$10 ;2 18
; sta WSYNC ;-----
; stx HMP0 ;3 3
; sta HMP1 ;3 6
; sta HMOVE ;3 9
; ldx #LOGO_HEIGHT-1
; ldy clock
; _logo_loop
; sta WSYNC ;3 --
; sty COLUP0 ;3 3
; sty COLUP1 ;3 6
; lda LOGO_0,x ;4 10
; sta GRP0 ;3 13
; lda LOGO_1,x ;4 17
; sta GRP1 ;3 20
; lda LOGO_2,x ;4 24
; sta GRP0 ;3 27
; iny ;2 29
; SLEEP 16 ;16 45
; sta GRP1 ;3 48
; dex ;2 50
; bpl _logo_loop ;2 52
jmp waitOnOverscan