News for hackers. Stuff that matters.
Re:Super Mario Bros. has been released for the Commodore 64 by muterad_murilax on Thursday April 18, 2019 @06:03PM (#19695210)
Re:Super Mario Bros. has been released for the Commodore 64 by koala_man on Thursday April 18, 2019 @06:33PM (#19695384)
Impressive. Without the intro and careful scrutiny, I would not have realized that this is not a NES
Re:Super Mario Bros. has been released for the Commodore 64 by vidarh on Thursday April 18, 2019 @11:32PM (#19696897)
Not that surprising, given the CPU in the NES is a second sourced near-6502 (Ricoh 2A03) though running a bit faster apparently. But there's nothing in there that's hard to do on a C64 (and in fact before this there was The Great Giana Sisters, released in '87, that was so similar - including a near identical first level - that Nintendo threatened to sue and it was taken out of the stores; but of course "everyone" had copies soon enough anyway)

EDIT: Here's a video of the C64 version of Giana Sisters: https://www.youtube.com/watch?v=8teXm6723-g&t=1309s

Re:Super Mario Bros. has been released for the Commodore 64 by ddtaylor on Friday April 19, 2019 @01:04AM (#19697222)
I think the NES's PPU is a lot more powerful in some ways than the C64 VIC-II chip. The NES's PPU supports multiple background layers, priority, pixel collision detection and has up to 64 sprites on screen at once - albeit with some limitations on how many are on each scanline. The VIC-II can only do 8 sprites at a time without scanline raster tricks (and if we count those the NES can do more than 64 too)
Re:Super Mario Bros. has been released for the Commodore 64 by phoboslab on Friday April 19, 2019 @03:00AM (#19697627)
IIRC the NES PPU only supports one background layer. You can just change the scroll position mid-frame to give it the illusion of multiple background layers.

See here for some clever examples of this technique. Everything that's overlapping is done with sprites:

https://youtu.be/ZGyFQ9aRp_U?t=579

Re:Super Mario Bros. has been released for the Commodore 64 by ddtaylor on Friday April 19, 2019 @04:01AM (#19697832)
You're right, I was thinking of the SNES which had multiple background layers.
Re:Super Mario Bros. has been released for the Commodore 64 by djmips on Friday April 19, 2019 @01:46AM (#19697353)
It's not near-6502 it's an exact 6502. Die-shots show the exact same transistor layout; even the decimal section is there but disabled.
Re:Super Mario Bros. has been released for the Commodore 64 by vidarh on Friday April 19, 2019 @03:57PM (#19702505)
There are differences in terms of some IO pins. But yes, the changes are minimal.
Re:Super Mario Bros. has been released for the Commodore 64 by tnolet on Friday April 19, 2019 @02:55AM (#19697601)
Oh wow, nostalgia! Giana Sisters was absolutely fantastic. I played it to death. My NES owning friends were kinda grumpy about how good it was.
Re:Super Mario Bros. has been released for the Commodore 64 by nurettin on Friday April 19, 2019 @03:25AM (#19697702)
I'd like to give a shoutout to machinae supremacy https://www.youtube.com/watch?v=XKkmyMKbPKE

Chris Hülsbeck https://www.youtube.com/watch?v=XKkmyMKbPKE

and all the guys at https://www.slayradio.org

for keeping the scene alive!

Re:Super Mario Bros. has been released for the Commodore 64 by asciimov on Thursday April 18, 2019 @06:51PM (#19695485)
This is more like off/store brand soda than anything. While not Dr Pepper, it's like Mr Pibb or Dr Thunder, still tastes good, but it's not quite the same.
Re:Super Mario Bros. has been released for the Commodore 64 by BEEdwards on Thursday April 18, 2019 @07:26PM (#19695672)
You take that back, Mr Pibb is clearly the best. It doesn't put on airs like some other sodas.
Re:Super Mario Bros. has been released for the Commodore 64 by asciimov on Friday April 19, 2019 @01:28AM (#19697295)
Real Mr Pibb was awesome, although wasn't available in my region growing up.

When they moved over to Pibb Extra, that stuff was just nasty.

Re:Super Mario Bros. has been released for the Commodore 64 by muterad_murilax on Thursday April 18, 2019 @06:58PM (#19695523)
It's based on the reverse-engineered source code of the NES original, though.
Re:Super Mario Bros. has been released for the Commodore 64 by frosted-flakes on Thursday April 18, 2019 @07:27PM (#19695676)
I'd bet Mr Pibb and Dr Thunder are based on the reverse-engineered ingredients analysis of Dr Pepper.
Re:Super Mario Bros. has been released for the Commodore 64 by tclancy on Thursday April 18, 2019 @08:54PM (#19696148)
Well, the version of Tapper I used to play on the C64 used root beer rather than so it works.
Re:Super Mario Bros. has been released for the Commodore 64 by Narishma on Thursday April 18, 2019 @06:43PM (#19695443)
Except for the slow-downs.
Re:Super Mario Bros. has been released for the Commodore 64 by taspeotis on Thursday April 18, 2019 @07:17PM (#19695623)
Nice touch: the clock has an extra pixel on it when it’s running slow.
Re:Super Mario Bros. has been released for the Commodore 64 by bduerst on Thursday April 18, 2019 @07:38PM (#19695744)
How did you even spot that?
Re:Super Mario Bros. has been released for the Commodore 64 by kstrauser on Thursday April 18, 2019 @07:53PM (#19695825)
In the readme:

> Since the NES-processor is clocked (roughly 70%) faster than a stock C64 there can be slowdowns during gameplay. A pixel indicates this on the time-watch graphics in the status bar.

Re:Super Mario Bros. has been released for the Commodore 64 by ido on Friday April 19, 2019 @03:27AM (#19697708)
I find the music/audio artefacts give it away.
Re:Super Mario Bros. has been released for the Commodore 64 by jacobush on Thursday April 18, 2019 @06:37PM (#19695410)
Even the colors look almost right - I wonder how that can be...
Re:Super Mario Bros. has been released for the Commodore 64 by tenebrisalietum on Thursday April 18, 2019 @06:53PM (#19695492)
There's a technique called "IFLI" that leverages the analog characteristics of 60/50fps CRTs - it's basically switching between two colors each alternating frame to "mix" two colors.

However the colors look like C64 colors. The Goombas and skin of the turtles are pink. Except possibly the Mario sprite.

Re:Super Mario Bros. has been released for the Commodore 64 by phito on Friday April 19, 2019 @08:32AM (#19699005)
What's up with the sound? It can't play two sounds simultaneously?
Re:Super Mario Bros. has been released for the Commodore 64 by PhasmaFelis on Friday April 19, 2019 @09:00AM (#19699195)
The C64 has three audio channels, the NES has four. Native C64 games were designed with that in mind, but this port has to double up the NES' triangle and noise channels on one C64 voice, so sometimes a sound effect gets overwritten. The article discusses it.
Re:Super Mario Bros. has been released for the Commodore 64 by mrspeaker on Friday April 19, 2019 @09:35AM (#19699462)
I loved my C64 as a kid and played if for about billion hours. I loved the music - some of my all-time favorite "songs" are from C64 games (Ghost 'n' Goblins, Commando themes are sooo good!).

When I revisited the C64 as an adult the first thing that immediately jumped out at me was the dropped/stuck notes that happen in a theme song when you get a powerup or trigger some sound effect.

I can't believe I never even noticed it as a kid, and my brain just filled in the missing sounds!

Re:Super Mario Bros. has been released for the Commodore 64 by PhasmaFelis on Friday April 19, 2019 @09:52AM (#19699601)
The C64 only had three audio voices (compared to four on the NES), so it was difficult to play decent music and multiple sound effects at the same time. A lot of games let you switch between music or SFX, but not both.

Even so, its musical capabilities were years ahead of anything on the market. I usually played in music mode, if it was available. :)

There's a netradio station that exclusively streams remixes of C64 game music. It's been broadcasting for at least 20 years. It's my favorite thing to listen to while coding. https://www.slayradio.org/