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
//baud rate generator | |
//device: PIC12F1822(5V) | |
//compiler: HI-TECH PICC 9.80a | |
#include <pic.h> | |
__CONFIG(FOSC_INTOSC & WDTE_OFF); | |
void main(){ | |
OSCCON = 0b11110000; //32MHz |
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
100 REM Versa Writer | |
110 REM | |
120 @(0)=7;@(1)=5;@(2)=5;@(3)=5;@(4)=7;REM 0 | |
130 @(5)=6;@(6)=2;@(7)=2;@(8)=2;@(9)=7;REM 1 | |
140 @(10)=7;@(11)=1;@(12)=7;@(13)=4;@(14)=7;REM 2 | |
150 @(15)=7;@(16)=1;@(17)=7;@(18)=1;@(19)=7;REM 3 | |
160 @(20)=4;@(21)=5;@(22)=7;@(23)=1;@(24)=1;REM 4 | |
170 @(25)=7;@(26)=4;@(27)=7;@(28)=1;@(29)=7;REM 5 | |
180 @(30)=7;@(31)=4;@(32)=7;@(33)=5;@(34)=7;REM 6 | |
190 @(35)=7;@(36)=1;@(37)=1;@(38)=1;@(39)=1;REM 7 |
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
/* | |
* File: LIKE6875.c | |
* Author: Tetsuya Suzuki | |
* | |
* Created on 2/16/2016 2:18:49 AM UTC | |
* "Created in MPLAB Xpress" | |
*/ | |
#include <xc.h> |
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
; 8080 + 8251 KICK START | |
; | |
USRTRD EQU 11111110B ;8251 data register | |
USRTRC EQU 11111111B ;8251 control register | |
; | |
; RESET VECTOR | |
ORG 0000H | |
SYSINI: | |
LXI SP,0FEFCH ;setup stack | |
MVI A,00H |
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
/* | |
MC6809 cock generator | |
Device: PIC12F1822 | |
Compiler: XC8 | |
*/ | |
#include <xc.h> | |
#pragma config FOSC = INTOSC | |
#pragma config WDTE = OFF |
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
* 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 | |
* |
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
; Z8 STARTUP PROGRAM | |
; | |
; REGISTERS | |
PORT0 := %00 | |
PORT2 := %02 | |
PORT3 := %03 | |
P0MOD := %F8 | |
P2MOD := %F6 | |
P3MOD := %F7 | |
; |
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
; 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 | |
; |
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
; 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 | |
; |
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
; 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 |
OlderNewer