megademo: split up some files

This commit is contained in:
Vince Weaver 2018-09-17 00:11:35 -04:00
parent 96512ef8bf
commit 8666b8ee1c
3 changed files with 43 additions and 0 deletions

43
megademo/c64_opener.s Normal file
View File

@ -0,0 +1,43 @@
; C64 Opener
; all good demos start with the C64 boot screen, right?
; Apple II has a lot of trouble making clear text with bluish background
; would be a lot clearer if I used black and white
;===================
; set graphics mode
;===================
jsr HOME
bit PAGE0 ; first graphics page
bit FULLGR ; full screen graphics
bit HIRES ; hires mode !!!
bit SET_GR ; graphics mode
lda #<c64
sta LZ4_SRC
lda #>c64
sta LZ4_SRC+1
lda #<c64_end
sta LZ4_END
lda #>c64_end
sta LZ4_END+1
lda #<$2000
sta LZ4_DST
lda #>$2000
sta LZ4_DST+1
jsr lz4_decode
rts
;===================
; graphics
;===================
c64:
.incbin "c64.img.lz4",11
c64_end:

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB