Previous Thread
Next Thread
Print Thread
Page 2 of 2 1 2
Joined: Feb 2014
Posts: 816
Likes: 30
G
Senior Member
OP Online Content
Senior Member
G
Joined: Feb 2014
Posts: 816
Likes: 30
Cool, I'm going to have to figure out how to build total replay on linux so I can try the latest.


One weird thing, I was trying Gumball (having watched a video on youtube) and when playing with a joystick I can speed up production with joystick up but can't slow down production with joystick down.

If I hit CTRL+K I can do up/down with (E and C) left/right (S and F) D to center, Return to toggle crosshair, Space to flip valves.
CTRL+J for joystick.


Running applewin under linux with wine, the joystick can do up/down, but under mame only up seems to work with gumball.

Joined: Feb 2014
Posts: 816
Likes: 30
G
Senior Member
OP Online Content
Senior Member
G
Joined: Feb 2014
Posts: 816
Likes: 30
[Linked Image from i.imgur.com]

Finally figured out how to zap the gumball bombs.

I can't find any manual on the net, but this is what I figured out:

CTRL+K for keyboard, S/F for left right, D for stop, E/C for factory speed up/down, Return for crosshairs, Space for flip valves
CTRL+J for joystick, button 2 for crosshairs, button 1 to flip valves.

When an exploding gumball shows up there's a warning sound, locate the bomb, bring up the crosshairs and put the crosshairs in contact with the bomb and it will be zapped.

The exploding gumballs don't show up until Thursday.

The crosshairs initially appear over the corkscrew so if you can make the bomb go up the corkscrew you can just activate the crosshairs.
There's also a flashing countdown timer for the bomb in the upper left and you may be able to wait for it to go up the corkscrew.

A pretty good strategy is to use the left chutes as much as possible early on as you can clear the gumball out quickly. If you let it take the long path you have to keep an eye on it and it gets hard to track it with the incoming gumballs. You have to ramp up the speed to keep up with the quota, but don't set it too high that you make mistakes and see the quota get bigger.



edit: I thought I was doing pretty good to get to thursday, check out this longplay


Joined: Feb 2014
Posts: 816
Likes: 30
G
Senior Member
OP Online Content
Senior Member
G
Joined: Feb 2014
Posts: 816
Likes: 30
Looking at the joystick reading code in Gumball,

finding it by watching reads from c065 (paddle1)

wp c065,1,r

This leads to the reading routine at 69d8:
Code
 69D8  lda #$00                                            A9 00
 69DA  sta $e5                                             85 E5
 69DC  sta <HGR.PAGE                                       85 E6
 69DE  lda PTRIG                                           AD 70 C0
 69E1  ldx #$01                                            A2 01
 69E3  lda $c064, x                                        BD 64 C0
 69E6  bpl $69fb                                           10 13
 69E8  inc $e5, x                                          F6 E5
 69EA  dex                                                 CA
 69EB  bpl $69e3                                           10 F6
 69ED  lda PADDL0                                          AD 64 C0
 69F0  ora PADDL1                                          0D 65 C0
 69F3  bpl $69fe                                           10 09
 69F5  lda $e5                                             A5 E5
 69F7  ora $e6                                             05 E6
 69F9  bpl $69e1                                           10 E6
 69FB  nop                                                 EA
 69FC  bpl $69ea                                           10 EC
 69FE  lda $e8                                             A5 E8
 6A00  bpl $6a0d                                           10 0B
 6A02  lda #$3f                                            A9 3F
 6A04  sec                                                 38
 6A05  sbc $e5                                             E5 E5
 6A07  bpl $6a0b                                           10 02
 6A09  lda #$00                                            A9 00
 6A0B  sta $e5                                             85 E5
 6A0D  lda $e9                                             A5 E9
 6A0F  bpl $6a1c                                           10 0B
 6A11  lda #$46                                            A9 46
 6A13  sec                                                 38
 6A14  sbc $e6                                             E5 E6
 6A16  bpl $6a1a                                           10 02
 6A18  lda #$00                                            A9 00
 6A1A  sta <HGR.PAGE                                       85 E6
 6A1C  rts                                                 60

Code
 6EC4  jsr $69d8                                           20 D8 69
 6EC7  lda <HGR.PAGE                                       A5 E6
 6EC9  cmp #$0c                                            C9 0C
 6ECB  bcc $6ed4                                           90 07
 6ECD  cmp #$38                                            C9 38              <<< compares to 38
 6ECF  bcc $6f17                                           90 46


So if I put a breakpoint to show the values being returned:

bp 6a1c,1,{printf "e5=%x e6=%x",b@e5,b@e6;g}


maximum e5 value is 34 (joystick x)

x max, y centered
e5=34 e6=1B
e5=34 e6=1B


maximum e6 value is 35 (joystick y)

x centered, y max
e5=1A e6=35
e5=1A e6=35


Now If I patch the comparison to 35 then the joystick down works

6ECD cmp #$38 C9 38 <<< compares to 38


6ECD cmp #$35 C9 38 <<< compares to 35 now the joystick y down works

Joined: Feb 2014
Posts: 816
Likes: 30
G
Senior Member
OP Online Content
Senior Member
G
Joined: Feb 2014
Posts: 816
Likes: 30
Got past friday... and wanted to see the Z0DWARE message:


Page 2 of 2 1 2

Link Copied to Clipboard
Who's Online Now
1 members (Pernod), 17 guests, and 8 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,085
Posts119,081
Members5,014
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com