This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name dskimg | |
| page 55,132 | |
| title DSKIMG.COM--save a disk image | |
| ; Project Crew™ 1/18/2025 | |
| .MODEL tiny ; Create DSKIMG.COM | |
| bytes equ 64 * 512 ; number of bytes in buffer | |
| exit equ 4c00h ; exit back to DOS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name cs | |
| title CS.COM--blank the Screen (CGA version) | |
| ;--- assemble: uasm -bin -Fo CS.COM CS.ASM | |
| ; | |
| ; Project Crew™ 12/6/2024 | |
| .model tiny | |
| modsel equ 3d8h ; CGA Mode-Select Register |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .MODEL TINY | |
| .STACK 100h | |
| .DATA | |
| ;msg DB 'hello, world',13,10,'$' | |
| msg DB 0d6h,0dbh,0d2h,0d2h,0d1h,092h,09eh,0c9h,0d1h,0cch,0d2h,0dah,0b3h,0b4h,09ah | |
| .CODE | |
| start: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* rngesus Generates random numbers >= 1 <= argv[1] | |
| * | |
| * Project Crew 11/21/2024 | |
| */ | |
| #include <iostream> | |
| #include <exception> | |
| #include <random> | |
| using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* compile with $ g++ -Wall -Os -o tankfreq tankfreq.cpp | |
| */ | |
| #include <iostream> | |
| #include <iomanip> | |
| #include <cmath> | |
| #include <exception> | |
| #include <locale> // std::locale, std::numpunct, std::use_facet | |
| using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Compile with gcc -Wall -o floperation floperation.c -lquadmath*/ | |
| /* Examine binary representations of floating point numbers | |
| on your machine | |
| Project Crew 8/10/2024 */ | |
| //#include <immintrin.h> | |
| #include <quadmath.h> | |
| #include <stdint.h> | |
| #include <stdio.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # conversion script for AT7456 / MAX7456 character sets | |
| # from Maxim .MCM binary format to charset.h | |
| # for reloading default character set, etc. | |
| # Project Crew 2024 | |
| exec<$1 | |
| value=1 | |
| echo "const char charset[] PROGMEM = {" > charset.h | |
| read |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # script that reads a YAML (.yml) file and verifies a local file against its sha512 hash | |
| # extraction of multiple digest entries not supported | |
| # these .yml are rumored to be spawn of electron-builder or ... | |
| hash=$(sed -n 's/^sha512: //p' $1 | base64 -d | xxd -p -c64) | |
| fname=$(sed -n 's/path: //p' $1) | |
| echo -n $hash' '$fname | sha512sum -c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| #include <xdo.h> | |
| #include <unistd.h> | |
| int main(int argc, char *argv[]) { | |
| if (argc<2) | |
| { | |
| puts("Specify rep rate in milliseconds"); | |
| return 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Compile with gcc -Wall -o pinh pinh.c -lm | |
| The formulator of the pinhole camera | |
| microscopic probgramme by The Lightning Stalker ©April 11, 2022 | |
| It's basically in case I can't remember the formula.'*/ | |
| #include <math.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> |