Skip to content

Instantly share code, notes, and snippets.

View sergev's full-sized avatar

Serge Vakulenko sergev

View GitHub Profile
@sergev
sergev / daa-das-286.txt
Created February 10, 2026 03:37
DAA and DAS outputs on 80286 processor
DAA:
AL AF CF -> AL AF CF
00 0 0 -> 00 0 0
00 0 1 -> 60 0 1
00 1 0 -> 06 1 0
00 1 1 -> 66 1 1
01 0 0 -> 01 0 0
01 0 1 -> 61 0 1
01 1 0 -> 07 1 0
01 1 1 -> 67 1 1
@sergev
sergev / daa-das-8086.txt
Created February 10, 2026 03:32
DAA and DAS outputs on 8086 processor
DAA:
AL AF CF -> AL AF CF
00 0 0 -> 00 0 0
00 0 1 -> 60 0 1
00 1 0 -> 06 1 0
00 1 1 -> 66 1 1
01 0 0 -> 01 0 0
01 0 1 -> 61 0 1
01 1 0 -> 07 1 0
01 1 1 -> 67 1 1
@sergev
sergev / puzzle15.log
Last active November 10, 2025 05:49
Playing 15 puzzle game written in Gisp
$ ./puzzle15.gisp
7 3 4
2 11 8 12
1 13 6 15
5 9 14 10
Enter a move: (down right)
down
@sergev
sergev / vakcf30.txt
Created September 16, 2025 21:07
Custom configuration for sendmail
###########
# Макросы #
###########
# Версия конфигурации sendmail. В данном случае
# Copyright (C) 1992-2007 Сергей Вакуленко, <vak@cronyx.ru>.
DVvak/3.0
V10
# Ссылки на макросы имеют вид $X. Макросы a-z используются системой,
@sergev
sergev / gist:2f27c348147bdef7c388b97da4fabfa8
Created August 22, 2025 00:00
List of all human protein records from UniProt/SwissProt
This file has been truncated, but you can view the full file.
Accession Protein Name Gene Name
A0A024R1R8 Translation machinery-associated protein 7B TMA7B
A0A024RBG1 Diphosphoinositol polyphosphate phosphohydrolase NUDT4B NUDT4B
A0A075B6H7 Probable non-functional immunoglobulin kappa variable 3-7 IGKV3-7
A0A075B6H8 Probable non-functional immunoglobulin kappa variable 1D-42 IGKV1D-42
A0A075B6H9 Immunoglobulin lambda variable 4-69 IGLV4-69
A0A075B6I0 Immunoglobulin lambda variable 8-61 IGLV8-61
A0A075B6I1 Immunoglobulin lambda variable 4-60 IGLV4-60
A0A075B6I3 Probable non-functional immunoglobulin lambda variable 11-55 IGLV11-55
A0A075B6I4 Immunoglobulin lambda variable 10-54 IGLV10-54
@sergev
sergev / v7-besm-utab.ast
Created May 9, 2025 01:01
AST dump of utab.c created by clang with -ast-dump=json option.
{
"id": "0x7f91c1059208",
"kind": "TranslationUnitDecl",
"loc": {},
"range": {
"begin": {},
"end": {}
},
"inner": [
{
@sergev
sergev / besm6-flushed-output.txt
Created April 27, 2025 00:07
Example of flushed output on BESM6 under SIMH
26.04.25 М3
М О Н И Т О Р-8 0 (3.7) 25.09.84* ( МС " Д У Б Н А " ИАЭ ) ШИФР 419999000000
21 AПP 25 00.11
ЙOKCEЛ БЭCM-6/5 ШИФP-12
MOHИTOPHAЯ CИCTEMA ′Д Y Б H A′ - 20/10/88
@sergev
sergev / hello.lst
Created March 5, 2025 00:01
hello.pascal compiled with besmc
04 MAP 25 16.00
ЙOKCEЛ БЭCM-6/5 ШИФP-12
MOHИTOPHAЯ CИCTEMA ′Д Y Б H A′ - 20/10/88
@sergev
sergev / retrobsd-startup-syscalls.log
Created February 9, 2025 23:44
Log of syscalls at RetroBSD startup
Syscall Return
------------------------------------------------------------------------------------
execv(7f008040 "/sbin/init", 7f008058) (no return)
gettimeofday(7f01ff30, 00000000) return 0
getuid() return 0
getpid() return 1
sigaction(12, 7f01ff2c, 7f01ff20) return 0
sigaction(15, 7f01040c, 00000000) return 0
sigaction(18, 7f01ff2c, 7f01ff20) return 0
sigaction(17, 7f01ff2c, 7f01ff20) return -1 = 0xffffffff