Skip to content

Latest commit

 

History

History
30 lines (27 loc) · 2.1 KB

File metadata and controls

30 lines (27 loc) · 2.1 KB

MS-DOS Pong

Pong written in assembly language for processor architecture 8086

I have developed the well-known video game Pong using assembly language and played it on MS-DOS in a virtual machine. To develop the game, I utilized emu8086 as the development environment. After extensively testing the code, I compiled it and produced an executable file, which I saved onto a virtual floppy disk. To run the game, I started MS-DOS in VMware and mounted the floppy disk. Finally, I was able to successfully run Pong.

How to play

  1. Clone git repository
  2. Setup MS-DOS https://github.com/AlessandroBonomo28/MS-DOS-setup
  3. Load floppy1 into the MS-DOS virtual machine.
  4. Enter 'A:' to mount the floppy
  5. Enter 'pong' to execute the .com file

How to compile your own assembly programs and run them on MS-DOS

  1. Clone git repository
  2. Setup MS-DOS https://github.com/AlessandroBonomo28/MS-DOS-setup
  3. Install emu8086 to compile your assembly program into a .com executable https://github.com/AlessandroBonomo28/emu8086
  4. Install https://winimage.com/ to transfer your .com executable into a virtual floppy disk
  5. Write your program in emu8086
  6. Compile your program and you will get a .com file
  7. I have provided you a 'floppy1' virtual floppy disk. You can use winimage to inject the .com file into the floppy.
  8. Once your .com is in the floppy you can enter the floppy into the virtual msdos machine
  9. Mount the floppy with 'A:'
  10. Enter 'dir' to check the content of the floppy
  11. Enter the name of your .com file and MS-DOS will execute it

Screenshots

pong2 pong3 pong4