Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions Code/v1.97/KeyMouseJoy_mac.asm
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,10 @@ oldvalue sbc #$ff
lsr ;remove noise bit
beq nomove

cmp #acc ;Acceleration Speed
bcc *+3
cmp #acc+1 ;Acceleration Speed
bcc *+5
asl ;X2
sbc #acc

ldx #0
cmp #0
Expand All @@ -387,8 +388,9 @@ neg ora #%10000000
ror ;remove noise bit

cmp #256-acc ;Acceleration Speed
bcs *+3
bcs *+5
asl ;X2
adc #acc

ldx #$ff

Expand Down Expand Up @@ -685,4 +687,4 @@ djr3 lsr ; dy=1 (move down screen), dy=0 (no y change).
;
; at rts time the carry flag contains the fire
; button state. if c=1 then button not pressed.
; if c=0 then pressed.
; if c=0 then pressed.
10 changes: 6 additions & 4 deletions Code/v1.97/KeyMouseJoy_win.asm
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,10 @@ oldvalue sbc #$ff
lsr ;remove noise bit
beq nomove

cmp #acc ;Acceleration Speed
bcc *+3
cmp #acc+1 ;Acceleration Speed
bcc *+5
asl ;X2
sbc #acc

ldx #0
cmp #0
Expand All @@ -387,8 +388,9 @@ neg ora #%10000000
ror ;remove noise bit

cmp #256-acc ;Acceleration Speed
bcs *+3
bcs *+5
asl ;X2
adc #acc

ldx #$ff

Expand Down Expand Up @@ -680,4 +682,4 @@ djr3 lsr ; dy=1 (move down screen), dy=0 (no y change).
;
; at rts time the carry flag contains the fire
; button state. if c=1 then button not pressed.
; if c=0 then pressed.
; if c=0 then pressed.