mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-21 21:35:16 +02:00
Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ac6bab17d4 | |||
| 0546acbc49 | |||
| f56bbc6ff0 | |||
| 5fd6d44d67 | |||
| bef9b0bd95 | |||
| ce7fb02768 | |||
| 71296b4a29 | |||
| 9e66f9cc00 | |||
| 8ebb689d5f | |||
| be491ae737 | |||
| e8af94ba5d |
@@ -9,7 +9,7 @@
|
|||||||
OptionsScreen
|
OptionsScreen
|
||||||
dta d"Welcome to Scorch v. "
|
dta d"Welcome to Scorch v. "
|
||||||
build ; 4 bytes from scorch.asm (fancy method) :)
|
build ; 4 bytes from scorch.asm (fancy method) :)
|
||||||
dta d" (un)2000-2024"
|
dta d" (un)2000-2025"
|
||||||
|
|
||||||
.IF TARGET = 800
|
.IF TARGET = 800
|
||||||
dta d" Please select option with "
|
dta d" Please select option with "
|
||||||
|
|||||||
+6
-10
@@ -23,10 +23,8 @@ getKeyAfterWait
|
|||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
.IF TARGET = 800
|
.IF TARGET = 800
|
||||||
lda SKSTAT
|
lda SKSTAT
|
||||||
cmp #$ff
|
and #%00000100 ; any key
|
||||||
beq checkJoyGetKey ; key not pressed, check Joy
|
bne checkJoyGetKey ; key not pressed, check Joy
|
||||||
cmp #$f7 ; SHIFT
|
|
||||||
beq checkJoyGetKey
|
|
||||||
.ELIF TARGET = 5200
|
.ELIF TARGET = 5200
|
||||||
lda SkStatSimulator
|
lda SkStatSimulator
|
||||||
and #%11111110
|
and #%11111110
|
||||||
@@ -137,8 +135,8 @@ StillWait
|
|||||||
beq StillWait
|
beq StillWait
|
||||||
.IF TARGET = 800
|
.IF TARGET = 800
|
||||||
lda SKSTAT
|
lda SKSTAT
|
||||||
cmp #$ff
|
and #%00000100 ; any key
|
||||||
bne StillWait
|
beq StillWait
|
||||||
lda CONSOL
|
lda CONSOL
|
||||||
and #%00000110 ; Select and Option only
|
and #%00000110 ; Select and Option only
|
||||||
cmp #%00000110
|
cmp #%00000110
|
||||||
@@ -186,10 +184,8 @@ KeyAutoReleased ; autorepeat
|
|||||||
and #%00000101 ; Start + Option
|
and #%00000101 ; Start + Option
|
||||||
beq QuitToGameover
|
beq QuitToGameover
|
||||||
lda SKSTAT
|
lda SKSTAT
|
||||||
cmp #$ff
|
and #%00000100 ; any key
|
||||||
jeq nokeys
|
jne nokeys
|
||||||
cmp #$f7 ; SHIFT
|
|
||||||
jeq nokeys
|
|
||||||
|
|
||||||
lda kbcode
|
lda kbcode
|
||||||
and #%10111111 ; SHIFT elimination
|
and #%10111111 ; SHIFT elimination
|
||||||
|
|||||||
@@ -336,6 +336,8 @@ StartPressed
|
|||||||
jsr _SetDLIproc
|
jsr _SetDLIproc
|
||||||
.endm
|
.endm
|
||||||
.proc _SetDLIproc
|
.proc _SetDLIproc
|
||||||
|
LDA #$00
|
||||||
|
STA NMIEN
|
||||||
LDA #$C0
|
LDA #$C0
|
||||||
STY VDSLST
|
STY VDSLST
|
||||||
STX VDSLST+1
|
STX VDSLST+1
|
||||||
|
|||||||
+3
-1
@@ -44,9 +44,11 @@
|
|||||||
.MACRO VDLI
|
.MACRO VDLI
|
||||||
; VDLI #WORD
|
; VDLI #WORD
|
||||||
; Initialises Display List Interrupts
|
; Initialises Display List Interrupts
|
||||||
|
LDA #$00
|
||||||
|
STA NMIEN
|
||||||
|
LDA #$C0
|
||||||
LDY # <:1
|
LDY # <:1
|
||||||
LDX # >:1
|
LDX # >:1
|
||||||
LDA #$C0
|
|
||||||
STY $0200
|
STY $0200
|
||||||
STX $0201
|
STX $0201
|
||||||
STA NMIEN
|
STA NMIEN
|
||||||
|
|||||||
@@ -77,6 +77,16 @@ With the advent of [fujinet](https://fujinet.online/) we are thinking about maki
|
|||||||
|
|
||||||
## Changelog:
|
## Changelog:
|
||||||
|
|
||||||
|
###### Version 1.52
|
||||||
|
2025-01-20
|
||||||
|
|
||||||
|
Fixes for extremely rare bugs.
|
||||||
|
|
||||||
|
1. Better keyboard handling (thanks Gorgh).
|
||||||
|
|
||||||
|
2. Very rare interrupts problem fixed.
|
||||||
|
|
||||||
|
|
||||||
###### Version 1.51
|
###### Version 1.51
|
||||||
2025-01-15
|
2025-01-15
|
||||||
|
|
||||||
|
|||||||
@@ -156,20 +156,11 @@ rmt_init
|
|||||||
stx ns
|
stx ns
|
||||||
sty ns+1
|
sty ns+1
|
||||||
pha
|
pha
|
||||||
; IFT track_endvariables-track_variables>255
|
|
||||||
; ldy #0
|
|
||||||
; tya
|
|
||||||
;ri0 sta track_variables,y
|
|
||||||
; sta track_endvariables-$100,y
|
|
||||||
; iny
|
|
||||||
; bne ri0
|
|
||||||
; ELS
|
|
||||||
ldy #track_endvariables-track_variables
|
ldy #track_endvariables-track_variables
|
||||||
lda #0
|
lda #0
|
||||||
ri0 sta track_variables-1,y
|
ri0 sta track_variables-1,y
|
||||||
dey
|
dey
|
||||||
bne ri0
|
bne ri0
|
||||||
; EIF
|
|
||||||
ldy #4
|
ldy #4
|
||||||
lda (ns),y
|
lda (ns),y
|
||||||
sta v_maxtracklen
|
sta v_maxtracklen
|
||||||
@@ -202,10 +193,13 @@ ri1 lda (ns),y
|
|||||||
rmt_silence
|
rmt_silence
|
||||||
lda #0
|
lda #0
|
||||||
sta $d208
|
sta $d208
|
||||||
|
sta $d208+$10
|
||||||
ldy #3
|
ldy #3
|
||||||
sty $d20f
|
sty $d20f
|
||||||
|
sty $d20f+$10
|
||||||
ldy #8
|
ldy #8
|
||||||
si1 sta $d200,y
|
si1 sta $d200,y
|
||||||
|
sta $d200+$10,y
|
||||||
dey
|
dey
|
||||||
bpl si1
|
bpl si1
|
||||||
lda #FEAT_INSTRSPEED
|
lda #FEAT_INSTRSPEED
|
||||||
@@ -611,9 +605,9 @@ qq2a
|
|||||||
ora #2
|
ora #2
|
||||||
tax
|
tax
|
||||||
qq3
|
qq3
|
||||||
cpx v_audctl
|
; cpx v_audctl
|
||||||
bne qq5
|
; bne qq5
|
||||||
qq5
|
;qq5
|
||||||
stx v_audctl
|
stx v_audctl
|
||||||
rmt_p5
|
rmt_p5
|
||||||
; lda v_ainstrspeed
|
; lda v_ainstrspeed
|
||||||
|
|||||||
+1
-1
@@ -679,7 +679,7 @@ CreditsEnd
|
|||||||
.IF TARGET = 5200
|
.IF TARGET = 5200
|
||||||
; Atari 5200 splash
|
; Atari 5200 splash
|
||||||
NewSplashText=*
|
NewSplashText=*
|
||||||
dta d" 2024 atariage", $4e, "com " ; $4e - non blinking dot
|
dta d" 2025 atariage", $4e, "com " ; $4e - non blinking dot
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
.endif ; .IF *>0
|
.endif ; .IF *>0
|
||||||
|
|||||||
+1
-1
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
;---------------------------------------------------
|
;---------------------------------------------------
|
||||||
.macro build
|
.macro build
|
||||||
dta d"1.51" ; number of this build (4 bytes)
|
dta d"1.52" ; number of this build (4 bytes)
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro RMTSong
|
.macro RMTSong
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user