mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
Macro "wait" optimization, and better credits
This commit is contained in:
+5
-2
@@ -626,10 +626,13 @@ CreditsStart
|
|||||||
dta d"Bocianu, Probabilitydragon, EnderDude",d","*
|
dta d"Bocianu, Probabilitydragon, EnderDude",d","*
|
||||||
dta d"Beeblebrox, KrzysRog, lopezpb, Dracon",d","*
|
dta d"Beeblebrox, KrzysRog, lopezpb, Dracon",d","*
|
||||||
dta d"brad-colbert, archon800, nowy80",d","*
|
dta d"brad-colbert, archon800, nowy80",d","*
|
||||||
dta d"Shaggy the Atarian, RetroBorsuk, ZP",d"H"*
|
dta d"Shaggy the Atarian, RetroBorsuk, ZPH"
|
||||||
.IF target = 5200
|
.IF target = 5200
|
||||||
dta d"x-usr(1536), Aking, JAC!, phaero",d"n"*
|
dta d","*
|
||||||
|
dta d"x-usr(1536), Aking, JAC!, phaeron",d","*
|
||||||
dta d"RB520",d"0"*
|
dta d"RB520",d"0"*
|
||||||
|
.ELSE
|
||||||
|
dta d" "*
|
||||||
.ENDIF
|
.ENDIF
|
||||||
dta d" "*
|
dta d" "*
|
||||||
dta d"Additional testin",d"g"*
|
dta d"Additional testin",d"g"*
|
||||||
|
|||||||
+10
-15
@@ -74,23 +74,18 @@
|
|||||||
|
|
||||||
.ENDM
|
.ENDM
|
||||||
;-------------------------------------
|
;-------------------------------------
|
||||||
.MACRO WAIT
|
.MACRO WAIT
|
||||||
; WAIT
|
; WAIT
|
||||||
; waits one frame (1/50 s(PAL) or 1/60s(NTSC))
|
; waits one frame (1/50 s(PAL) or 1/60s(NTSC))
|
||||||
?zero LDA VCOUNT
|
?ze LDA VCOUNT
|
||||||
cmp #$05
|
cmp #16 ; if line<16 then wait for line>15 (long VBI protection)
|
||||||
bcc ?zero
|
bcc ?ze
|
||||||
cmp #$70
|
sbc #10 ; last lines correction
|
||||||
bcc ?WA
|
?wa cmp VCOUNT
|
||||||
sbc #10 ; last lines correction
|
bcc ?wa
|
||||||
?WA cmp VCOUNT
|
?wf cmp VCOUNT
|
||||||
beq ?WA
|
bcs ?wf
|
||||||
bcc ?WA
|
.ENDM
|
||||||
?WFRAME cmp VCOUNT
|
|
||||||
beq ?nowait
|
|
||||||
bcs ?WFRAME
|
|
||||||
?nowait
|
|
||||||
.ENDM
|
|
||||||
;-------------------------------------
|
;-------------------------------------
|
||||||
.macro waitRTC
|
.macro waitRTC
|
||||||
lda RTCLOK+1
|
lda RTCLOK+1
|
||||||
|
|||||||
+10
-15
@@ -73,23 +73,18 @@
|
|||||||
PLA
|
PLA
|
||||||
.ENDM
|
.ENDM
|
||||||
;-------------------------------------
|
;-------------------------------------
|
||||||
.MACRO WAIT
|
.MACRO WAIT
|
||||||
; WAIT
|
; WAIT
|
||||||
; waits one frame (1/50 s(PAL) or 1/60s(NTSC))
|
; waits one frame (1/50 s(PAL) or 1/60s(NTSC))
|
||||||
?zero LDA VCOUNT
|
?ze LDA VCOUNT
|
||||||
cmp #$05 ; if line<5 then wait for line>4
|
cmp #16 ; if line<16 then wait for line>15 (long VBI protection)
|
||||||
bcc ?zero
|
bcc ?ze
|
||||||
cmp #$70
|
sbc #10 ; last lines correction
|
||||||
bcc ?WA ; if line>=112 then
|
?wa cmp VCOUNT
|
||||||
sbc #10 ; last lines correction
|
bcc ?wa
|
||||||
?WA cmp VCOUNT
|
?wf cmp VCOUNT
|
||||||
beq ?WA
|
bcs ?wf
|
||||||
bcc ?WA
|
.ENDM
|
||||||
?WFRAME cmp VCOUNT
|
|
||||||
beq ?nowait
|
|
||||||
bcs ?WFRAME
|
|
||||||
?nowait
|
|
||||||
.ENDM
|
|
||||||
;-------------------------------------
|
;-------------------------------------
|
||||||
.macro waitRTC
|
.macro waitRTC
|
||||||
lda RTCLOK+2
|
lda RTCLOK+2
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user