You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here are the photos of our (mine & @bertronika's) setup and results so far (RPi desktop shows and one can use it, also the dpi/fb_render_test works; have not tested netvid/streaming/dithering yet!): https://imgur.com/a/e6RcodQ
Hardware
To buy/obtain: Raspberry Pi 3, 2x SN74AHCT125N chip, 6 resistors, protoboard, jumper wires
Can use jumper wires to directly interface the male CGA connector
We will provide schematics ASAP!
Our goal is to run a Dosbox application just like it would show on the original IBM PC (or PC XT) with CGA graphics
Software
Complete instructions for fresh RPi install + latest Chrome + VirtualXT emulator in browser.
Since the resolution is 1920x200, normal Dosbox software doesn't properly render, thus the easiest "hack" for this was to use an emulator in browser and stretch it to fill screen. We use old Raspbian version from the time of this project to avoid incompatibilities.
Edit ibm515x/configs/config.txt and add line avoid_warnings=1 sudo cp config.txt /boot
Edit ibm515x/configs/cmdline.txt and change root=/dev/mmcblk0p7 to root=/dev/mmcblk0p2 sudo cp cmdline.txt /boot
Edit /etc/lightdm/lightdm.conf and set under [Seat:*] (not before!): xserver-command=X -s 0 -p 0 -dpms -nocursor
sudo apt install apache2
Copy virtualxt to /var/www/html/virtualxt (see section below!)
Add line to /etc/mime.types: application/wasm wasm
Remove the only line in /etc/ld.so.preload
Create /home/pi/virtualxt.sh with contents, then do chmod +x virtualxt.sh: /snap/bin/chromium --kiosk --app="http://localhost/virtualxt/?activity=0&touch=0"
Replace file /home/pi/.config/lxsession/LXDE-pi/autostart contents with this line: /home/pi/virtualxt.sh
sudo reboot
To build project binaries (OPTIONAL - we did NOT use this for our project and couldn't get streaming to work):
git clone https://github.com/trylle/ibm515x
cd ibm515x/
git clone https://github.com/trylle/netvid
sudo apt-get install cmake libblkid-dev e2fslibs-dev libboost-all-dev libaudit-dev libeigen3-dev
cmake .
make
Here are the photos of our (mine & @bertronika's) setup and results so far (RPi desktop shows and one can use it, also the dpi/fb_render_test works; have not tested netvid/streaming/dithering yet!):
https://imgur.com/a/e6RcodQ
Hardware
Software
Complete instructions for fresh RPi install + latest Chrome + VirtualXT emulator in browser.
Since the resolution is 1920x200, normal Dosbox software doesn't properly render, thus the easiest "hack" for this was to use an emulator in browser and stretch it to fill screen. We use old Raspbian version from the time of this project to avoid incompatibilities.
Edit ibm515x/configs/config.txt and add line
avoid_warnings=1
sudo cp config.txt /boot
Edit ibm515x/configs/cmdline.txt and change
root=/dev/mmcblk0p7
toroot=/dev/mmcblk0p2
sudo cp cmdline.txt /boot
Edit /etc/lightdm/lightdm.conf and set under
[Seat:*]
(not before!):xserver-command=X -s 0 -p 0 -dpms -nocursor
sudo apt install apache2
application/wasm wasm
chmod +x virtualxt.sh
:/snap/bin/chromium --kiosk --app="http://localhost/virtualxt/?activity=0&touch=0"
/home/pi/virtualxt.sh
sudo reboot
VirtualXT
In index.html change
<body style="background-color:black;">
to
<body style="background-color:black; margin:0px; padding:0px; overflow:hidden;">
In script.js change
canvas.style.setProperty("transform", "matrix(" + xScale + ",0,0," + (xScale * yScale) + "," + transX + ",0)");
to
canvas.style.setProperty("scale", (document.body.clientWidth / width) + " " + (window.innerHeight / height));
Edit the hard disk image (freedos_web_hd.img) as you see fit.
Tip: DiskExplorer works great for editing - use the profile "vmware plain disk"
The text was updated successfully, but these errors were encountered: