mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-11-04 20:06:09 +00:00
51 lines
943 B
ArmAsm
51 lines
943 B
ArmAsm
.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
|
|
;=======================
|
|
|
|
lda #10
|
|
sta CV
|
|
|
|
scroll_forever:
|
|
lda #>deater_scroll
|
|
sta INH
|
|
lda #<deater_scroll
|
|
sta INL
|
|
|
|
|
|
jsr gr_scroll
|
|
|
|
jmp scroll_forever
|
|
|
|
|
|
;===============================================
|
|
; Routines
|
|
;===============================================
|
|
.include "../asm_routines/gr_fast_clear.s"
|
|
.include "../asm_routines/gr_scroll.s"
|
|
.include "../asm_routines/pageflip.s"
|
|
.include "../asm_routines/gr_setpage.s"
|
|
.include "../asm_routines/gr_offsets.s"
|
|
|
|
;===============================================
|
|
; Variables
|
|
;===============================================
|
|
|
|
.include "deater_scroll.inc"
|
|
|