How to connect a CH376 to a Z80 via I/O ports 20h and 21h (compatible with Rookie Drive):
|* 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.|
Only the changes relative to the structure of the driver for v2 are mentioned here. You can see the skeleton for a full v3 driver in the
Nextor-v3-driver.asm in this same gist, and the skeleton for a full v2 driver in the Nextor repository.
The driver flags byte needs to be changed to the fixed value 83h. Bit 7 indicates that the driver is a v3 driver, bits 0 and 1 need to be set for consistency with the meaning they had in Nextor v2.
This document explains how to stunnel for the Raspberry Pi (or more precisely, for the ARM architecture). All the information here has been gathered, and adapted where needed, from these blog posts: "Cross compiling for ARM with Ubuntu 16.04 LTS" and "Cross-compile OpenSSL for your Raspberry Pi". I needed to do that in order to be able to use my Raspberry Pi to provide Internet via WiFi for my Ethernet-only MSX. The OS I used as the building host is Linux Mint 18.3.
This is just a concise recipe and I'm not going to explain the details, feel free to take a look at the linked blog posts for more information.
First we are going to create a temporary directory for all the dirty work.
I love MSX computers. I have developed quite a few things for them, including a TCP/IP stack and some networking applications. Some other MSX nerds have developed networking hardware, so boom! Here it is, Internet access from MSX, a 1980s 8 bit machine. How cool is that?
However there are a few issues that prevent us the MSX users to reach the absolute networking happiness:
|# MSX BASIC tokenized file parser written in Ruby|
|# By Konamiman, http://www.konamiman.com|
|# This is my first Ruby thing, so improvement suggestions are highly welcome|
|@file_bytes_enumerator = read_file_bytes.each|
|@output_file = create_output_file|