There's 1mb of ram for the basic code, it doesn't sound like much but that's enough for 170000+ lines of code (as the BASIC is tokenised behind the scene when you enter it IIRC).
There is 5MB of ram reserved for your graphics/sprites/sound etc. Again, retro graphics care very compact and there's more than enough for a full level of streets of rage + sprites too.
See here, for a rundown of the RAM after the guy in the video creates his own demo...
youtu.be/lzrX72aB7zg?t=830Again, this would be a monster 8bit/16bit micro back in the day, hell the interpreted basic runs 100x faster than pure 6502 assembly on the C64!
