SimCity prototype found!
Moderator: Moderators
Re: SimCity prototype found!
I have one devcart somewhere but I never used it (I think I did prepare the sockets for the flash eeprom). I will have to check someday if it's compatible with it.
Re: SimCity prototype found!
Someone told me that the game was only 50% complete.
Are we sure that the game is even fully playable?
Are we sure that the game is even fully playable?
Last edited by dougeff on Thu Dec 27, 2018 12:45 pm, edited 1 time in total.
nesdoug.com -- blog/tutorial on programming for the NES
Re: SimCity prototype found!
Are there stretches of mostly 6502 code without the new 65816-specific instructions (STZ, INC A, etc.) in the Super NES version of SimCity, Tetris & Dr. Mario, Yoshi's Cookie, or Wario's Woods? I ask because it might point at practices of sharing code between the NES and Super NES versions of a game.
Re: SimCity prototype found!
My understanding is that there was a bug that prevented the game from being completed. I also understood this to be an incomplete prototype that had lots of unused graphics (unimplemented, I believe) for the build. The news that is spreading says that someone had disassembled the prototype and commented the code pretty extensively, and I believe fixed a couple of bugs along the way. Not sure where that leaves the playability though.dougeff wrote:Someone told me that the game was only 50% complete.
Are we sure that the game is even playable?
"Can I keep his head for a souvenir?" -Max
Re: SimCity prototype found!
Playable, yes: I can place zones and have them develop, traffic is simulated, &c.
Complete? Definitely not. There's an education overlay but no education zones. Residential zones seem to only have the "low density" form. There's plenty of other missing things. Several scenarios just don't work (Bern)
The archive.org download includes reverse engineering notes from (pretty certain) Санчез, which includes a very large "unfinished" section. (Certainly the actual disassembly is marked as his)
Complete? Definitely not. There's an education overlay but no education zones. Residential zones seem to only have the "low density" form. There's plenty of other missing things. Several scenarios just don't work (Bern)
The archive.org download includes reverse engineering notes from (pretty certain) Санчез, which includes a very large "unfinished" section. (Certainly the actual disassembly is marked as his)
Re: SimCity prototype found!
Looking at the video, I don't understand how the metatiles and palettes could have worked: Most types of construction are 16x16 pixel squares, but they can be aligned to any 8-pixel boundary. You'd think that would lead to Marble-Madness-style attribute leaking alongside adjacent tiles, but I don't see any evidence of that. Anyone know (or want to venture a guess) as to how they did it?
- toggle switch
- Posts: 139
- Joined: Fri Sep 30, 2016 8:57 pm
Re: SimCity prototype found!
wouldn't be surprised if it used a board with 8x8 attributes.
edit - yup, it's on MMC5
edit - yup, it's on MMC5
Re: SimCity prototype found!
I've got it working in MiSTer (FPGA) in my fork (MMC5 mapper originally written by Ludvig Strigeus, I believe, with a few fixes from me). It uses a few flags it gets directly from the NES core, which will need to be translated for a flash cart, but it should be doable.Greg2600 wrote:Argh, MMC5! Won't work on a flash cart.
If the source for an existing MMC5 flash cart mapper is available, it shouldn't be too hard to fix.
Re: SimCity prototype found!
Krikzz released his MMC5 mapper source a while back for the EverDrive N8 cart.GreyRogue wrote: If the source for an existing MMC5 flash cart mapper is available, it shouldn't be too hard to fix.
- Attachments
-
- mmc5-src.zip
- Krikzz MMC5 mapper source
- (195.88 KiB) Downloaded 243 times
Re: SimCity prototype found!
Out of curiosity, what?GreyRogue wrote:It uses a few flags it gets directly from the NES core, which will need to be translated for a flash cart, but it should be doable.
Re: SimCity prototype found!
lidnariq wrote:Out of curiosity, what?GreyRogue wrote:It uses a few flags it gets directly from the NES core, which will need to be translated for a flash cart, but it should be doable.
Code: Select all
// unpack ppu flags
wire ppu_in_frame = ppuflags[0];
wire ppu_sprite16 = ppuflags[1];
wire [8:0] ppu_cycle = ppuflags[10:2];
wire [8:0] ppu_scanline = ppuflags[19:11];
Some of the things it does:
It uses external attributes and external nametables, but it uses the nametables interface to get data into and out of the ExRAM whether or not the data is actually nametable data. So for the title screen, it sets it for nametable mode, then uses the PPUADDRESS/DATA (2006/7) to write data to the ExRAM. It then reads back data from the 2006/7 area and writes it to different addresses for sections that are the same. All of this data for the title screen is actually external attribute data, not nametables, though, so it switches to that mode before it starts rendering it. So all of the ExRAM stuff needs to to work correctly for the graphics to show correctly. Why it didn't just use the 5C00-5FFF range instead...I don't know.
Re: SimCity prototype found!
Unless I'm just not seeing it, I don't see where the Extended RAM attributes are handled. The game uses these. Graphics will be corrupted without them.getafixx wrote:Krikzz released his MMC5 mapper source a while back for the EverDrive N8 cart.GreyRogue wrote: If the source for an existing MMC5 flash cart mapper is available, it shouldn't be too hard to fix.
Re: SimCity prototype found!
I just tried it [V20 rc6] and it seems very playable. The first few title screens are garbled but the game itself runs fine. How "finished" is it? I'm not sure, but it definitely seems to function as the original PC game did.
Re: SimCity prototype found!
It looks like the SimCity prototype exposed some issues with Nintaco's MMC5 mapper. It works until you start playing. Then the displayed map area is garbled.
Does the prototype tap into some MMC5 feature not used by the other commercial games? Like the Wiki suggests, I probably just coded enough features to get the other MMC5 games working.
Does the prototype tap into some MMC5 feature not used by the other commercial games? Like the Wiki suggests, I probably just coded enough features to get the other MMC5 games working.