Background (From Wikipedia):

Mario's Cement Factory was originally released in 1983 as an LCD based handheld video game known as "Game & Watch".  The game was developed by Nintendo R&D1 which was led by Gunpei Yokoi. There was also a table top version of the game, with differing rules and gameplay to the handheld.

The game has been re-released several times, including as part of Game Boy Gallery for the Game BoyGame & Watch Gallery 4 for the Game Boy Advance, and as a digital download for the Nintendo DSi.  It's been described as the strangest game in the Mario franchise.

C64 Port

As one of my favourite Game & Watch games growing up, and as an exercise in learning C64 6502 Assembly language, I decided to port the game to the C64.  I've tried to keep the gameplay as close and authentic as possible to the handheld original.   I have not seen any dissassembled code of the original, I just played the handheld game a lot.  

The game took me about 5 months working in my spare time - I developed a large portion of the game live on Twitch most Mondays.  You can follow here : Hayesmaker64 on Twitch I also stream C64 and Amiga gameplays and my streams are archived to watch any time in the Videos tab.


The player controls Mario working in a cement factory, where one has to make sure the cement carried from the top of the screen reaches one of the two concrete mixers on the lower corners of the screen safely. The cement can't go directly into the mixers though. It must first go through four tanks which Mario can open by activating levers. His task is to go back and forth between all four spots and release the concrete before anything is spilled. Failure to do so will result in dumping of said concrete on the truckers waiting to make their delivery. To reach the different levers Mario must travel between floors via elevators, which must be taken carefully to avoid Mario falling off. Game B is a harder version of the game.


  • Joystick in Port 2
  • Left + Right Move Mario
  • Fire to Operate Hopper Levers
  • F3: In Title Screen or Game - Change border colour
  • F7: Pause
  • Use Keyboard to Enter a Highscore.

Welcome to My Mario's Cement Factory C64 Port!


  • Code & Graphics; @hayesmaker64
  • Music: Phaze101
  • SFX: @richmondmike

Mario's Cement Factory Game & Watch (C) 1983 Nintendo


v1.0 Initial Mario Release 7th June 2020

v1.1 Improved Mario Engine 16th June 2020

v1.2 Bug Hotfixes 19th June 2020

v1.3 Highscores bugfix April 2021

v1.3.1 Miss counter bugfix

Rated 5.0 out of 5 stars
(8 total ratings)
Tags8-Bit, c128, cement-factory, commodore, Commodore 64, gamewatch, handheld, lcd, mario, nintendo
Code licenseUnlicense
Average sessionA few minutes


mario-cf131.d64 170 kB
mario-cf131.prg 15 kB

Install instructions

Minimum System Requirements:

  • Commodore 64
  • 64KB Ram
  • 6510 1Mhz CPU

Development log


Log in with to leave a comment.


Very nice LCD conversion. Our German-language review can be found in our recorded livestream starting at 00:28:33. Subscription to our YouTube or Twitch channel is welcome. 🙂




Love this game!! Really well done Hayes, It plays great

Thanks Trap, glad you like it




I'm really impressed!

Thank you, as it was my first assembly game I wanted to keep it simple, and just copy a game I grew up with. I think it worked out ok, but haven't ruled out adding to it in the future.  

(1 edit)

Please be aware there's a bug in the highscore table still in 1.2... if you get the highest score on the highscore then the scores don't get pushed down properly.  I'll need to make a patch and release a v1.3

1.3 is now available. Highscores should be fixed now!

Lowest line of play screen also looks buggy if you watched the score table before.

(1 edit)

I've seen the issue, and fixed it and uploaed a fix for it a few days ago - I'm not sure but maybe caches old files or something.. could you try a new download and see if it's fixed for you?  I've noticed you're not the only one who's seen this bug either. Thanks for playing and letting me know.

edit: I see the issue too, ye it's after you play the game once - I'll patch it in the next release, thanks again.

Should be fixed now with v1.2


There's a small bug, I think: In the options menu, you still can go to an invisible 4th option.

(well done otherwise, maybe you can add a highscore save feature, so the crackers don't have to :)

Would be strange to hide that in the options. ;-)

thank you! I used to have a 3rd option, thought i'd cleaned it up

Thank you, should be fixed now (v1.2)