6 Commits

Author SHA1 Message Date
Pecusx 439ec83422 Merge pull request #6 from Pecusx/develop
Second joystick button added to controls.
2026-03-12 20:54:05 +01:00
Pecusx ffd3a1907a Merge pull request #5 from Pecusx/develop
ANTIC glitch fixed!
2025-08-05 19:49:41 +02:00
Pecusx bc0e838d79 Merge pull request #4 from Pecusx/develop
Big bug fix!
2025-08-05 10:55:22 +02:00
Pecusx 23471cf054 Merge pull request #3 from Pecusx/develop
Filenames and smol opty
2025-07-31 15:27:52 +02:00
Pecusx dd9226eb5a Merge pull request #2 from Pecusx/develop
Develop v. 1.01
2025-07-31 14:51:26 +02:00
Pecusx 72cb8c8f37 Merge pull request #1 from Pecusx/develop
Silly Venture edition - version 1.00
2025-07-28 09:34:41 +02:00
2 changed files with 7 additions and 19 deletions
+7 -19
View File
@@ -12,7 +12,7 @@
;---------------------------------------------------
.macro build
dta d"1.07" ; number of this build (4 bytes)
dta d"1.05" ; number of this build (4 bytes)
.endm
.macro RMTSong
@@ -57,8 +57,7 @@
.zpvar SpeedTableAdr .word
.zpvar Difficulty .byte ; 0 - normal, 1 - easy
.zpvar LumberjackDir .byte ; 2 - on left , 1 - on right
.zpvar Paddle1State .byte
.zpvar Paddle2State .byte
.zpvar PaddleState .byte
.zpvar LowCharsetBase .byte
.zpvar displayposition .word
.zpvar LastKey .byte ; $ff if no key pressed or last key released
@@ -1807,10 +1806,8 @@ RIPLoop
jsr GetKeyFast
cmp #@kbcode._space ; space, Start
beq restart
lda STRIG0
cmp #@kbcode._tab ; TAB, 1st joy button
beq restart
; cmp #@kbcode._tab ; TAB, 1st joy button
; beq restart
lda RTCLOK+1
cmp #2
bne RIPLoop
@@ -3615,10 +3612,8 @@ notpressedJoyGetKey
;fire
lda STRIG0
beq JoyButton
.IF TARGET = 800 ; More joy buttons , Select and Option key only on A800
jsr Check3button ; Third joy button
bcc JoyButton ; like First button
jsr Check2button ; Second joy button
.IF TARGET = 800 ; Second joy button , Select and Option key only on A800
jsr Check2button
bcc SecondButton
checkSelectKey
lda CONSOL
@@ -3657,15 +3652,8 @@ Check2button
lda PADDL0
and #$c0
eor #$C0
cmp Paddle1State
sta Paddle1State
rts
Check3button
lda PADDL1
and #$c0
eor #$C0
cmp Paddle2State
sta Paddle2State
cmp PaddleState
sta PaddleState
rts
.ENDIF
.endp
BIN
View File
Binary file not shown.