mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-12 15:30:55 +00:00
mode7: shave a few more bytes off
This commit is contained in:
parent
292ef8059b
commit
d8154d0aab
@ -38,7 +38,7 @@ mode7_demo.o: mode7_demo.s mode7_demo_backgrounds.inc sprites.inc \
|
||||
a2.scrolltext deater.scrolltext wave.krg \
|
||||
../asm_routines/gr_unrle.s \
|
||||
../asm_routines/gr_fast_clear.s \
|
||||
../asm_routines/gr_setpage.s \
|
||||
gr_setpage.s \
|
||||
../asm_routines/gr_fade.s \
|
||||
../asm_routines/gr_copy.s \
|
||||
../asm_routines/gr_scroll.s \
|
||||
|
11
mode7_demo/gr_setpage.s
Normal file
11
mode7_demo/gr_setpage.s
Normal file
@ -0,0 +1,11 @@
|
||||
;==========================================================
|
||||
; set_gr_page0
|
||||
;==========================================================
|
||||
;
|
||||
set_gr_page0:
|
||||
bit PAGE0 ; set page 0
|
||||
bit LORES ; Lo-res graphics
|
||||
bit TEXTGR ; mixed gr/text mode
|
||||
bit SET_GR ; set graphics
|
||||
rts
|
||||
|
@ -117,12 +117,8 @@ mb_setup_clear_reg:
|
||||
dex ; 2
|
||||
bpl mb_setup_clear_reg ; 2nt/3
|
||||
|
||||
|
||||
|
||||
cli ; start interrupts
|
||||
|
||||
|
||||
|
||||
mockingboard_setup_done:
|
||||
|
||||
;================================
|
||||
@ -338,7 +334,7 @@ title_routine:
|
||||
|
||||
.include "../asm_routines/gr_unrle.s"
|
||||
.include "../asm_routines/gr_hlin_double.s"
|
||||
.include "../asm_routines/gr_setpage.s"
|
||||
.include "gr_setpage.s"
|
||||
.include "../asm_routines/gr_fast_clear.s"
|
||||
.include "../asm_routines/pageflip.s"
|
||||
.include "../asm_routines/gr_fade.s"
|
||||
|
Loading…
x
Reference in New Issue
Block a user