dos33fsprogs/demos/demosplash2022/logo_intro.s

31 lines
652 B
ArmAsm
Raw Normal View History

2022-11-12 19:31:56 +00:00
;================================
; draw the sorta vectored logo
;================================
; 908 bytes -- first display
; 916 bytes -- scroll down
2022-11-12 23:40:59 +00: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-13 04:23:32 +00:00
; discontinuity when improving the sound code
; 2BD bytes -- after really optimizing the draw code
2022-11-12 19:31:56 +00:00
show_logo:
2022-11-13 06:07:13 +00:00
; 101 0000
2022-11-13 04:53:22 +00:00
lda #80
2022-11-12 19:31:56 +00:00
sta LETTER_Y
2022-11-13 04:53:22 +00:00
ldx #$7 ; color white
2022-11-13 06:07:13 +00:00
lda #1 ; apple rotation
2022-11-13 04:23:32 +00:00
jsr draw_logo
2022-11-12 19:31:56 +00:00
2022-11-13 06:07:13 +00:00
lda #$20 ; switch HGR draw page
2022-11-13 04:23:32 +00:00
sta HGR_PAGE
2022-11-12 19:31:56 +00:00
2022-11-13 06:07:13 +00:00
lda #88
2022-11-13 04:53:22 +00:00
sta LETTER_Y
ldx #$0 ; color black
2022-11-13 06:07:13 +00:00
lda #63 ; apple rotation
2022-11-13 04:23:32 +00:00
jsr draw_logo
2022-11-12 19:31:56 +00:00