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

Notes:Dian Shi Ma Li

From The Cutting Room Floor
Jump to navigation Jump to search

This page contains notes for the game Dian Shi Ma Li.

Hmmm...
To do:
More stuff.

Such as:

  • Look more deeper in the original version.
  • ROM Stuff.
  • More RAM Stuff, such as:
    • DIPSWITCH Content.
    • Statistics.
    • Other parameters, other than statistics and DIP switches.
  • Try to reverse-engineer the original version, and look for more data.
  • Text tables.


The game is easy to reverse-engineer, due to the simplicity of the game.

iNES

Hacked Version

This version is not quite different, and removes the "BIG TV MARY BAR" text. It uses Mapper 3, 32KB of both PRG ROM and CHR ROM, and Horizontal Mirroring, with no Battery-backed NVRAM.

4E 45 53 1A 02 04 02 00 00 00 00 00 00 00 00 00

RAM

  • 0021 - Handler
  • 005B - Screen X
  • 0100, 0300 - Graphical data.
  • 0493 - Statistic screen variable.
  • 04E3 - Input 1
  • 04E4 - Input 2
  • 04A2 - DIPSWITCH Variable.
  • 05D8 - Display text
  • 04DB - Flag to start the game.
  • 04D2 - Graphic thing?
  • 04D3 - Palette thing?
    • B4 - Start the game.
  • 004D - Symbol Tile
  • 004C - Tile position
  • 0619 - Which tile to land on?
    • 00 - Pink Circle thing
    • 01 - Bell
    • 02 - Cherry
    • 03 - BAR
    • 04 - Apple
    • 05 - Cherry
    • 06 - Lime
    • 07 - Melon
    • 08 - Cherry
    • 09 - PUSH START TO RICH
    • 0A - Apple
    • 0B - Cherry
    • 0C - Pink Circle thing
    • 0D - Bell
    • 0E - Cherry
    • 0F - Number Seven (Lucky)
    • 10 - Apple
    • 11 - Cherry
    • 12 - Lime
    • 13 - Blue star
    • 14 - Cherry
    • 15 - ONCE MORE
  • 0633 - ???
  • 000F - GOOD LUCK, flashing text routine in card game.
  • 000B - Text display, BIG/SMALL text in card game.
  • 04A4 - Mashing the Start button will give you 100 credits and toggles this flag.

Values

The symbols are arranged differently according to the RAM Addresses. They were ordered from the smallest amount of credits to the biggest.

  • 0406 - 9. Cherry (2 Credits)
  • 0408 - 1. Apple (5 Credits)
  • 040A - 8. Pink Circle thing (10 Credits)
  • 040C - 7. Lime (15 Credits)
  • 040E - 6. Bell (20 Credits)
  • 0410 - 4. Melon (20 Credits)
  • 0412 - 3. Star (30 Credits)
  • 0414 - 2. Number Seven (40 Credits)
  • 0416 - 5. BAR (50 Credits)

The exact same order can be seen in the following inputs, implying that this is an internal input:

  • 04E5 - 9. Cherry (2 Credits), Press A Button on the first input
  • 04E6 - 1. Apple (5 Credits), Press B Button on the first input
  • 04E7 - 8. Pink Circle thing (10 Credits), Press Select on the first input
  • 04E8 - 7. Lime (15 Credits), Press Start on the first input
  • 04E9 - 6. Bell (20 Credits), Press Up on the first input
  • 04EA - 4. Melon (20 Credits), Press Down on the first input
  • 04EB - 3. Star (30 Credits), Press Left on the first input
  • 04EC - 2. Number Seven (40 Credits), Press Right on the first input
  • 04ED - 5. BAR (50 Credits), Press A on the second input
  • 04EE - Start the machine, Press B on the second input

The order in-game can be seen in the following:

  • 1. Apple (5 Credits)
  • 2. Number Seven (40 Credits)
  • 3. Star (30 Credits)
  • 4. Melon (20 Credits)
  • 5. BAR (50 Credits)
  • 6. Bell (20 Credits)
  • 7. Lime (15 Credits)
  • 8. Pink Circle thing (10 Credits)
  • 9. Cherry (2 Credits)

Values for the button-mashing minigame.

  • 064C - TIMER (in seconds)
  • 064D - TIMER (in milliseconds)

Values for the score system. Each of them consists of 6 digits.

  • 0400 - CREDIT, first digit
    • 0401 - second digit
    • 0402 - third digit
    • 0403 - fourth digit
    • 0404 - fifth digit
    • 0405 - sixth digit
  • 0634 - BONUS / YOU WIN, first digit
    • 0635 - second digit
    • 0636 - third digit
    • 0637 - fourth digit
    • 0638 - fifth digit
    • 0639 - sixth digit



xkeeper's disassembly

hi Xk-sig.png X (talk) here.

export of current disassembly progress, last mainly worked on early 2024. please contact me if you have anything you'd like to contribute to this or if you'd like to collaborate on the earlier crap gamblers Shui Guo Li and Shuang Xiang Pao