User Tools

Site Tools


notes:cprog:spring2024:projects:fwg0

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:cprog:spring2024:projects:fwg0 [2024/03/10 21:47] – [URLs] hcopp1notes:cprog:spring2024:projects:fwg0 [2024/03/14 08:57] (current) – [Build from Source] hcopp1
Line 8: Line 8:
 =====Build from Source===== =====Build from Source=====
  
 +Install the Emulator and the DevTools outside the Lab46 repository. It is recommended to do this on your Pi and the following steps is for the Pi. Download the following from the GitHub repository linked in previous section
 +
 +''<color #00a2e8>Vircon32-Emulator-24.3.2-RaspberryPi4-Raspbian.zip</color>''
 +
 +''<color #22b14c>Vircon32-DevTools-24.2.4-RaspberryPi4-Raspbian.zip</color>''
 +
 +Unzip these files which provide a similar file name with a .DEB file extension 
 +
 +''<color #00a2e8>vircon32-emulator_24.3-2_armhf.deb</color>''
 +
 +''<color #22b14c>vircon32-devtools_24.2-4_armhf.deb</color>''
 +
 +To install these use the following commands:
 +
 +<code>
 +     sudo dpkg -i vircon32-emulator_24.3.2_armhf.deb
 +     sudo apt-get install -f 
 +     
 +     sudo dpkg -i vircon32-devtools_24.2.4_armhf.deb
 +</code>
 +
 +The base path for the install is ''/opt/Vircon32/Emulator''
 +
 +To run the Vircun32 API, change to the emulator directory and run ''./Vircon32''
 +
 +There's a hidden task bar near the top of the screen that shows up when your mouse is near that shows multiple actions you can do.
 =====Cartridge build process===== =====Cartridge build process=====
  
Line 22: Line 48:
 ====displaying text==== ====displaying text====
  
 +A basic way of displaying text would be to set the ( x, y ) coordinates of the starting point, followed by printing your text. Below is the example from the Hello World tutorial.
 +
 +<code>
 +    // draw our text near the top-left of the screen
 +    set_drawing_point( 20, 120 );
 +    print( "Hello, World!" );
 +</code>
 ====processing textures and regions==== ====processing textures and regions====
  
 ====displaying a region at location==== ====displaying a region at location====
  
notes/cprog/spring2024/projects/fwg0.1710107225.txt.gz · Last modified: 2024/03/10 21:47 by hcopp1