User Tools

Site Tools


notes:unix:fall2023: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:unix:fall2023:projects:fwg0 [2023/10/06 18:19] – external edit 127.0.0.1notes:unix:fall2023:projects:fwg0 [2023/10/26 02:13] (current) – [qbrown2] qbrown2
Line 2: Line 2:
  
 =====URLs===== =====URLs=====
 +For the instructions and access to files you can go to: https://github.com/vircon32/ComputerSoftware/tree/emulator-v23.6.4
  
 +For the initial files you can go here: https://github.com/vircon32/ComputerSoftware/releases/tag/emulator-v23.6.4
 +
 +For help and resources to help you can go to the vircon32 website: http://www.vircon32.com/
 +
 +For basic Tutorials go to: https://github.com/vircon32/ConsoleSoftware/tree/main/Tutorials/RobotGame/Tutorial01A-HelloWorld
 +
 +
 +=====Build from Source=====
 +
 +  - Head to the github repository and download either the .zip or .tar.gz files. 
 +  - unzip/untar it and then look at the readme.
 +  - Follow steps in the readme
 =====Cartridge build process===== =====Cartridge build process=====
  
 ====compile==== ====compile====
  
 +To compile you would run the do "./" to the "Make.sh" file that you should have copied from git.
 ====assemble==== ====assemble====
  
 +To start assembling your c code, you must use the assemble executable file to turn the c code into machine readable code. 
 ====image processing==== ====image processing====
  
 ====packing the ROM==== ====packing the ROM====
 +to pack the rom, run the packrom command on the xml file and turn those results into an object. In the xml file be sure to give paths to where each thing you are putting in the ROM. Put those results into a .v32 file
 =====Using the Vircon32 API===== =====Using the Vircon32 API=====
  
Line 32: Line 47:
 ===discord message link=== ===discord message link===
 ====cmazzara==== ====cmazzara====
 +
 ===question cprog=== ===question cprog===
 +
 +so I know that the Vircon32 stuff needs to be in an obj directory, so when submitting those files that need to be in that directory should I just submit them or is there a way to submit a directory as well?
 +https://discord.com/channels/738748325217697856/738749154573942845/1165032893316341900
 +
 ===response cprog=== ===response cprog===
 +
 +https://discord.com/channels/738748325217697856/738749154573942845/1165058838764986488
 +read the rest of the response that is there broken up between multiple responses like an array.
 +
 ===question unix=== ===question unix===
 +
 +How to search for the contents of a library.
 +https://discord.com/channels/738748325217697856/738749179001700372/1163858436358930574
 +
 ===response unix=== ===response unix===
 +
 +Do "aptitude search <library>"
 ===discord message links=== ===discord message links===
 ====efritz2==== ====efritz2====
 ===question cprog=== ===question cprog===
 +
 ===response cprog=== ===response cprog===
 ===question unix=== ===question unix===
Line 45: Line 76:
 ====gsalce==== ====gsalce====
 ===question cprog=== ===question cprog===
 +Hey, I am finishing up installing my dependencies and there was one I could use some advice on. In the video libraries section of the "Readme," there is a listing for GLUT. Firstly, I was wondering if this install was necessary as it specifies it is only for older systems? Secondly, if so, what would be the best to install, as there are two options that look like the best fit so far, one being "freeglut3-dev" or "libghc-glut-dev"?
 ===response cprog=== ===response cprog===
 +I didn't bother with it and I didn't have any problems so probably don't worry about it (unless you have an old system)
 ===question unix=== ===question unix===
 +Am I understanding the make.sh correctly when reading it as taking the .c file and outputting that as a .asm into /obj. Then, taking the aforementioned .asm and outputting it as .vbin into /obj also. And lastly, taking the .xml file (a "cartridge") and putting that .v32 output into /bin for Vircon32 use? So, when creating a new "cartridge" via Make.sh, one would need to make sure the desired inputs of the .c and .xml are correct as well as the corresponding outputs so they be correctly compiled / assembled / packed ?
 ===response unix=== ===response unix===
 +yes. It might be helpful to manually run the steps yourself to bear witness to them, ani determine what best fits your workflow
 ===discord message links=== ===discord message links===
 +https://discord.com/channels/738748325217697856/738749154573942845/1165094261579071558
 +https://discord.com/channels/738748325217697856/738749154573942845/1165094552466620446
 +https://discord.com/channels/738748325217697856/738749179001700372/1166578651672891454
 +https://discord.com/channels/738748325217697856/738749179001700372/1166645885959164014
 ====gsmith52==== ====gsmith52====
 ===question=== ===question===
Line 55: Line 94:
 ====jbernata==== ====jbernata====
 ===question cprog=== ===question cprog===
 +"I’m getting this error while following the instructions in the readme for the vircon emulator. Any pointers? I have rwx permissions for vircon32"
 ===response cprog=== ===response cprog===
 +https://discord.com/channels/738748325217697856/738749154573942845/1164626414033715310
 +
 +above is a link to the whole thread. The solution isn't in there as i found it on my own. I had to sudo ./Make.sh to give permissions to my own system.
 ===question unix=== ===question unix===
 +"I’m trying to get vircon32 and this error came up while trying to install the package. Each of the requirements for the dependencies I’m trying to install are met but they’re not installable? Any ideas on what to do?"
 ===response unix=== ===response unix===
 +"you want to obtain and build it from source
 +that’s a prebuilt version (that you’d need to use dpkg to install)"
 ===discord message links=== ===discord message links===
 +https://discord.com/channels/738748325217697856/738749179001700372/1162760611868987522
 +
 +https://discord.com/channels/738748325217697856/738749154573942845/1164626414033715310
 ====jjones76==== ====jjones76====
 ===question=== ===question===
Line 65: Line 114:
 ====jmerri10==== ====jmerri10====
 ===question cprog=== ===question cprog===
 +I used “nano ~/.bashrc” and manually added /usr/local/DevTools to my PATH. For future reference, is there a better way to do this?
 ===response cprog=== ===response cprog===
 +That’s basically what you want to do, yeah
 ===question unix=== ===question unix===
 +When i do my "cmake --install ." I'm getting a permission denied error
 ===response unix=== ===response unix===
 +you did want to sudo that
 ===discord message links=== ===discord message links===
 +https://discord.com/channels/738748325217697856/738749154573942845/1166250544554328114
 +https://discord.com/channels/738748325217697856/738749154573942845/1166124710015291464
 ====morcutt==== ====morcutt====
 ===question=== ===question===
 +When looking at the potential  packages for 'SDL2_image' I see a  'libsdl2-image-2.0-0' and a
 +'libsdl2-image-dev' but no 'SDL2_image' (with a underscore) . Should it be fine to use the 'libsdl2-image-2.0-0' even though it doesn't match exactly?
 ===response=== ===response===
 +The names of different packages can vary between different distributions so you have to go off what it says it provides.
 ===discord message link=== ===discord message link===
 +https://discord.com/channels/738748325217697856/738749179001700372/1164923712055812147
 ====qbrown2==== ====qbrown2====
 ===question=== ===question===
 +when i try to run ./make.sh on the edited demo files I get an error for the c file that select region is for some reason not getting a parameter even though it was defined at the top
 ===response=== ===response===
 +When you define the belowText, you need to set it to a number, like #define belowText 1
 ===discord message link=== ===discord message link===
 +https://discord.com/channels/738748325217697856/738749179001700372/1166195231260156074
 ====tvanoxx==== ====tvanoxx====
 ===question=== ===question===
notes/unix/fall2023/projects/fwg0.1696616394.txt.gz · Last modified: 2023/10/06 18:19 by 127.0.0.1