This file contains 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
* HELLO05 | |
* | |
* SYSTEM DEFINITIONS | |
PORTA EQU $00 | |
PORTB EQU $01 | |
PORTC EQU $02 | |
* | |
PUT EQU PORTC | |
IN EQU 2 | |
OUT EQU 3 |
This file contains 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
; SERIAL85 | |
; SOFTWARE SERIAL | |
; FOR MCS8085 | |
; | |
; DEFAULT VALUE | |
TXIM EQU 040H ;SIM命令のSOD以外の設定 | |
; | |
; RESET VECTOR | |
ORG 0000H | |
RESET: LXI SP,0000H ;スタック設定 |
This file contains 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 <WiFi.h> | |
const char* ssid = "Buffalo-G-0E94"; | |
const char* password = "password"; | |
const int port = 23; | |
WiFiServer server(port); | |
void setup() { | |
Serial.begin(9600); |
This file contains 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
/* | |
SBC6800 cock/boud rate/reset generator | |
Device: PIC16F18313 | |
Compiler: XC8 | |
*/ | |
/* PIC16F18313 | |
* +--x--+ | |
* +5V VDD|1 8|VSS GND | |
* RST(O) RA5|2 7|RA0 RST(I) |
This file contains 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
; DRAM KILLER | |
; TARGET: SBCZ80 | |
; ASSEMBLER: ARCPIT XZ80.EXE | |
; | |
ROMTOP EQU 0000H ;ROM領域の先頭 | |
RAMTOP EQU 8000H ;RAM領域の先頭 | |
SSTACK EQU 8010H ;スタックトップ | |
; | |
PSIOAD EQU 00H ;SIOチャンネルAのデータレジスタ | |
PSIOAC EQU 01H ;SIOチャンネルAの制御レジスタ |
This file contains 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
; SBCF8 hello, world | |
; dasm f8blink.asm -f3 -of8blink.bin -Lf8blink.lst | |
UARTD EQU $FF00 | |
UARTC EQU $FF01 | |
PROCESSOR F8 | |
ORG $0000 | |
JMP START | |
; | |
; MESSAGE |
This file contains 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
; uMON85 SBC8085 MICRO MONITOR | |
; | |
; DEFAULT VALUE | |
LINSIZ EQU 26 ; SIZE OF LINE BUFFER | |
; | |
; RESET VECTOR | |
ORG 0000H | |
RESET: LXI SP,LBUF ; スタック設定 | |
JMP MAIN ; MAINから開始 | |
; |
This file contains 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
; uMON85 SBC8085 MICRO MONITOR | |
; | |
; DEFAULT VALUE | |
LINSIZ EQU 26 ; SIZE OF LINE BUFFER | |
TXIM EQU 040H ; SIM INITIAL VALUE | |
; | |
; RESET VECTOR | |
ORG 0000H | |
RESET: LXI SP,STKBTM ; STACK SETUP | |
JMP MAIN ; GO MAIN |
This file contains 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
* Title: Blink LED | |
* Target: DIGIT TMP68301 BOARD | |
* Assembler: https://archive.org/details/68000ASM_ZIP | |
* Helper: http://takeda-toshiya.my.coocan.jp/msdos/ | |
* Win32 command: msdos asm -l blink68k.asm | |
* | |
* Special thanks @comoneko on Twitter | |
* | |
IORBASE equ $00FFFC00 | |
* |
This file contains 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
// PIC18F47Q43 Configuration Bit Settings | |
// 'C' source line config statements | |
// CONFIG1 | |
#pragma config FEXTOSC = ECH // External Oscillator Selection (EC (external clock) above 8 MHz) | |
#pragma config RSTOSC = HFINTOSC_64MHZ// Reset Oscillator Selection (HFINTOSC with HFFRQ = 64 MHz and CDIV = 1:1) | |
// CONFIG2 | |
#pragma config CLKOUTEN = OFF // Clock out Enable bit (CLKOUT function is disabled) | |
#pragma config PPS1WAY = OFF // PPSLOCK bit One-Way Set Enable bit (PPSLOCKED bit can be set and cleared repeatedly (subject to the unlock sequence)) |