Skip to content

Instantly share code, notes, and snippets.

@vintagechips
vintagechips / DRKILLER.ASM
Last active Aug 14, 2020
DRAM KILLER for SBCZ80
View DRKILLER.ASM
; 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の制御レジスタ
@vintagechips
vintagechips / PIC16F18313_main.c
Last active Aug 7, 2020
SBC6800 SysClock, BaudRate, and Reset Generator 2MHz version by masa
View PIC16F18313_main.c
/*
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)
View ESP32 telnet-serial bridge (incomplete)
#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);
@vintagechips
vintagechips / SERIAL85.asm
Created Jul 21, 2019
MCS8085 Software Serial
View SERIAL85.asm
; SERIAL85
; SOFTWARE SERIAL
; FOR MCS8085
;
; DEFAULT VALUE
TXIM EQU 040H ;SIM命令のSOD以外の設定
;
; RESET VECTOR
ORG 0000H
RESET: LXI SP,0000H ;スタック設定
@vintagechips
vintagechips / HELLO05.asm
Last active Jun 20, 2019
HD68P05V07 Software Serial 'HELLO, WORLD'.
View HELLO05.asm
* HELLO05
*
* SYSTEM DEFINITIONS
PORTA EQU $00
PORTB EQU $01
PORTC EQU $02
*
PUT EQU PORTC
IN EQU 2
OUT EQU 3
@vintagechips
vintagechips / BLINKLED.ASM
Created Mar 20, 2019
MCS8085 BLINK LED TIMER INTERRUPT VERSION
View BLINKLED.ASM
; MCS8085 BLINK LED
; TIMER INTERRUPT VERSION
;
PORTA EQU 00H ;8755 PORTA I/O
DDRA EQU 02H ;8755 PORTA DIRECTION
CSREG EQU 0F8H ;8156 COMMAND/STATUS REGISTER
TIMRL EQU 0FCH ;8156 TIMER L
TIMRH EQU 0FDH ;8156 TIMER H
;
; RESET VECTOR
@vintagechips
vintagechips / hw8251.asm
Last active Dec 22, 2018
hello, world for SBC8088 + SBC8080 SUB modification
View hw8251.asm
; SBC8088 terminal test program
; SBC8080 SUB Board 8251 polling version
; Assembler: asm86.com/asm86.cmd
;
RAM equ 0000h ;0000h..7fffh
ROM equ 8000h ;8000h..0ffffh
STACK equ 4000h ;stack top
REGAD equ 00h ;8251 data register
REGAC equ 01h ;8251 control register
;
@vintagechips
vintagechips / hw7201.asm
Last active Oct 28, 2018
hello, world SBC8088 uPD7201 Channel A polling version
View hw7201.asm
; SBC8088 terminal test program
; 7201 Channel A polling version
; Assembler: asm86.com/asm86.cmd
;
RAM equ 0000h ;0000h..7fffh
ROM equ 8000h ;8000h..0ffffh
STACK equ 8000h ;stack top
REGAD equ 0C0h ;7201 channel A data register
REGAC equ 0C1h ;7201 channel A control register
;
@vintagechips
vintagechips / Z8START.ASM
Created Sep 14, 2018
Z8 Single Board Computer Start-up Program
View Z8START.ASM
; Z8 STARTUP PROGRAM
;
; REGISTERS
PORT0 := %00
PORT2 := %02
PORT3 := %03
P0MOD := %F8
P2MOD := %F6
P3MOD := %F7
;
@vintagechips
vintagechips / sbcio21.asm
Created Jul 22, 2018
SBC6303+SBC-I/O 6821 port test program
View sbcio21.asm
* SBCIO21 - 6821 PORT TEST PROGRAM
* TARGET: LILBUG ON SBC6303
* ASSEMBLER: ARCPIT X6801.EXE
*
* 6821 RESISTERS
PORTA EQU $8050 A,PORT/DIRECTION
CRA EQU $8051 A,CONTROL
PORTB EQU $8052 B,PORT/DIRECTION
CRB EQU $8053 B,CONTROL
*
You can’t perform that action at this time.