home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er 1993 February
/
64er_Magazin_93-02_1993_Markt__Technik_de_Side_A.d64
/
dypp.src_seq
< prev
next >
Wrap
Text File
|
2022-10-26
|
7KB
|
285 lines
*= $2000
;{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}{CBM-T}
; d.y.p.p.-routine by uwe michel '92
; 'twilight'
; turbo-ass format...
;{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}
move1 = $00
lda #$01 ;zeichenfarbe
sta $0286 ;
jsr $e544
lda #$00 ; char maske fuer
ldx #$00 ; d.y.p.p.
tay
map tya
sta $0400,x
iny
tya
sta $0428,x
iny
tya
sta $0450,x
iny
tya
sta $0478,x
iny
tya
sta $04a0,x
iny
tya
sta $04c8,x
iny
tya
sta $04f0,x
iny
tya
sta $0518,x
iny
tya
sta $0540,x
inx
iny
cpx #$01
bne map
ldx #$00
char lda #$ff ;werte fuer char
sta $5300,x ;in diesem beisp.
inx ;ein karro...!
cpx #$08
bne char
;{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}
sei ;irq sperren!
lda #$7f ;timer
sta $dc0d ;setzen
lda #$01 ;nur raster irq
sta $d01a ;zulassen
lda #$30 ;raster irq bei
sta $d012 ;rasterzeile 30
lda #<irq1
sta $0314
lda #>irq1
sta $0315
cli
com lda $dc01 ;wenn c= gerueckt
cmp #$df ;ruecksprung in
bne com ;turbo-ass...
jmp $9000
;{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}
irq1 inc $d019
lda #$1b
sta $d011
lda #$1f ;charset bei $3800
sta $d018
lda #$c8 ;single color
sta $d016
lda #$00 ;rahmen u. hinterg.
sta $d020 ;schwarz
sta $d021
ldx #$00
clear lda #$00 ;charsetloeschen
sta $3800,x
inx
bne clear
dec move1
jsr dypp
lda #$fa
sta $d012
lda #<irq1
sta $0314
lda #>irq1
sta $0315
jmp $ea7e
;{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}
dypp ldx move1
ldy sin,x
lda $5300 ;_ erstes charbyte
and #$c0 ;_ erstezeile char
ora $3800,y
sta $3800,y
lda $5301 ;zweites...
and #$c0
ora $3801,y
sta $3801,y
lda $5302 ;3.
and #$c0
ora $3802,y
sta $3802,y
lda $5303 ;4.
and #$c0
ora $3803,y
sta $3803,y
lda $5304 ;5.
and #$c0
ora $3804,y
sta $3804,y
lda $5305 ;6.
and #$c0
ora $3805,y
sta $3805,y
lda $5306 ;7.
and #$c0
ora $3806,y
sta $3806,y
lda $5307 ;8.
and #$c0
ora $3807,y
sta $3807,y
inx
ldy sin,x
lda $5300
and #$30 ;_ zweitezeile char
ora $3800,y
sta $3800,y
lda $5301
and #$30
ora $3801,y
sta $3801,y
lda $5302
and #$30
ora $3802,y
sta $3802,y
lda $5303
and #$30
ora $3803,y
sta $3803,y
lda $5304
and #$30
ora $3804,y
sta $3804,y
lda $5305
and #$30
ora $3805,y
sta $3805,y
lda $5306
and #$30
ora $3806,y
sta $3806,y
lda $5307
and #$30
ora $3807,y
sta $3807,y
inx
ldy sin,x
lda $5300
and #$0c ;3.zeile char
ora $3800,y
sta $3800,y
lda $5301
and #$0c
ora $3801,y
sta $3801,y
lda $5302
and #$0c
ora $3802,y
sta $3802,y
lda $5303
and #$0c
ora $3803,y
sta $3803,y
lda $5304
and #$0c
ora $3804,y
sta $3804,y
lda $5305
and #$0c
ora $3805,y
sta $3805,y
lda $5306
and #$0c
ora $3806,y
sta $3806,y
lda $5307
and #$0c
ora $3807,y
sta $3807,y
inx
ldy sin,x
lda $5300
and #$03 ;4.zeile char
ora $3800,y
sta $3800,y
lda $5301
and #$03
ora $3801,y
sta $3801,y
lda $5302
and #$03
ora $3802,y
sta $3802,y
lda $5303
and #$03
ora $3803,y
sta $3803,y
lda $5304
and #$03
ora $3804,y
sta $3804,y
lda $5305
and #$03
ora $3805,y
sta $3805,y
lda $5306
and #$03
ora $3806,y
sta $3806,y
lda $5307
and #$03
ora $3807,y
sta $3807,y
rts
;{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}
sin .byte $2f,$2e,$2c,$2b,$29,$27
.byte $26,$25,$23,$22,$21,$20
.byte $20,$1f,$1e,$1e,$1e,$1e
.byte $1e,$1e,$1e,$1f,$1f,$20
.byte $21,$22,$23,$24,$26,$27
.byte $28,$29,$2b,$2c,$2d,$2f
.byte $30,$31,$32,$33,$34,$34
.byte $35,$36,$36,$36,$36,$36
.byte $36,$35,$34,$34,$33,$32
.byte $30,$2f,$2d,$2c,$2a,$28
.byte $26,$24,$23,$21,$1e,$1c
.byte $1b,$19,$17,$15,$13,$11
.byte $10,$0e,$0d,$0c,$0b,$0a
.byte $09,$09,$08,$08,$08,$08
.byte $08,$09,$09,$0a,$0b,$0c
.byte $0d,$0e,$0f,$10,$11,$13
.byte $14,$15,$17,$18,$19,$1a
.byte $1b,$1c,$1d,$1e,$1f,$1f
.byte $20,$20,$20,$20,$20,$20
.byte $1f,$1f,$1e,$1d,$1c,$1b
.byte $1a,$19,$17,$16,$14,$13
.byte $11,$0f,$0e,$0c,$0b,$09
.byte $08,$06,$05,$04,$03,$02
.byte $01,$01,$00,$00,$00,$00
.byte $00,$00,$01,$01,$02,$03
.byte $04,$05,$07,$08,$0a,$0b
.byte $0d,$0f,$11,$13,$15,$17
.byte $18,$1a,$1c,$1e,$1f,$21
.byte $22,$24,$25,$26,$27,$28
.byte $28,$29,$29,$29,$2a,$29
.byte $29,$29,$28,$28,$27,$26
.byte $25,$24,$23,$22,$21,$1f
.byte $1e,$1d,$1c,$1b,$1a,$19
.byte $18,$17,$16,$15,$15,$15
.byte $15,$14,$15,$15,$15,$16
.byte $17,$17,$18,$1a,$1b,$1c
.byte $1e,$1f,$21,$23,$25,$27
.byte $28,$2a,$2c,$2e,$30,$32
.byte $33,$35,$37,$38,$39,$3b
.byte $3c,$3c,$3d,$3e,$3e,$3e
.byte $3e,$3e,$3e,$3e,$3d,$3c
.byte $3c,$3b,$39,$38,$37,$36
.byte $34,$33,$31,$2f,$ff
;{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}