Subject: SBC EFI simple ASM program strategy
From: Rotary Engine
Date: 12/31/2011, 10:19 AM
To: undisclosed-recipients:;

Using the built in timers counters can be a daunting for new programmers.
When starting out it is always best to use as few program commands, instructions
or statements as possible get things done.

I came up with this simple ignition timing idea. Assume the 2nd gen CAS.
Poll the top CAS and the bottom CAS. Every time the bottom CAS occurs
decrement a register.

When the top CAS occurs fire rotor one and keep counting the lower CAS
every 30 degrees for a count of six or 180 degrees BEQ and fire rotor 2.

So all you need to learn to do this is:
DEC, BREQ, ICALL, RET, INC and CLR.


You now have a rotary ignition system based on a $30 single board AVR computer
and a general purpose EFI I/O board.

Don't forget this computer performs these instructions at a rate of well over
one million instruction a second so 8000 RPM is no problem.


ASM is a wonderful creative medium. The sky is not the limit :)
You can build on this and add all sorts of things including
a full blown EFI.

Paul Lamar

-- 
The Rotary Engine NewsLetter. Powered by Linux.
ACRE NL web site. http://www.rotaryeng.net
Youtube key word PaulLamar2
Copyright 1998-2011 All world wide rights reserved.