Tutorial: Compile VisOpSys

Programming, for all ages and all languages.
Post Reply
User avatar
~
Member
Member
Posts: 1226
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Tutorial: Compile VisOpSys

Post by ~ »

I made this tutorial to show exactly how to compile and build the VisOpSys disk images.

I compiled it under Topologilinux 7.0.1.

I used VirtualBox under Windows 7, but the building process was performed under Linux.

Then, watch this video. We download the VisOpSys source code (0.77 in this case), and just type and enter make. Wait the compilation process to end in arount 5-10 minutes, then we follow the instructions in visopsys-0.77-src/utils/BUILDING.txt to create the disk images and the new source code archive:
>> Compile VisOpSys 0.77 Under Topologilinux 7.0.1 <<


First, install VirtualBox and set the RAM to 512 Megabytes, the video memory to 32 Megabytes, the hard disk to 16 Gigabytes and the number of CPU cores to 1:
>> Install and Configure VirtualBox <<

Now we can install Topologilinux 7.0.1 and leave it running to compile VisOpSys (use startx to enter graphics mode and KDE/GNOME):
>> Install Topologilinux 7.0.1 Under VirtualBox <<

Download Topologilinux 7.0.1 and VirtualBox:
http://sourceforge.net/projects/topolog ... x%207.0.1/
http://www.virtualbox.org/wiki/Downloads


The next thing to document is the process to write and install on Floppy, CD-ROM and USB.
YouTube:
http://youtube.com/@AltComp126

My x86 emulator/kernel project and software tools/documentation:
http://master.dl.sourceforge.net/projec ... 7z?viasf=1
kzinti
Member
Member
Posts: 898
Joined: Mon Feb 02, 2015 7:11 pm

Re: Tutorial: Compile VisOpSys

Post by kzinti »

~ wrote:The next thing to document is the process to write and install on Floppy, CD-ROM and USB.
Great! I can't wait for the next installments!
User avatar
~
Member
Member
Posts: 1226
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Tutorial: Boot VisOpSys from USB (Windows)

Post by ~ »

NOTE: Remember to always run your emulator programs as an Administrator, to allow them to use your real hardware (like bootable disks) with full privileges. Otherwise they might run with limited features or simply fail.

>> View Video Showing VisOpSys Booting Process From USB <<

To install VisOpSys into an USB mass storage device, we use iBored to write the image after downloading it:
http://apps.tempel.org/iBored/

The VisOpSys USB image contains a partition of only 30 Megabytes so it should fit in all existing USB disks, and it's the best booting option since it contains all programs (around 5 Megabytes) and the rest is free:
http://www.visopsys.org/downloads.htm

Then we create a VMDK image with the VirtualBox command-line tools (here the USB device name looks like \\.\PhysicalDrive1, but could be another one, like \\.\PhysicalDrive2, but we can determine it by looking at the name of the disk device we wrote under iBored and use it):

Code: Select all

"C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" internalcommands createrawvmdk -filename C:\DataTraveler_USB_2GB.vmdk -rawdisk \\.\PhysicalDrive1


Then we create a virtual computer inside VirtualBox, make sure to use the VMDK file we created as the primary bootable hard disk (which is a very small file and only contains the disk metadata to describe it and use it at low level), and then run VisOpSys.
YouTube:
http://youtube.com/@AltComp126

My x86 emulator/kernel project and software tools/documentation:
http://master.dl.sourceforge.net/projec ... 7z?viasf=1
Post Reply