Status: design proposal. Nothing has been built yet. This document describes the intended design so that MSX users can judge whether it's worth having and hardware people can judge whether it's worth building. Part numbers, prices and register layouts are proposals and may change during validation and prototyping. Feedback is welcome.
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
| #!/usr/bin/env bash | |
| # | |
| # Create a draft GitHub release from pull requests targeting a milestone. | |
| # | |
| # Usage: create-github-release <repo> <milestone> [options] | |
| # | |
| # Arguments: | |
| # repo Repository URL or user/repo format | |
| # milestone Milestone name to collect PRs from | |
| # |
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 | |
| # chgcount.sh - Count lines added/modified and deleted in git diff | |
| # | |
| # Usage: chgcount.sh [OPTIONS] | |
| # | |
| # Options: | |
| # -p, --pattern PATTERN File pattern to check (default: all files) | |
| # Use **/ prefix for recursive matching in subdirectories | |
| # -f, --files FILES Explicit space-separated list of files to check |
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
| <?php | |
| /** | |
| * Simple file-based WordPress object cache implementation. | |
| * | |
| * Drop this file in wp-content/ to enable persistent object caching. | |
| * Each cache group stores its data in a separate file using PHP serialization. | |
| * Files will go in WP_CONTENT_DIR . '/cache/object-cache', or if | |
| * no WP_CONTENT_DIR constant is defined, in '/tmp/wp-object-cache'. | |
| * | |
| * This file is provided as-is without warranty of any kind. |
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 | |
| # WooCommerce Worktree Management Script | |
| # By Konamiman (and Claude) | |
| set -e | |
| WOO_REPO="$HOME/woocommerce" | |
| WOO_CORE="$WOO_REPO/plugins/woocommerce" | |
| WOO_WORKTREES="$HOME/worktrees" |
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
| <?php | |
| /** | |
| * Apply a diff to a text composed of multiple lines. | |
| * | |
| * The diff is expected to be in unified format (https://www.gnu.org/software/diffutils/manual/html_node/Unified-Format.html) | |
| * but for a single file (so there are no file names and the first line starts with "@@" already). | |
| * | |
| * The approach followed is probably not the most efficient possible, but the code is small and gets the job done. | |
| * |
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
| using System; | |
| using System.Globalization; | |
| using System.Linq; | |
| using System.Numerics; | |
| using System.Security.Cryptography; | |
| class Example | |
| { | |
| public static void Main() | |
| { |
This program will parse and print the structure of a relocatable (.REL) Z80 code file generated with the Macro80 assembler (M80.COM) and processable with Link80 (L80.COM). See ParseRel.cs for build instructions.
More information on Macro80/Link80 and the .REL format: http://www.msxarchive.nl/pub/msx/programming/asm/m80l80.txt
How to connect a CH376 to a Z80 via I/O ports 20h and 21h (compatible with Rookie Drive):
| Z80 | 74HC688 | CH376 |
|---|---|---|
| 5V | 5V | 5V |
| GND | GND | GND |
| D7...D0 | D7...D0 | |
| RD | RD | |
| WR | WR | |
| A0 | A0 |
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
| /** | |
| * Skeleton for a USB device implementation with a CH372/375/376. | |
| * | |
| * No real device functionality is implemented, | |
| * only the standard USB requests over the control endpoint. | |
| */ | |
| #include "constants.h" | |
NewerOlder