Instructions

Preamble
Download the latest archive of the project and unzip it to your folder of choice. When unzipped, there should be a bunch of files, plus two further subdirectories: java_cup, and JLex.

Compilation

  1. Open up a command prompt.
  2. Navigate to the folder where all those files are unzipped.
  3. Type: javac -cp "." *.java
  4. A bunch of class files should be generated in the folder.

Execution

  1. Open up a command prompt.
  2. Navigate to the folder where the class files were generated.
  3. Type: //java -cp "." LTools <input file> <output file>
  4. The output file will be generated in the folder.
  5. Run 6502 Macro Assembler and Simulator.
  6. Load both stdlib.65s, and the generated output file.
  7. Go to Simulator > Assemble.
  8. Go to Simulator > Debugger.
  9. Push ALT+5 to bring up the IO window.
  10. Push F5 to run the program.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License