Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.22 KB

README.md

File metadata and controls

29 lines (22 loc) · 1.22 KB

Raycasting

ASSEMBLY DOSBox

Raycaster game engine renderer in pure x86 TASM assembly.

image

Notes

  • This program is made for the DOSBox Emulator.
  • If you are running this program on a laptop, we recommend charging it while running the program.

Running the program

  1. From this repository, download the files royale.exe and maze.bmp (or compile and link royale.asm yourself)
  2. To make sure the program runs smoothly, first run the following command: cycles max.
  3. Run the program with the simple command: ROYALE.EXE.
  4. Move around the map using the controls

Controls

  • Use the WASD keys to move around.
  • Press SPACE to toggle edit mode.
  • Use the mouse (or J and L keys) to rotate.
  • Press Escape to exit the program.

Compiling and linking the code

  • Make sure royale.asm is in the same directory as your TASM assembler and TLINK linker.
  1. compile the code: TASM ROYALE.ASM. This will make an object file called ROYALE
  2. link: TLINK ROYALE. You will now have an executeable file called ROYALE.EXE you can run.