Skip to content

superpdm/SuperMario

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Super Mario

This project implements a simplified version of Super Mario in pure C without any additional graphics library.

For details of the implementation, please refer to my blog. There is also a Chinese but less detailed version here.

Turbo C, which is included in the project in folder TC, and DOSBox are needed to compile and run this program.

A very short video of the game is here.

To compile and run:

  1. Download and install DOSBox
  • Mount the root folder of this project as C: in DOSBox

    mount C: /path/to/project
    
  • Change to drive C:

    C:
    
  • Change directory to C:/GDC

    cd C:/GDC
    
  • Compile

    compile.bat
    
  • Run GDC.EXE

    GDC.EXE
    
  • Use Ctrl+F12 and Ctrl+F11 to adjust CPU cycles to around 20000

  • Wait for around half a minute to load the game

  • Enjoy!

Developers

  • Yan Chen
  • Liang Guo

About

Super Mario in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 85.1%
  • Assembly 14.9%