Actual dos games that could at least theoretically be recompiled with the right dos tools, and then played in dosbox or on real hardware.
Doom doesn't count because the dos source is not available.
| #!/usr/bin/env bash | |
| # castanet.sh: Script to connect a chromecast to a WiFi network. | |
| # | |
| # Allows you to put your Chromecast on WiFi and do Chromecast initial setup | |
| # without using the Google Home app at all, just using a normal Linux computer. | |
| # | |
| # You do need your Chromecast to be on Ethernet, or (untested) to join its setup WiFi | |
| # network with your PC, and you also need to find out its IP yourself with e.g. | |
| # Wireshark. |
| //C++ copy files | |
| #include <fstream> | |
| std::ifstream src("from.ogv", std::ios::binary); | |
| std::ofstream dst("to.ogv", std::ios::binary | std::ios::trunc); | |
| dst << src.rdbuf(); | |
| /* | |
| the one-liner: | |
| std::ofstream(dest) << std::ifstream(src).rdbuf(); |
| Misc MACs: | |
| Num MAC Vendor | |
| --- --- ------ | |
| 0000 - 00:00:00 - XEROX CORPORATION | |
| 0001 - 00:00:01 - XEROX CORPORATION | |
| 0002 - 00:00:02 - XEROX CORPORATION | |
| 0003 - 00:00:03 - XEROX CORPORATION | |
| 0004 - 00:00:04 - XEROX CORPORATION | |
| 0005 - 00:00:05 - XEROX CORPORATION | |
| 0006 - 00:00:06 - XEROX CORPORATION |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "os/exec" | |
| "syscall" | |
| ) | |
| func main() { |
Actual dos games that could at least theoretically be recompiled with the right dos tools, and then played in dosbox or on real hardware.
Doom doesn't count because the dos source is not available.
Credit to Johan Petersson 2005-08-14, original was located at https://www.trilithium.com/johan/2005/08/linux-gate/ but is now defunct (and broken in Wayback Machine).
When you use the ldd utility on a reasonably recent Linux system you'll frequently see a reference to an ethereal entity known as linux-gate.so.1:
ldd /bin/sh
| if [ -f ~/.bash_colors ]; then | |
| . ~/.bash_colors | |
| fi | |
| PROMPT_COMMAND='RET=$?;' | |
| function _returnLambda { | |
| if [[ $RET = 0 ]]; then echo -e "${BGreen}"; else echo -e "${BRed}"; fi; | |
| } |
| # Returns (svn:<revision>:<branch|tag>[*]) if applicable | |
| svn_prompt() { | |
| if [ -d ".svn" ]; then | |
| local branch dirty rev info=$(svn info 2>/dev/null) | |
| branch=$(svn_parse_branch "$info") | |
| # Uncomment if you want to display the current revision. | |
| #rev=$(echo "$info" | awk '/^Revision: [0-9]+/{print $2}') | |
| Note these instructions are all based on the mightyOhm articles. This is a little bit different because I wanted to get alsa sound working (instead of dsp) so that I could overlay effects | |
| and background sound simultaneously. | |
| What to do | |
| ========== | |
| install mightyohm trx by blind flashing | |
| setup network and wireless and dhcp | |
| setup the banner for fun | |
| Blind flashing |