ProgBiss / Pac-Man

Little Pac-Man program in Assembly 6502 (french)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pac-Man

Un petit programme en Assembleur 6502 (NES) qui permet le contrôle de Pac-Man et des 4 fantômes.

La majorité des commentaires et du système de base ont été codé par François Allard. Je suis parti de son calque.

Pour compiler le code, on doit utiliser le programme neasm.exe. (C'est dans le "repository", mais mon code est déjà compiler). Pour lancer le programme de Pac-Man, on doit utiliser l'émulateur fceux.exe : http://www.fceux.com/web/home.html

Pour contrôler la direction de Pac-Man : Les flèches

Pour changer de fantôme :

  1. Il faut aller dans l'onglet "Config" de l'émulateur.
  2. Dans l'option "Input".
  3. "Configure" le Port 2 (à droite).
  4. Définir les touches "Select", "Start", "B" et "A". Respectivement : Touche Z (Select) : Orange Touche X (Start) : Rouge Touche C (B) : Bleu Touche V (A) : Jaune

Pour contrôler le fantôtme choisi :

  1. Il faut aller dans l'onglet "Config" de l'émulateur.
  2. Dans l'option "Input".
  3. "Configure" le Port 2 (à droite).
  4. Définir les touches "Up", "Right", "Down" et "Left". Respectivement : Touche H (Up) Touche M (Right) Touche N (Down) Touche B (Left)

A little program in Assembly 6502 (NES) who let you control Pac-Man and the 4 ghosts.

The majority of commentary block and base system was code by François Allard. I started from his model.

To compile the code, we need to use neasm.exe program. (It's in the repository, but my code is already compile). To launch the Pac-Man program, we need to use fceux.exe emulator : http://www.fceux.com/web/home.html

My code is in french because it was for a school project (and i'm from Québec, so we need to use french :) ).

To control Pac-Man direction : Arrow keys

To change ghost :

  1. Go to "Config" tab of the emulator.
  2. In "Input" option.
  3. "Configure" Port 2 (to the right).
  4. Set "Select", "Start", "B" and "A" buttons. Respectively : Button Z (Select) : Orange Button X (Start) : Red Button C (B) : Blue Button V (A) : Yellow

To control choosen ghost direction :

  1. Go to "Config" tab of the emulator.
  2. In "Input" option.
  3. "Configure" Port 2 (to the right).
  4. Set "Up", "Right", "Down" and "Left" buttons. Respectively : Button H (Up) Button M (Right) Button N (Down) Button B (Left)

About

Little Pac-Man program in Assembly 6502 (french)

License:MIT License


Languages

Language:Assembly 100.0%