trylle / ibm515x Goto Github PK
View Code? Open in Web Editor NEWRaspberry Pi network video adapter software for IBM 515x-compatible monitors
License: MIT License
Raspberry Pi network video adapter software for IBM 515x-compatible monitors
License: MIT License
Hi,
This is a really cool project and I am excited to build it and test it out on my CGA monitor. I am sure you have moved on from this to new pursuits, but can't help but ask a few things.
Regardless, 640x400x17M colors on a TTL CGA monitor would be something to see for sure.
I was absolutely stoked to find this project! I have an IBM 5153 and am planning an art installation that uses it to display an interactive video. I've looked at other VGA to CGA options and this one seems the most desirable for the monitor I'll be using. I'm new to using a Raspberry Pi for something like this and could use some pointers on how to properly implement it.
Any advice would be deeply appreciated.
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.
sudo apt update (apt upgrade not needed if just doing basic stuff!)
sudo apt install snapd
sudo reboot
sudo snap install core
sudo snap install chromium
git clone https://github.com/trylle/ibm515x
cd ibm515x/configs
dtc -@ -I dts -O dtb -o cga.dtbo cga.dts
sudo cp cga.dtbo /boot/overlays/
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
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
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
https://app.virtualxt.org/index.html
https://app.virtualxt.org/freedos_web_hd.img
https://app.virtualxt.org/script.js
https://app.virtualxt.org/virtualxt.wasm
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"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.