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/23 22:58] – [Build from Source] morcuttnotes:unix:fall2023:projects:fwg0 [2023/10/26 02:13] (current) – [qbrown2] qbrown2
Line 15: Line 15:
   - Head to the github repository and download either the .zip or .tar.gz files.    - Head to the github repository and download either the .zip or .tar.gz files. 
   - unzip/untar it and then look at the readme.   - unzip/untar it and then look at the readme.
-  - +  - Follow steps in the readme
 =====Cartridge build process===== =====Cartridge build process=====
  
Line 27: Line 27:
  
 ====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 69: Line 69:
 ====efritz2==== ====efritz2====
 ===question cprog=== ===question cprog===
 +
 ===response cprog=== ===response cprog===
 ===question unix=== ===question unix===
Line 75: 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 85: 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 95: 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===
Line 109: Line 134:
 ====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.1698101937.txt.gz · Last modified: 2023/10/23 22:58 by morcutt