2022-11-12 14:31:56 -05:00
|
|
|
;================================
|
|
|
|
; draw the sorta vectored logo
|
|
|
|
;================================
|
|
|
|
; 908 bytes -- first display
|
|
|
|
; 916 bytes -- scroll down
|
2022-11-12 18:40:59 -05:00
|
|
|
; 914 bytes -- assume < 256 co-ords
|
|
|
|
; 908 bytes -- assume first co-oord is an HPLOT
|
|
|
|
; 906 bytes -- save value on stack rather than ZP
|
2022-11-12 23:23:32 -05:00
|
|
|
; discontinuity when improving the sound code
|
|
|
|
; 2BD bytes -- after really optimizing the draw code
|
2022-11-12 14:31:56 -05:00
|
|
|
|
|
|
|
show_logo:
|
|
|
|
|
2022-11-13 01:07:13 -05:00
|
|
|
; 101 0000
|
|
|
|
|
2022-11-12 23:53:22 -05:00
|
|
|
lda #80
|
2022-11-12 14:31:56 -05:00
|
|
|
sta LETTER_Y
|
2022-11-12 23:53:22 -05:00
|
|
|
ldx #$7 ; color white
|
2022-11-13 01:07:13 -05:00
|
|
|
lda #1 ; apple rotation
|
2022-11-12 23:23:32 -05:00
|
|
|
jsr draw_logo
|
2022-11-12 14:31:56 -05:00
|
|
|
|
2022-11-13 01:07:13 -05:00
|
|
|
lda #$20 ; switch HGR draw page
|
2022-11-12 23:23:32 -05:00
|
|
|
sta HGR_PAGE
|
2022-11-12 14:31:56 -05:00
|
|
|
|
2022-11-13 01:07:13 -05:00
|
|
|
lda #88
|
2022-11-12 23:53:22 -05:00
|
|
|
sta LETTER_Y
|
|
|
|
ldx #$0 ; color black
|
2022-11-13 01:07:13 -05:00
|
|
|
lda #63 ; apple rotation
|
2022-11-12 23:23:32 -05:00
|
|
|
jsr draw_logo
|
2022-11-12 14:31:56 -05:00
|
|
|
|