Martin Maly
Published © CERN-OHL

OMEN Kilo

As simple as possible single-board computer with the 6809 / 6309 CPU.

AdvancedWork in progress8 hours1,923
OMEN Kilo

Things used in this project

Hardware components

HD63C09P
×1
74hc00
×1
MC68B50
×1
HM62256
×1
at28c64
×1
74138
×1
7.3728 MHz Crystal
×1
Capacitor 22 pF
Capacitor 22 pF
×2
Capacitor 100 nF
Capacitor 100 nF
×6
Capacitor 10 µF
Capacitor 10 µF
×1
1N4148 – General Purpose Fast Switching
1N4148 – General Purpose Fast Switching
×1
Pushbutton switch 12mm
SparkFun Pushbutton switch 12mm
×1
8x10k Resistor Network (SIP-9)
×1

Software apps and online services

www.asm80.com
Autodesk Eagle

Hand tools and fabrication machines

jlcpcb.com

Story

Read more

Schematics

Schematics

The full schematics

Code

Basic test

Assembly x86
Just a HELLO WORLD
test equ 0

.if test
.org $E000
.engine kilo
.else
.org $0000
.phase $E000
.endif

ACIA	   	EQU     $83fe
ACIAC       EQU     ACIA 
ACIAS       EQU     ACIA 
ACIAD       EQU     ACIA+1 

ACIA_TDRE   EQU     02h 

reset:
 lds #$7FFF
 orcc #$50
 lda #$15
 sta ACIAC
 
warm:
 ldx #hello
 jsr strout
 ldd #$a000
wa:
 subd #1
 bne wa
 
 jmp warm
 

strout:
 lda ,x+
 bne sout2
 rts
sout2:
 jsr serout
 jmp strout
 
serout: 
 pshs a,b
seroutl:
 ldb ACIAS
 andb #ACIA_TDRE
 beq seroutl
 sta ACIAD
 puls a,b
 rts
 

hello:
 .cstr "Hello world",0x0d, 0x0a

            .ORG    0xfff0
            ;reserved
            DW      reset 
            ;SWI3
            DW      reset 
            ;SWI2
            DW      reset 
            ;FIRQ
            DW      reset             
            ;IRQ
            DW      reset 
            ;SWI
            DW      reset 
            ;NMI
            DW      reset 
            ;RES
            DW      reset 

GitHub repository

Credits

Martin Maly

Martin Maly

4 projects • 9 followers
Old computer lover.

Comments