dos33fsprogs/graphics/gr/scroll_text/scroll_demo.s

51 lines
863 B
ArmAsm
Raw Normal View History

2017-12-14 05:59:34 +00:00
.include "zp.inc"
;================================
; Clear screen and setup graphics
;================================
jsr clear_screens ; clear top/bottom of page 0/1
jsr set_gr_page0
;===============
; Init Variables
;===============
lda #0
sta DISP_PAGE
;=======================
; decompress scroll text
;=======================
2017-12-18 06:13:03 +00:00
lda #10
sta CV
scroll_forever:
lda #>deater_scroll
sta INH
lda #<deater_scroll
sta INL
2017-12-18 06:13:03 +00:00
jsr gr_scroll
2017-12-18 06:13:03 +00:00
jmp scroll_forever
2017-12-18 06:13:03 +00:00
;===============================================
; Routines
;===============================================
2021-01-06 15:20:10 +00:00
.include "gr_fast_clear.s"
.include "gr_scroll.s"
.include "pageflip.s"
.include "gr_setpage.s"
.include "gr_offsets.s"
2017-12-14 05:59:34 +00:00
;===============================================
; Variables
;===============================================
.include "deater_scroll.inc"