[{"ID":149,"Address":8257536,"MemoryType":"Miscellaneous","GameType":"Super Mario Bros. 1","Length":8,"Description":"Scratch RAM for many subroutines","Parent":null},{"ID":6,"Address":8257545,"MemoryType":"Counter","GameType":"Super Mario Bros. 1","Length":1,"Description":"Frame Counter","Parent":null},{"ID":150,"Address":8257546,"MemoryType":"Flag","GameType":"Super Mario Bros. 1","Length":3,"Description":"Player action data.\r\n\r\nNote that these flags are not mirrors of SNES controller flags. They merely signify which states the player is experiencing. For example, the Jump flag can be set by whatever button maps to jumping. Also, the flag is set only by the controller of the current player.","Parent":null},{"ID":160,"Address":8257546,"MemoryType":"Flag","GameType":"Super Mario Bros. 1","Length":1,"Description":"Bit flags: JD000000\r\nJ - Jump button\r\nD - Dash button","Parent":150},{"ID":161,"Address":8257547,"MemoryType":"Flag","GameType":"Super Mario Bros. 1","Length":1,"Description":"Bit flags: 0000UD00\r\nU - Up button\r\nD - Down button","Parent":150},{"ID":162,"Address":8257548,"MemoryType":"Flag","GameType":"Super Mario Bros. 1","Length":1,"Description":"Bit flags: 000000LR\r\nL - Left flag\r\nR - Right flag","Parent":150},{"ID":151,"Address":8257549,"MemoryType":"Flag","GameType":"Super Mario Bros. 1","Length":1,"Description":"Saves the value of [url=http:\/\/ersanio.caffie.net\/smas\/?p=map&type=ram&game=SMB1#id150]$7E:000A[\/url] (jump\/run flags) from the previous frame.","Parent":null},{"ID":7,"Address":8257551,"MemoryType":"Player Action","GameType":"Super Mario Bros. 1","Length":1,"Description":"Player's current action (Entering pipe, fade to image before level, vine, etc.)","Parent":null},{"ID":10,"Address":8257553,"MemoryType":"Stripe Image","GameType":"Super Mario Bros. 1","Length":1,"Description":"Layer image upload","Parent":null},{"ID":152,"Address":8257602,"MemoryType":"X Position","GameType":"Super Mario Bros. 1","Length":2,"Description":"X-Position of screen","Parent":null},{"ID":153,"Address":8257606,"MemoryType":"Player","GameType":"Super Mario Bros. 1","Length":1,"Description":"Facing direction of player\r\n1 - right\r\n2 - left","Parent":null},{"ID":154,"Address":8257628,"MemoryType":"Level Data","GameType":"Super Mario Bros. 1","Length":1,"Description":"Map Type\r\n[values]$00 - Underwater\r\n$01 - Normal\r\n$02 - Underground\r\n$03 - Castle[\/values]\r\nThis address always has the same value as $7E:00BA<\/a>.","Parent":null},{"ID":124,"Address":8257629,"MemoryType":"X Speed","GameType":"Super Mario Bros. 1","Length":1,"Description":"Player's X Speed","Parent":null},{"ID":125,"Address":8257696,"MemoryType":"Y Speed","GameType":"Super Mario Bros. 1","Length":1,"Description":"Player's Y Speed","Parent":null},{"ID":164,"Address":8257722,"MemoryType":"Flag","GameType":"Super Mario Bros. 1","Length":1,"Description":"Current background palette and music.\r\n[values]$00 - Light blue background with underwater music\r\n$01 - Light blue background with normal world music\r\n$02 - Black background with underground music\r\n$03 - Black background with castle music[\/values]\r\nThis address always has the same value as $7E:005C<\/a>.","Parent":null},{"ID":157,"Address":8257755,"MemoryType":"Level Data","GameType":"Super Mario Bros. 1","Length":1,"Description":"An index value signifying the Layer 2 Background map to use.","Parent":null},{"ID":126,"Address":8257771,"MemoryType":"Clipping","GameType":"Super Mario Bros. 1","Length":1,"Description":"Player's vertical hitbox size for object interactions? $0E = Small Mario, $00 = Big Mario, $07 = Swimming Big Mario.\r\n\r\nTODO: Verify this address","Parent":null},{"ID":127,"Address":8257786,"MemoryType":"Pointers","GameType":"Super Mario Bros. 1","Length":3,"Description":"24-bit pointer to current level's objects, and their positions (SNES Address, Little endian)","Parent":null},{"ID":128,"Address":8257789,"MemoryType":"Pointers","GameType":"Super Mario Bros. 1","Length":3,"Description":"24-bit pointer to current level's sprites, and their positions (SNES Address, Little endian)","Parent":null},{"ID":158,"Address":8257803,"MemoryType":"Flag","GameType":"Super Mario Bros. 1","Length":1,"Description":"\"Three byte object\" flag when loading level data","Parent":null},{"ID":129,"Address":8257876,"MemoryType":"Flag","GameType":"Super Mario Bros. 1","Length":1,"Description":"If the value in it is not zero, run the actual game; otherwise, loop forever. It's set to a non-zero value during NMI, and it's set to zero after the game mode has been run, so that the game runs exactly once a frame - one NMI trigger per frame.","Parent":null},{"ID":130,"Address":8257878,"MemoryType":"Stack","GameType":"Super Mario Bros. 1","Length":170,"Description":"Stack RAM area reserved for SMAS SMB1.","Parent":null},{"ID":131,"Address":8258060,"MemoryType":"Powerup","GameType":"Super Mario Bros. 1","Length":1,"Description":"Which powerup the current powerup entity is. ($00 = Mushroom, $01 = Fireflower, $02 = Star, $03 = 1-up)\r\n\r\nNote: You can only have one powerup on the screen, hence this address is a single byte.","Parent":null},{"ID":132,"Address":8258102,"MemoryType":"Flag","GameType":"Super Mario Bros. 1","Length":1,"Description":"Grow a vine in start of level flag.","Parent":null},{"ID":133,"Address":8258103,"MemoryType":"Y Position","GameType":"Super Mario Bros. 1","Length":1,"Description":"Player's Y Position","Parent":null},{"ID":134,"Address":8258188,"MemoryType":"Flag","GameType":"Super Mario Bros. 1","Length":1,"Description":"Flag to disable scenery graphics animation and most of the background animations.","Parent":null},{"ID":135,"Address":8258407,"MemoryType":"Timer","GameType":"Super Mario Bros. 1","Length":1,"Description":"Index to ROM table $03:D6F1 (timer delay for next Bowser fireball). Increases as a bowser fireball is launched","Parent":null},{"ID":136,"Address":8258466,"MemoryType":"Timer","GameType":"Super Mario Bros. 1","Length":1,"Description":"Hammer bros hammer throw timer?\r\n\r\nTODO: Verify","Parent":null},{"ID":137,"Address":8259233,"MemoryType":"Map16","GameType":"Super Mario Bros. 1","Length":12,"Description":"Map16 tile to draw on the screen? One byte is one 16 pixels high 'line' on the screen.\r\n\r\n\"What 16x16 block covers non-written tiles in a level (consult Map16.png for list of 16x16 tiles).\"\r\n\r\nTODO: Verify","Parent":null},{"ID":138,"Address":8259275,"MemoryType":"Generator","GameType":"Super Mario Bros. 1","Length":1,"Description":"Which generator to activate.","Parent":null},{"ID":159,"Address":8259276,"MemoryType":"Flag","GameType":"Super Mario Bros. 1","Length":1,"Description":"\"Hard mode\" flag. This flag is set at W5-3 and modifies sprites (makes platforms smaller and have bullet generators, etc.)","Parent":null},{"ID":139,"Address":8259348,"MemoryType":"Flag","GameType":"Super Mario Bros. 1","Length":1,"Description":"Player is ducking flag. $04 = duck, $00 = normal. Unwritten when player is small.","Parent":null},{"ID":140,"Address":8259354,"MemoryType":"X Position","GameType":"Super Mario Bros. 1","Length":1,"Description":"Screen number - 1 (in hex; increments when $7E:0726 is 1, not 0).","Parent":null},{"ID":141,"Address":8259355,"MemoryType":"X Speed","GameType":"Super Mario Bros. 1","Length":1,"Description":"Screen number (in hex; increments when $7E:0726 is 1, not 0).","Parent":null},{"ID":142,"Address":8259360,"MemoryType":"VRAM","GameType":"Super Mario Bros. 1","Length":2,"Description":"Handles drawing of the layer 1 tiles? Adding 1 to it moves every layer 1 stuff to the left 1 8x8 tile.\r\n\r\n\"Is 0x04 on every odd numbered page and 0x00 on even.\"\r\n\r\nTODO: Verify","Parent":null},{"ID":143,"Address":8259372,"MemoryType":"Objects","GameType":"Super Mario Bros. 1","Length":2,"Description":"Total number of objects (adds per byte by object).","Parent":null},{"ID":145,"Address":8259391,"MemoryType":"X Position","GameType":"Super Mario Bros. 1","Length":1,"Description":"BG1 X Position low byte.","Parent":null},{"ID":146,"Address":8259392,"MemoryType":"Y Position","GameType":"Super Mario Bros. 1","Length":1,"Description":"BG1 Y Position low byte.","Parent":null},{"ID":144,"Address":8259395,"MemoryType":"Flag","GameType":"Super Mario Bros. 1","Length":1,"Description":"Cloud bonus game level type flag (also replaces most objects with clouds as the level progresses).","Parent":null},{"ID":147,"Address":8259398,"MemoryType":"Counter","GameType":"Super Mario Bros. 1","Length":1,"Description":"Flagpole timer->score conversion controller? $00 = nothing, 01 = Begin countdown, 02 = continue countdown, 03 = fireworks, 04-05 - fade out?\r\n\r\nTODO: Verify this address","Parent":null},{"ID":148,"Address":8259399,"MemoryType":"Timer","GameType":"Super Mario Bros. 1","Length":1,"Description":"Everything freezes timer (when the player get a powerup or dies for example).","Parent":null},{"ID":264,"Address":8259443,"MemoryType":"VRAM","GameType":"Super Mario Bros. 1","Length":1,"Description":"Stripe image uploader destination VRAM address index. Indexes the tables at $0382DE (VRAM low byte) and $0382F1 (VRAM high byte).","Parent":null},{"ID":165,"Address":8261632,"MemoryType":"Palette","GameType":"Super Mario Bros. 1","Length":512,"Description":"Level Palette","Parent":null},{"ID":166,"Address":8263168,"MemoryType":"Sound Effect","GameType":"Super Mario Bros. 1","Length":1,"Description":"Sound effect channel 1","Parent":null},{"ID":167,"Address":8263169,"MemoryType":"Sound Effect","GameType":"Super Mario Bros. 1","Length":1,"Description":"Sound effect channel 2","Parent":null},{"ID":168,"Address":8263170,"MemoryType":"Music","GameType":"Super Mario Bros. 1","Length":1,"Description":"Music channel","Parent":null},{"ID":169,"Address":8263171,"MemoryType":"Sound Effect","GameType":"Super Mario Bros. 1","Length":1,"Description":"Sound effect channel 3","Parent":null},{"ID":155,"Address":8265728,"MemoryType":"Map16 Tile","GameType":"Super Mario Bros. 1","Length":45056,"Description":"Layer 2 Map16 Tiles","Parent":null},{"ID":156,"Address":8310784,"MemoryType":"Map16 Tilemap","GameType":"Super Mario Bros. 1","Length":3328,"Description":"Layer 2 Map16 tilemap","Parent":null},{"ID":261,"Address":8335360,"MemoryType":"Map16","GameType":"Super Mario Bros. 1","Length":2688,"Description":"Layer 3 Map16 tilemap, read upon level load for the individual VRAM tiles located around $04:BD09.\r\n\r\nTODO: Confirm size, size of ROM address, format of ROM address, and $7F2000 & $7F2004,x","Parent":null}]