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

Drakkar (ZX Spectrum)

From The Cutting Room Floor
Jump to navigation Jump to search

Title Screen

Drakkar

Developer: Diabolic Software
Publisher: Delta Software
Platform: ZX Spectrum
Released in EU: 1989


SourceIcon.png This game has uncompiled source code.


Source Code Fragments

Some bits of code are left in the game. The code seen below can be seen with a hex editor at the addresses below in the .tap dump of the game.

C586:

	POP	IX
	JP	SIG228
SIG229	LD

CFF9:

	FVIDA
	FDIA
	DPUNTOSOSNTOS,A
	LD	(IX+3),C

D083:

	CP	32
	JR	NZ,SIG95
	XOR	A
ISIG95	LD	C,A
	LD	A,(IX+0)
	AND	231
	OR	C
	LD	(IX+0),A
	LD	A,(FLAG4)
	INC	A
	LD	(FLAG4),A
	RET
ROTBIC	PUSH	HL
	LD	HL,DATFAS-1
	LD	A,(IX+0)
	AND	7
	INC	A
	LD	B,A
BUC37	INC	HL
	DJNZ	BUC37
	LD	B,(HL)
	LD	A,B
	LD	H,D
	LD	L,E
BUC38	PUSH	BC
	PUSH	HL
	LD	A,(HL)
	INC	HL
	LD	H,(HL)
	LD	L,A
	CALL	ROTAGR
	POP	HL
	INC	HL
	INC	HL
	POP	BC
	DJNZ	BUC38
	POP	HL
	RET
DATFAS	DEFB	3,3,4,3,2,3,3,4
FLAG5	DEFS	1
BICHOX	LD	C,(IX+1)
	LD	A,C
	AND	56
	RRA
	RRA
	RRA
	LD	E,A
	LD	D,0
	LD	L,(IX+8)

D32E:

	LD	D,(IX+4)
	SBC	HL,DE
	JR	NC,SIG94
	POP	HL
	RES	1,(IX+1)
	RE