Skip to content

Instantly share code, notes, and snippets.

View olegslavkin's full-sized avatar

Slavkin Oleg olegslavkin

  • Russia, Moscow
View GitHub Profile
package types
import (
"database/sql/driver"
"github.com/google/uuid"
)
type ChatID uuid.UUID
func NewChatID() ChatID {
XFree86 Version 3.3.6 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: January 8 1999
If the server is older than 6-12 months, or if your card is newer
than the above date, look for a newer version before reporting
problems. (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.2.13 i686 [ELF]
Configured drivers:
S3: accelerated server for S3 graphics adaptors (Patchlevel 0)
newmmio, mmio_928, s3_generic
@olegslavkin
olegslavkin / gist:0204f084197cc16d692b83015d749df9
Created March 4, 2021 10:28
virtualbox ubuntu and guest X11
sudo apt install virtualbox-guest-x11
sudo usermod -G vboxsf -a ${USER}
sudo reboot

Clone and compile

unset PRJ
export PRJ=${HOME}/Projects/pce
git clone git://git.hampa.ch/pce.git ${PRJ} && cd ${PRJ}
CFLAGS="-g3 -pg -fno-omit-frame-pointer " LDFLAGS="-g3" ./configure --prefix=$HOME/.local --disable-atari-st --disable-cpm80 --disable-macplus --disable-rc759 --disable-sim405 --disable-sims32 --disable-simarm --disable-vic20 --with-x
make -j $(nproc) && make install

help for pce-ibmpc

ARG UBUNTUREL=19.10
FROM ubuntu:$UBUNTUREL
MAINTAINER Oleg Slavkin <oleg@slavkin.info>
ARG DEFUSER=user
ARG DEFUID=1000
ARG DEFGID=1000
RUN sed -i 's\archive.ubuntu.com\mirror.yandex.ru\g' /etc/apt/sources.list && \
@olegslavkin
olegslavkin / boot.ini
Last active February 26, 2020 17:58
simh ini file for vax11/780.
set dz lines=8
set dz 7b
att dz -m line=0 8880
att dz -m line=1 8881
att dz -m line=2 8882
att dz -m line=3 8883
att dz -m line=4 8884
att dz -m line=5 8885
att dz -m line=6 8886
att dz -m line=7 8887
@olegslavkin
olegslavkin / 0_prepare.md
Last active June 22, 2020 14:03
Compile gcc-0.9 (vax11/780) simh

Все указанные действия производились в среде:

CentOS 7.7
Docker 19.03.5

Скачиваем и запускаем контейнер:

PROJECT=~/Projects/4.2bsd
mkdir -p $PROJECT && cd $PROJECT
container=vax780_42bsd
http://plover.net/~agarvin/4.2bsd.html