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

Suleiman's Treasure

From The Cutting Room Floor
Jump to navigation Jump to search

Title Screen

Suleiman's Treasure

Developer: Commin
Platform: Mega Duck
Released internationally: 1993


SourceIcon.png This game has uncompiled source code.


Source Code

Scattered fragments of source code can be found from 0x3CD to 0x2001 in the ROM:

---      OUTPUT ADDRESS    
LD      B,
treasure
easy
hard
----------------------------./012---------------------------
level
LD      HL,(TIME1)
#;---------      '0' PATTERN CODE=87
LD      DE,990EHPO
;---------
JR      Z,EXT_120D
CP      20
JR      Z,EXT_115N
CP      10
LD      A,(ROUND_NO)    HLEXT_120R
JR      C,ESO_99IN
CP      1
LD      A,(SECOND)
GTA_100 A,30HD_FLA
GTA_99
JR      NZ,GTA_100
BIT     3,A
LD      A,(JSTAT)E
JR      Z,GTA_100O
CP      3
LD      A,(SECOND)
GO_GAME
RET
CALL    FILL_CHAR=
LD      DE,992CH;=
LD      (TEMP),A  

ADD     A,87
LD      A,(ATEMP) 
CALL    FILL_CHAR=
LD      DE,992DH  
LD      (TEMP),ATE

ADD     A,87TEMP)D
LD      A,(TEMP)ER
DRU_50 =DEUP