Skip to content

Instantly share code, notes, and snippets.

View yunkya2's full-sized avatar

Yuichi NAKAMURA yunkya2

View GitHub Profile
@yunkya2
yunkya2 / README.md
Last active August 18, 2023 14:09
X68000Zにシリアルで繋いだWindowsをリモートドライブにするアプリ (開発途中)
@yunkya2
yunkya2 / main.c
Created January 4, 2023 15:19
X68000 B_SUPERで安全にユーザモードに復帰する
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <iocslib.h>
#include <doslib.h>
int main(int argc, char *argv[]){
/* 何かキーが押されるまで繰り返す */
while (INPOUT(0xFF) == 0) {
/* スーパーバイザモードに移行する */