User Tools

Site Tools


notes:comporg:spring2024:projects:btt0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:comporg:spring2024:projects:btt0 [2024/01/29 19:00] – [Obtain source of latest stable release of Vircon32 emulator] cmazzaranotes:comporg:spring2024:projects:btt0 [2024/02/01 03:55] (current) – [Obtain source of latest stable release of Vircon32 DevTools] rspringe
Line 37: Line 37:
   -Basic cli knowledge   -Basic cli knowledge
   -Ability to find and update packages   -Ability to find and update packages
 +
 +Vircon32 ComputerSoftware Readme: https://github.com/vircon32/ComputerSoftware/blob/main/Readme.md
  
 ===build process (platform/OS)=== ===build process (platform/OS)===
Line 49: Line 51:
 ===installation=== ===installation===
  
 +Begin by installing the required libraries, they will be listed at the bottom of the Readme.md file
  
 +begin by typing the command 'aptitude <package>' to search for the specific libraries and 'apt install <package>' to install. You most likely need to use the token 'sudo' when installing.
 +
 +After the packages are installed you will want to continue with the installation steps in the Readme, namely steps 3 through 5.
 +
 +Keep an eye on the location where each the DevTools and Emulator get installed.
  
 ===environment configuration=== ===environment configuration===
  
 +Making note of the location of the DevTools and Emulator, you'll want to add those to your $PATH variable via your .bashrc file.
 +
 +In this case, DevTools gets installed to ///usr/local/DevTools//, so you will want to open up your .bashrc file:
 +
 +<code bash>
 +vim ~/.bashrc
 +</code>
 +
 +Then, you can add this line to the very end of your file:
 +
 +<code bash>
 +export PATH=$PATH:/usr/local/DevTools
 +</code>
 ====Obtain source of latest stable release of Vircon32 emulator==== ====Obtain source of latest stable release of Vircon32 emulator====
  
 ===URL=== ===URL===
 http://www.vircon32.com/emulator.html http://www.vircon32.com/emulator.html
 +
 +Github: https://github.com/vircon32/ComputerSoftware/tree/main/DesktopEmulator
 +
 ===build prerequisites=== ===build prerequisites===
  
Line 68: Line 92:
 sudo apt install lib<package name>-dev sudo apt install lib<package name>-dev
 </code> </code>
-So an example would be sudo apt install libsl2-dev (Notice how the capital SLD became sdl. Also and "_" will become "-").+So an example would be sudo apt install libsdl2-dev (Notice how the capital SDL became sdl. Also and "_" will become "-").
  
 ==Step 2 (After you have downloaded all the necessary dependencies)== ==Step 2 (After you have downloaded all the necessary dependencies)==
Line 107: Line 131:
 ===environment configuration=== ===environment configuration===
  
 +After running the previous command, the Emulator tools get installed to ///opt/Vircon32/Emulator//. To use these tools, they will have to be added to your $PATH variable. To do this open .bashrc in any editor:
 +
 +<code bash>
 +vim ~/.bashrc
 +</code>
 +
 +Then, add the following line at the end of the file:
 +
 +<code bash>
 +export PATH=$PATH:/opt/Vircon32/Emulator
 +</code>
 +
 +If you have installed the emulator //after// you installed the DevTools, then you can simply include both paths at once:
 +
 +<code bash>
 +export PATH=$PATH:/usr/local/DevTools:/opt/Vircon32/Emulator
 +</code>
 =====Hello World===== =====Hello World=====
 Bootstrap a fairly simple “Hello, World” example, modified sufficiently from any provided tutorial or demo code. Bootstrap a fairly simple “Hello, World” example, modified sufficiently from any provided tutorial or demo code.
Line 117: Line 158:
 Some potential changes/functions could be: Some potential changes/functions could be:
   * Changing the position of the text( making it appear in the bottom right of the screen )\\   * Changing the position of the text( making it appear in the bottom right of the screen )\\
 +  * Changing the color of the text
 +  * Changing what the text says ( and / or make it a different language )
   * Changing the background color to one of the provided colors( make it green )\\   * Changing the background color to one of the provided colors( make it green )\\
   * Implementing your own background( make it Jesse from Breaking Bad )\\   * Implementing your own background( make it Jesse from Breaking Bad )\\
notes/comporg/spring2024/projects/btt0.1706554848.txt.gz · Last modified: 2024/01/29 19:00 by cmazzara