If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

Bounty Bob Strikes Back! (ZX Spectrum)

From The Cutting Room Floor
Jump to navigation Jump to search

Title Screen

Bounty Bob Strikes Back!

Developers: Big Five Software, U.S. Gold
Publisher: U.S. Gold
Platform: ZX Spectrum
Released in EU: 1985


SourceIcon.png This game has uncompiled source code.


Bounty Bob Strikes Back! Destroy the green goombas! Get the household items! Become the ultimate bounty bobber!

Uncompiled Code

Scattered throughout the game are several fragments of code. These can be found in tzx dump at the following locations.

0x4936:

LD HL,ODADR
ADD HL,DE
PUSH IY
POP BC
LD (HL),C
INC HL
LD (HL),B
LD HL,OSADR
ADD HL,DE
LD BC,(SHADR)
LD (HL),C
INC HL
LD (HL),B
LD A,(NCLOS)
CP 5
JP Z,OCL#P
CALL OCL#P
JP OCL#N

OCL#N:
LD A,1

0x4A1A:

SMNB NZ,OCL#1
RET
OCL#P:
LD HL,PXOR#
LD (SHVEC),HL
CALL PDRAW
RET


SPPOS:
LD 

0x4A1A:

SMNB NZ,OCL#1
RET
OCL#P:
LD HL,PXOR#
LD (SHVEC),HL
CALL PDRAW
RET


SPPOS:
LD 2500,SPTAB
LD DE,

0x4CFD:

top below 6?
JP NC,ACI#RS

LD A,E
SUB B
JP NC,ACI#4
XOR A
ACI#4:
SUB 6
;bottm 000

0x4CFD:

top below 6?
JP NC,ACI#RS

LD A,E
SUB B
JP NC,ACI#4
XOR A
ACI#4:
SUB 6
;bottm 000

0x8779:

LD DE,100
CALL BEEP
RET
NORES:
XOR A
RRA
RET
MOM#P:
LD A,(IX+4)
LD (XCO),A
LD HL,(MSTADR)
LD E,(HL)
INC HL
LD D,(HL)
LD (SHADR),DE
INC HL
LD A,(HL)
LD (SHNO),A
INC HL
LD E,(HL)
INC HL
LD D,(HL)
LD (ATADR),DE
LD HL,PXOR#
LD (SHVEC),HL
CALL PDRAW
RET
MOM#PS:
LD A, (SHNO)
LD E,A
LD A,(MUTCHR)
ADD 1
AND 3
LD (MUTCHR),A
AND 1
ADD E
ADD 28
LD (SHNO),A

LD A,(IX+4)
LD (XCO),A
LD A,(IX+1)
ADD 5
LD (YCO),A
CALL ATRADR
LD (ATADR),HL
CALL ONPXD
LD (SHADR),HL
EX DE,HL
LD HL,(MSTADR)
LD (HL),E
INC H

0x89DC:

PDRAW
RET
FILLSC:
LD HL,ONAT
LD (ATSC),HL

CALL BOBCO
LD A,(XCO)
ADD 4
LD (XCO),A
LD A,(YCO)
SUB BOBLEN
LD E,A
AND 7
RET NZ

LD A,E
DEC A
LD (YCO),A
CALL AT

0x89DC:

PDRAW
RET
FILLSC:
LD HL,ONAT
LD (ATSC),HL

CALL BOBCO
LD A,(XCO)
ADD 4
LD (XCO),A
LD A,(YCO)
SUB BOBLEN
LD E,A
AND 7
RET NZ

LD A,E
DEC A
LD (YCO),A
CALL AT