Last active
July 2, 2016 16:52
-
-
Save munshkr/9cd75fcc7ff94e8dd99b03b7a3ebb37c to your computer and use it in GitHub Desktop.
Programa autoejecutable para C64 Studio, imágenes en modo texto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;screen char data | |
!byte $f9,$f9,$e4,$a0,$a0,$a0,$e8,$e8,$e8,$e2,$e8,$e3,$f7,$c5,$c4,$c5,$20,$20,$20,$3d,$20,$e4,$f9,$e2,$e2,$78,$e2,$f9,$7b,$68,$e6,$68,$68,$20,$e4,$f9,$e2,$f9,$d2,$d2 | |
!byte $62,$f8,$f8,$f7,$c4,$7e,$27,$3a,$22,$68,$20,$7c,$a0,$a0,$a0,$3a,$20,$20,$20,$3d,$20,$64,$6f,$79,$62,$f7,$f9,$f8,$f7,$6c,$6c,$20,$20,$5c,$f7,$f7,$e3,$e4,$e4,$a0 | |
!byte $42,$7c,$a0,$a0,$69,$20,$20,$5c,$20,$27,$5c,$20,$4d,$20,$21,$3a,$20,$20,$20,$20,$20,$6c,$6c,$a0,$69,$20,$27,$20,$66,$6c,$6c,$6c,$20,$20,$5c,$e6,$f8,$62,$79,$79 | |
!byte $21,$20,$a0,$e6,$20,$20,$20,$79,$4c,$20,$66,$64,$20,$2c,$20,$20,$20,$20,$20,$20,$20,$20,$20,$6a,$20,$20,$20,$20,$20,$20,$20,$20,$20,$5c,$20,$e6,$e6,$68,$68,$20 | |
!byte $3a,$20,$20,$5c,$27,$6c,$e4,$ef,$e4,$a2,$ca,$e4,$65,$5c,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$68,$68,$68,$68 | |
!byte $20,$20,$20,$3e,$2e,$69,$62,$20,$7b,$e1,$7b,$6c,$7e,$29,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$5c,$20,$20,$20,$20,$20,$20,$20,$68,$e6,$e6,$ec,$a0,$fb | |
!byte $20,$20,$20,$7c,$61,$a0,$c5,$c4,$c5,$f5,$e5,$c4,$7b,$27,$20,$20,$20,$20,$20,$20,$20,$5c,$20,$20,$20,$20,$20,$5c,$20,$20,$20,$20,$20,$5c,$66,$ec,$fb,$f6,$f4,$f5 | |
!byte $20,$20,$20,$20,$5c,$ca,$e0,$a0,$d5,$c6,$c9,$a0,$7e,$20,$20,$20,$20,$20,$20,$20,$5c,$e6,$20,$20,$20,$20,$e6,$20,$5c,$20,$20,$20,$20,$5c,$66,$e0,$df,$5f,$e1,$e1 | |
!byte $20,$20,$20,$20,$27,$7c,$e0,$ba,$ba,$95,$ba,$ec,$27,$20,$20,$20,$20,$20,$20,$5c,$e6,$e6,$20,$61,$20,$e1,$e6,$e6,$20,$5c,$20,$20,$20,$20,$66,$fb,$fa,$20,$20,$20 | |
!byte $20,$20,$20,$20,$20,$5c,$ec,$6c,$cc,$cf,$e1,$20,$20,$20,$20,$20,$20,$20,$20,$e6,$e6,$69,$20,$6f,$62,$61,$e6,$68,$20,$20,$20,$20,$20,$20,$68,$df,$62,$df,$20,$20 | |
!byte $20,$20,$20,$20,$20,$20,$fc,$a0,$e3,$f7,$e3,$7e,$20,$5c,$20,$20,$20,$20,$20,$68,$e6,$e6,$fb,$a0,$ec,$75,$68,$20,$20,$20,$20,$20,$20,$20,$20,$66,$66,$5f,$20,$20 | |
!byte $20,$55,$44,$49,$20,$20,$77,$78,$f9,$f9,$7e,$20,$68,$66,$20,$68,$20,$20,$20,$20,$68,$e6,$57,$e0,$57,$74,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$68,$20,$20,$20 | |
!byte $20,$4a,$46,$4b,$7b,$20,$20,$20,$68,$20,$20,$2c,$e1,$66,$66,$68,$20,$20,$20,$20,$20,$68,$cf,$a2,$d0,$7e,$20,$20,$20,$20,$20,$5c,$20,$20,$20,$20,$20,$20,$20,$20 | |
!byte $20,$7c,$ef,$7e,$69,$20,$20,$68,$3a,$5c,$68,$5c,$27,$66,$68,$20,$20,$20,$20,$20,$20,$20,$22,$22,$22,$20,$20,$20,$20,$20,$5c,$66,$20,$6f,$62,$f8,$f7,$f7,$e3,$e3 | |
!byte $20,$20,$e2,$f9,$7e,$20,$20,$2e,$68,$66,$66,$20,$20,$7c,$68,$20,$20,$20,$20,$20,$20,$20,$20,$c7,$20,$20,$20,$20,$20,$5c,$66,$66,$69,$2f,$e9,$69,$4e,$20,$20,$63 | |
!byte $20,$20,$e2,$f9,$7e,$20,$20,$20,$20,$20,$27,$5c,$20,$20,$3b,$20,$20,$20,$20,$20,$20,$20,$20,$c7,$20,$20,$20,$20,$5c,$66,$66,$69,$20,$e9,$69,$4e,$20,$20,$20,$20 | |
!byte $20,$20,$7c,$7e,$20,$20,$20,$20,$64,$60,$20,$3a,$5c,$20,$20,$4d,$20,$20,$20,$20,$20,$20,$20,$78,$20,$20,$20,$6f,$62,$f8,$f7,$e3,$e3,$f7,$f7,$f8,$f8,$62,$62,$79 | |
!byte $20,$20,$20,$20,$5c,$f8,$e3,$ac,$d1,$ae,$f7,$7b,$e5,$5c,$4a,$59,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$fe,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$e0,$a0,$a0 | |
!byte $20,$20,$20,$66,$61,$ef,$e4,$a7,$bb,$e4,$f9,$7e,$e0,$66,$28,$4b,$20,$20,$20,$20,$20,$20,$20,$20,$20,$7c,$f9,$a8,$e0,$e0,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$a0 | |
!byte $20,$68,$e6,$e8,$ea,$66,$66,$68,$5c,$68,$5c,$e1,$a0,$e8,$66,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$6c,$fa,$f7,$c5,$c4,$c3,$c6,$d2,$ef,$e4,$e0,$a0,$a0,$e4,$ec | |
!byte $20,$68,$e6,$e8,$a0,$20,$5c,$6c,$62,$68,$66,$6a,$a0,$e0,$e8,$e6,$68,$20,$20,$20,$20,$20,$20,$20,$20,$7c,$fa,$78,$e2,$f9,$ef,$e4,$d7,$a0,$e3,$f7,$c5,$c4,$cf,$7b | |
!byte $68,$5c,$dc,$a0,$a0,$65,$20,$f4,$e0,$7b,$5c,$68,$a0,$e0,$dc,$e6,$e6,$20,$20,$20,$20,$20,$20,$20,$20,$fb,$f7,$f8,$62,$79,$6f,$64,$60,$63,$77,$78,$e2,$f9,$cf,$7e | |
!byte $20,$68,$e6,$a0,$a0,$f6,$20,$e0,$e0,$e0,$20,$e1,$e0,$e8,$e0,$e8,$e6,$5c,$5c,$20,$20,$20,$20,$20,$20,$20,$63,$77,$78,$e2,$20,$63,$77,$45,$f7,$f8,$62,$79,$6f,$fe | |
!byte $20,$20,$5c,$e8,$e0,$61,$20,$e5,$a0,$a0,$65,$20,$e2,$a0,$e8,$e6,$20,$68,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$22,$66,$68,$20,$20,$20,$63,$77,$78,$e2,$f9,$ef | |
!byte $20,$20,$68,$20,$e6,$20,$20,$e6,$e8,$e6,$68,$68,$68,$e6,$e6,$20,$68,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20,$20 | |
;screen color data | |
!byte $06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$08,$08,$08,$09,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$06 | |
!byte $06,$06,$06,$06,$06,$06,$09,$09,$09,$09,$09,$06,$06,$06,$06,$09,$08,$08,$08,$09,$08,$06,$06,$06,$06,$06,$06,$06,$06,$07,$09,$08,$08,$06,$06,$06,$06,$06,$06,$06 | |
!byte $09,$06,$06,$06,$06,$09,$08,$09,$09,$09,$09,$09,$09,$08,$06,$09,$02,$02,$02,$09,$08,$06,$06,$06,$06,$08,$09,$08,$06,$09,$09,$09,$09,$08,$06,$06,$06,$06,$06,$06 | |
!byte $09,$02,$06,$06,$01,$09,$09,$08,$08,$09,$09,$08,$01,$09,$09,$09,$08,$02,$09,$08,$08,$09,$09,$09,$09,$02,$08,$08,$08,$06,$08,$08,$08,$06,$08,$06,$06,$09,$09,$08 | |
!byte $09,$02,$06,$09,$09,$08,$08,$08,$08,$08,$08,$08,$09,$09,$08,$09,$08,$02,$02,$02,$02,$01,$01,$01,$01,$01,$02,$08,$08,$06,$08,$08,$08,$08,$08,$08,$09,$09,$09,$09 | |
!byte $02,$02,$09,$09,$09,$08,$01,$01,$01,$08,$01,$01,$09,$09,$08,$09,$08,$02,$02,$08,$08,$08,$09,$09,$09,$09,$09,$08,$08,$08,$08,$08,$08,$08,$09,$09,$09,$09,$09,$09 | |
!byte $02,$02,$09,$09,$09,$08,$08,$08,$08,$08,$08,$08,$08,$09,$08,$08,$02,$02,$08,$08,$08,$02,$01,$01,$01,$01,$01,$02,$08,$08,$08,$08,$08,$09,$09,$09,$08,$08,$08,$08 | |
!byte $02,$02,$02,$01,$09,$09,$08,$08,$08,$08,$08,$08,$08,$09,$08,$08,$08,$08,$08,$08,$02,$02,$01,$01,$01,$01,$02,$01,$02,$08,$08,$08,$08,$09,$09,$09,$0a,$0a,$0a,$0a | |
!byte $02,$02,$02,$09,$09,$09,$08,$08,$08,$08,$08,$08,$09,$09,$09,$08,$02,$08,$08,$02,$02,$04,$07,$09,$01,$04,$04,$02,$02,$02,$08,$08,$08,$08,$09,$09,$0a,$08,$08,$08 | |
!byte $02,$02,$02,$01,$01,$09,$08,$07,$07,$07,$09,$09,$09,$02,$02,$08,$02,$08,$08,$02,$04,$04,$01,$03,$03,$03,$02,$02,$08,$08,$02,$08,$08,$08,$09,$09,$08,$08,$08,$08 | |
!byte $02,$02,$02,$0b,$01,$01,$09,$08,$08,$08,$08,$08,$02,$02,$02,$02,$02,$08,$08,$02,$02,$04,$03,$0d,$0d,$03,$02,$08,$08,$08,$02,$02,$02,$02,$09,$09,$09,$09,$08,$08 | |
!byte $09,$01,$0f,$0c,$01,$01,$09,$09,$08,$08,$09,$02,$02,$02,$02,$02,$02,$08,$08,$08,$02,$02,$07,$01,$07,$03,$08,$08,$08,$08,$02,$02,$02,$02,$02,$08,$09,$08,$08,$08 | |
!byte $09,$0c,$0b,$0b,$09,$09,$01,$01,$06,$06,$06,$06,$04,$04,$02,$02,$02,$08,$08,$08,$08,$02,$0d,$01,$01,$03,$08,$08,$08,$08,$08,$02,$08,$08,$08,$08,$08,$08,$08,$08 | |
!byte $09,$09,$08,$09,$09,$06,$06,$06,$06,$06,$06,$06,$02,$02,$02,$02,$02,$02,$08,$08,$08,$08,$0d,$01,$01,$08,$08,$08,$08,$08,$02,$02,$08,$0b,$0b,$0b,$0b,$0b,$0b,$0b | |
!byte $02,$02,$09,$09,$09,$06,$06,$06,$06,$06,$06,$06,$02,$02,$02,$02,$02,$09,$08,$08,$08,$08,$08,$02,$08,$08,$08,$08,$08,$02,$02,$04,$02,$0e,$0e,$0e,$0e,$0e,$0e,$0b | |
!byte $02,$02,$09,$09,$09,$06,$02,$01,$06,$06,$06,$06,$02,$02,$02,$02,$02,$01,$02,$02,$02,$02,$02,$02,$08,$08,$08,$08,$02,$02,$04,$04,$06,$0e,$0e,$0e,$0e,$0e,$06,$06 | |
!byte $02,$02,$09,$09,$01,$01,$01,$01,$08,$08,$06,$06,$02,$0b,$09,$02,$02,$02,$02,$02,$02,$02,$02,$02,$08,$08,$08,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05 | |
!byte $02,$01,$01,$02,$02,$08,$08,$08,$08,$08,$08,$08,$02,$02,$02,$02,$0b,$02,$02,$02,$02,$02,$02,$08,$08,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05 | |
!byte $01,$01,$02,$02,$02,$09,$08,$08,$08,$08,$08,$08,$02,$02,$02,$02,$0b,$0b,$02,$02,$09,$02,$02,$08,$08,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05 | |
!byte $02,$02,$02,$02,$02,$06,$06,$06,$06,$06,$06,$02,$02,$02,$02,$01,$0b,$0b,$02,$02,$02,$02,$02,$08,$08,$02,$02,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05 | |
!byte $02,$02,$02,$02,$02,$06,$06,$02,$02,$06,$06,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$08,$08,$02,$02,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$02,$02 | |
!byte $02,$02,$02,$02,$02,$02,$06,$02,$02,$02,$06,$06,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$08,$08,$0c,$0c,$0c,$0c,$0c,$0c,$0c,$05,$05,$05,$05,$05,$05,$02,$02 | |
!byte $02,$02,$02,$02,$02,$02,$01,$02,$02,$02,$01,$02,$02,$02,$02,$02,$02,$02,$02,$08,$08,$08,$08,$08,$08,$08,$0c,$0c,$0c,$0c,$08,$0c,$0c,$0c,$0c,$0c,$0c,$0c,$0c,$09 | |
!byte $02,$02,$02,$02,$02,$02,$08,$02,$02,$02,$02,$09,$02,$02,$02,$02,$08,$02,$08,$08,$08,$08,$08,$08,$08,$08,$08,$09,$0b,$0b,$0b,$01,$01,$01,$0c,$0c,$0c,$0c,$0c,$0b | |
!byte $02,$02,$02,$08,$02,$08,$08,$02,$02,$02,$02,$02,$02,$02,$02,$08,$02,$08,$08,$08,$08,$08,$08,$08,$08,$08,$08,$08,$08,$09,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!to "image.prg", cbm | |
BorderColor = 0 | |
BackgroundColor = 0 | |
*= $801 | |
!zone | |
start | |
!word $080b, 2015 | |
!raw $9e, "2061", 0, 0, 0 | |
main | |
sei | |
;; set screen memory at $2000, use char rom | |
lda #%10000100 | |
sta $d018 | |
;; set border and background colors | |
ldx #BorderColor | |
stx $d020 | |
ldy #BackgroundColor | |
sty $d021 | |
;; copy color data to color RAM | |
ldx #0 | |
- | |
!for i, 4 { | |
lda $2000 + 1000 + (i-1)*$100, x | |
sta $d800 + (i-1)*$100, x | |
} | |
inx | |
bne - | |
cli | |
jmp * | |
*= $2000 | |
!source "image.asm" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Programa autoejecutable que muestra una imágen creada por C64 Studio.
Instrucciones
main.asm
a una carpetaimage.asm
main.asm
aACME.exe
, o ejecutar desde la línea de comandos (desde la carpeta)ACME main.asm
.Les debería quedar un
image.prg
en la carpeta.Lo único que no está en el archivo que genera C64 Studio son los colores de fondo y borde. Estos los pueden configurar en
main.asm
en las lineas 3 y 4, donde defineBorderColor
yBackgroundColor
. Ahora están puestos en 0, que es negro para ambos. Por las dudas, la tabla de colores es esta.