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

Mr. Wimpy (ZX Spectrum)

From The Cutting Room Floor
Jump to navigation Jump to search

Title Screen

Mr. Wimpy

Developer: Ocean
Publisher: Ocean
Platform: ZX Spectrum
Released in EU: 1984


SourceIcon.png This game has uncompiled source code.


Source Code Fragment

In the .tap dump, there's a piece of code at 170B:

LD(ESTM),A
LD A,9
LD(CSTM),A
LD A,0
LD(46522),A
RET

POINTER:
NOP
ORG 49800
LOAD 49800

BONST:
LD A,(PEPNO)
CP 1
RET NZ
LD A,(ONCE)
CP 255
RET Z
LD A,(41250)
INC A
LD(41250),A
LD B,A
DEC B
LD DE,10
LD IX,41251

OO1:
ADD IX,DE
DJNZ OO1
LD D,(IX+0)
LD A,(DSTM)
CP D
JR NZ,BH
CP 8
JR NZ,BH2
LD D,40
JR BH

BH2:
SUB 32
LD D,A

BH:
CALL 47000
LD A,255
LD(ONCE),A
RET

ONCE:
NOP
ORG 49500
LOAD 49500

BONU:
LD HL,41258
LD DE,10
LD B,5

OO2:
LD A,(HL)
CP 20
JR Z,OO4
ADD HL,DE
DJNZ OO2
LD A,255
RET

OO4:
LD DE,7
SBC HL,DE
PUSH HL
POP IX
LD D,(IX+0)
LD E,(IX+1)
LD A,(IX+2)
ADD A,20
LD C,A
LD A,7
CALL 47000
LD A,0
LD(42278),A
CALL MANCHE
LD A,(42278)
CP 255
RET Z
LD  A,(PEPNO)
INC A
LD(PEPNO),A
LD HL,41250
DEC(HL)
LD A,0
RET
ORG 49720

LD D,(IX+0)
LD C,A
LD 47000

RET
ORG 48200
LOAD 48200

DIE:
END

IRM:
NOP
END