mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
source clean-up
This commit is contained in:
+5
-6
@@ -1,10 +1,10 @@
|
||||
|
||||
icl '../lib/atari.hea'
|
||||
|
||||
|
||||
org $2000
|
||||
joytest
|
||||
joytest
|
||||
mva #0 dmactls
|
||||
|
||||
|
||||
@
|
||||
lda trig0
|
||||
beq pressed
|
||||
@@ -15,6 +15,5 @@ pressed
|
||||
;ora jstick0
|
||||
sta colbak
|
||||
jmp @-
|
||||
|
||||
run joytest
|
||||
|
||||
|
||||
run joytest
|
||||
|
||||
@@ -620,7 +620,7 @@ rmt_p5
|
||||
.IF TARGET = 800
|
||||
ldx #$10 ; pseudo stereo
|
||||
bne SetPokey_OffsetX ; pseudo stereo
|
||||
.ELSE
|
||||
.ELIF TARGET = 5200
|
||||
rts
|
||||
.ENDIF
|
||||
SetPokey
|
||||
|
||||
@@ -6,7 +6,7 @@ song_end
|
||||
|
||||
buffers
|
||||
.ds 256 * 9
|
||||
|
||||
|
||||
POKEY2 = POKEY+$10 ; stereo
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
@@ -22,7 +22,7 @@ POKEY2 = POKEY+$10 ; stereo
|
||||
mva #1 bit_data
|
||||
|
||||
; Example: here initializes song pointer:
|
||||
|
||||
|
||||
;mwa #song_data song_ptr
|
||||
|
||||
; Init all channels:
|
||||
@@ -67,7 +67,7 @@ delay
|
||||
sta POKEY2,x ; stereo
|
||||
dex ;stereo
|
||||
bpl @- ; stereo
|
||||
|
||||
|
||||
lda #>buffers
|
||||
sta bptr+1
|
||||
|
||||
@@ -150,4 +150,3 @@ skip
|
||||
|
||||
stereo_buff ; stereo
|
||||
.ds 9 ; stereo
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/***************************************/
|
||||
|
||||
icl "splash.h"
|
||||
|
||||
|
||||
; --- dmsc LZSS player routine on zero page
|
||||
org $80
|
||||
|
||||
@@ -57,7 +57,7 @@ fnt
|
||||
.ds $0300
|
||||
pmg SPRITES
|
||||
eif
|
||||
|
||||
|
||||
FontSplash
|
||||
ins '../../artwork/weapons_AW6_mod.fnt' ; 'artwork/weapons.fnt'
|
||||
|
||||
@@ -103,14 +103,14 @@ LOOP lda vcount ;synchronization for the first screen (picture) line
|
||||
mva >ant dlptr+1
|
||||
|
||||
icl "output.png.rp.ini"
|
||||
|
||||
|
||||
;--- 16 lines down ---- !!!
|
||||
:16 sta wsync
|
||||
|
||||
|
||||
; wait 13 cycles !!!
|
||||
:4 nop
|
||||
inc byt2
|
||||
|
||||
|
||||
;--- wait 18 cycles
|
||||
; jsr _rts
|
||||
; inc byt3
|
||||
@@ -185,7 +185,7 @@ stop mva #$00 pmcntl ;PMG disabled
|
||||
sta POKEY2,x ; stereo
|
||||
dex
|
||||
bpl @-
|
||||
|
||||
|
||||
;no glitching please (issue #67)
|
||||
lda #0
|
||||
sta $D400 ;dmactl
|
||||
|
||||
Reference in New Issue
Block a user