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

Brian Bloodaxe (Amstrad CPC)

From The Cutting Room Floor
Jump to navigation Jump to search

Title Screen

Brian Bloodaxe

Developer: The Edge
Publisher: The Edge
Platform: Amstrad CPC
Released in EU: 1985


SourceIcon.png This game has uncompiled source code.


Source Code Fragment

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

744C:

        C,TRAP
        CP	88
        CALL	Z,BS0
        RET
HCH:    INC	C
        CALL	COL1
        LD	DE,32
        CALL	HCH1
        ADD	HL,DE
        CALL	HCH1
        ADD	HL,DE
HCH1:   LD	A,(HL)
        CP	22
        RET	NZ
        EX	DE,HL
        LD	HL,ERSTAT
        RES	5,(HL)
        EX	DE,HL
        LD	DE,32
        RET
VCH1:   CALL	COL1
        CALL	VC1
        INC	HL
        CALL	VC1
        INC	HL
VC1:    EX	DE,HL
        LD	A,(DE)
        LD	HL,ERSTAT
        CP	253
        JP	Z,CJ0
        CP	71
        JP	Z,DROP
        CP	45
        JP	Z,DROP
        RES	2,(HL)
        LD	A,1
        LD	(JSPEED),A
        CALL	FLOOR
		JP

7806:

DROP:   SET	2,(HL)
		EX	DE,HL
		RET
VCH2:   CALL	COL1
		CALL	VC2
		INC	HL
		CALL	VC2
		INC	HL
VC2:    LD	A,(HL)
		CP	22
		JP	Z,BANG
		CP	56
		JP	Z,SWITCH
		CP	6
		JP	NZ,$+18
		EX	DE,HL
		LD	HL,ERSTAT
		SET	6,(HL)
		LD	A,10
		LD	(COUNT),A
		EX	DE,HL
		JP	BANG
		CAL