and cvs is down at the moment
well - that could make things tricky
anon access is still up from what I hear.
OK - I'll try that - I don't expect to make too many changes on the computer with the lo-res screen :)
I need to do some dev/test work on this new install....
will ssh in from the main desktop computer
well - anonymous login is rejecting all passwords
so pserver is down too.
I get a CVS password: prompt, but nothing seems to work
(blank, email address, random garbage)
I got a "Failed to open /root/.cvspass" error on the last try
there is no passwd for anon logins - just hit return.
That's what I did when I got the missing file error
thats a normal cvs behivior at first
now it worked
(and I even got the chips.gif file :) )
cvsweb is showing all of yesterday's changes.
cool. I just tried a configure / make, which failed
The first time, it couldn't find gcc-2.95, so I installed that (apt-get install gcc-2.95)
did you install the kernel sources ?
Then, it got through ./configre, but make craps out on linklist.cc - it can't find g++
not the full source, just headers
You will need to install the kernel sources from the CD
accualy g++2.95-dev I think
Use g++ 3.3 (or what ever the latest version is)
Well - the installed RTAI seemed to think it was compiled with 2.95 - would that be an issue
Only for the kernel modules
OK - ./configure mentioned that it found gcc-2.95 from rtai-config
Once you have the kernel source package installed, there are a couple of steps that you must do before compiling
OK - shoot
cd to /usr/src and unpack the tarball there.
ok - it's unpacking
I assume I'll need to patch it with the RTAI patches
(I realized the stupidity of my statement as soon as I hit enter :) )
as I see Adeos scroll by thousands of times
when the sources have been unpacked...
take a peek in /boot
what am looking for
copy that to usr/src/..., make oldconfig ...
This needs to be copied to /usr/src/kernel-source-2.6.9-adeos
then make oldconfig
and there is one final step to perform....
you need some chicken blood
and some bones
first, cut the bloe wire
no - the red
ok - somehow I have no "gcc" command now.
I suppose I should link that to gcc-2.95
(or 3.4, which would have been ideal)
was it 2.95 or 2.96 that was broken?
robin_sz : megasquirt looks way way cool
best pr0n site I know
that would be one hell of a way to do things for sure
but im gonna do it right the first time
oh THAT megasquirt ;)
yeah, stick with standard, one less thing to worry about
but that sure is cool
another reason to have a win box handy
if you had an old injection car to play with
reminds me, must scrap this beemer ...
you could inject just about anything with that
that would be neat for say a rc plane or something
way too big for a rc thing
im talking about a big rc thing :)
or a small one to tinker with
inject a non injection thing ... like a boat, lawnmower
I was thinking about a lawnmower
you cant really inject a 2stroke engine can you?
mmm ... well, you could
it would be OK as a non-performance thing
2strokes are better off being injected
theve failed to get real performance out of them in racebikes with injection as far as I know
direct injection after the exhaust port has closed.
oh for economy yeah
then youve got the "how to lubricate the innards" problem
maybe thats better without petrol washing it all off?
you know what, im glad I remembered this, you guys in the UK, can you own guns? the guys at work were talking about it again, and I want some real info to give them
ahh, theres how you interface a 3.3V xilinx to a rabbit ...
you use a 3.3v rabbit :)
good evening... Just trying out irc for the first time
paul.. I think we met at NAMES many years ago
Do you know if the EMC source is on the 4.18 bdi iso image?
errr.... Not up to 4.18 yet
Latest build is 4.16
sorry 4.16 then. I installed it and could not find the source for emc. or must I download that from sourceforge?
I want to rebuild emc, but I was trying to avoid all the tedious rtlinux install stuff.
So I thought I would just install the bdi, make some emc changes and then re-compile.
You will need to grab the latest sources from SF and also install the compiler tools
ohh.. so the bdi debian install does not have all the libraies and c code stuff.
no - Ran out of space for gcc & friends
BUT it does have the kernel headers, sources, and rtai-dev packages on the CD
ok.... perhaps I'll just fire up a redhat copy and do the rtlinux install. Any problems with redhat9.0 and rtlinux 3.X ?
if you are using a 2.6 kernel, yes.
so what redhat version or kernel version should I use? I last did the compile on redhat 5.2 many years ago...
Have you used Debian before ?
only for the bdi I just installed... Is it easier?
For installing packages, Debian can't be beaten
apt-get foo, and all the dependencies are installed at the same time.
So I should just read up on installing from debian and go forward from the bdi install?
Just read the section on apt - That will be enough to start with
BDI-4 installs Debian !
Yeah I saw that you moved to debian. OK so I can try that . Thanks a lot
paul.. I've got to go.. thanks again. I'll catch you later.. dave
Try a bit earlier in the day please
03paul_c 07bdi-4 * 10emc2/src/ (configure configure.in): Found a couple more spots where kernel module extensions were tripping configure up.
Jymmm is now known as Red70sShow
Red70sShow is now known as Jymmm
good morning young rabbits
good morning older rabbit
hmm sunny and 25c today...hard to work
could not run the cnc due to thunderstorms yesterday
early spring is starting here
right .. so who understands this FPGA nonsense ...??
les: why not?
what exactly do you connect unwanted outputs to to stop the compiler complaining
I get lots of "XLXI_8 has no load" warnings
I tried connecting pullups, pull downs, keepers .. all end in tears
do you have to worry about warnings?
well .. dunno
if it's not errors.. it's not like in C where all warnings are to be treated like errors..
I like to see little green ticks instead of little yellow exclamation marks :)
wow, snowing now
isnt there anything about that on the page?
nah, the documentation is a bit either too little or too much
I tink I need an idiots guide :)
I need one for what I am coding now..
Ahh... robin_sz - Words on wiki please.
logged in, but all the pages are shown as read only.
I can't edit or add...
paul_c: I think there's a link at the FrontPage that tells you what you have to do before you can edit a page
"""If you want to add information to this page or add a new page, follow some BasicSteps."""
[14:37:38] <jepler> http://www.redpoint.org.uk/cgi-bin/emcinfo.pl?BasicSteps
Doh... admin passwd.
ahh, solved it then :)
see step away from the keyboard for a moment and I miss it all :)
the other eror I get rleates to using combinational logic to drive a clock line
"please use the CLOCK_SIGNAL constaint" ...
now, if I knew how to apply a contraint ;)
ah ha ...
hmmm ... more confusion
im using a address decoder to drive the CE inputs of some latches, to latch incoming data ...
yet it complains about the signal being combinational logic rather than gated clock hmmm
robin - have a chance to play with the software?
websys: I see you've updated the package....
Sorry - I should have notified you
Changes were mostly for RedHat, Mandrake, Novell, Suse and Slackware distros
* anonimasu yawns
But I see you fixed the permissions on the demo scripts - That will help...
03paul_c 07bdi-4 * 10emc2/src/ (Makefile emc/drivers/Makefile): Started work on a driver for the Sensoray 526 PC104 card. Also added some makefile magic so that the kernel modules can be selectively compiled - In time, a config param can be used to select the modules..
03paul_c 07bdi-4 * 10emc2/src/emc/drivers/sensoray/ (Makefile ext526mot.c sensoray526.c sensoray526.h): Started work on a driver for the Sensoray 526 PC104 card. Also added some makefile magic so that the kernel modules can be selectively compiled - In time, a config param can be used to select the modules..
is there some place I can post a graphic?
what kind of graphic ?
pinout I want you guys to see
ah, I think I can past this as text.
you could try dcc..
almost have it as text, reformating now
* paul_c has to disappear for food.
Oh No Mr Paul! lol
Jymmm is now known as Red70sShow
Red70sShow is now known as Jymmm
03paul_c 07bdi-4 * 10emc2/src/emc/drivers/ (6 files in 2 dirs): Move the card model string in to the body of the driver code instead of in the extintf wrapper.
* paul_c is back
ok, missing ## are no connection.
Does this look like the pinout of a controller board ?
[19:05:11] <Jymmm> http://pastebin.com/245048
It sure does - However, one pin triggers alarm bells....
58 you mean
Pin 57 DCV24
Yeah, I saw that... kinda weird on a PCI controller card.
It could indicate the board uses 24V logic levels (or 15V).
unless it's used as a pass-thru for convienance
I suspect teh +24 comes from the machine to the controller card for some odd reason.
got a picture of the hardware in question ?
no, it took me 4 days just to get the manual
What's the hardware ??
the pinout was the MOST technical thing in it too =(
a laser engraver.
this is suppose to be the pinout from the machine to the controller card.
the card plugs in to a PC ?
do you think ORGx is home/limit signals ?
yeah, it's a PCI card.
you planning on using it with EMC ?
I'm considering it
You will need loads more "technical data" then..
register map of the card, etc...
The machine is a china import. and I'd like to create a turn-key solution.
paul_c: I think they would be willing to give up the source code.
Right now, communications is lacking. I'm not sure if it's language barrier or just flacky person.
Register maps are a pain in the **** to decipher from src code.
Hi alex_joni - New BDI uploaded.
Since I have pinouts, do yo uthink it would be better to use/create/ a different controller or stick with this one?
got a url for the machine ?
paul_c: no, all info is via email
paul_c: finished to install a machine to change dsplabs.utt.ro (still needs a little configuring), once changed there will be around 40 Gigs available
so I can mirror all the ISO's
what release info for 4.16 ?
great - That will help releave some of the load and means there is a backup should Sherline go down again.
that was my thinking
Synergy updated - No other change.
paul_c: wanna see some nice machines?
[19:18:39] <alex_joni> http://www.robcon.ro/emc/bigmachines/
paul_c: If I can get the register maps, what else should I ask for?
initialisation sequences for the encoder counters, IO ports... Basically all the sort of information someone would need to write a low level driver.
paul_c: Ok. Well, do you think it would be "better" to use their board, or to use/create an alternative?
and any 8255 data sheet for examples.
that's kinda nice. is EMC aware of it?
It really depends on what sort of signals need to be passed to the machine.... If it is standard +/-10V control with encoder feedback, we could use the Vital card..
EMC has a driver for the Vital card, yes.
curious... how much $$$ ?
'bout the $500 mark as I recall.
doh... 'EMC REady' lol I missed that
err pdf pg 4
Hi Alex. I have searched in the farnell catalog but they don't have the LS7266 !
[19:28:17] <paul_c> http://www.vitalsystem.com/motion/index.htm
for basic details & prices.
* paul_c has a few LS 7266 chips..
* Imperator_ has two samples
paul_c: Do you know where I can buy them in small amounts ?? Specialy I want to have the SMD version !
minimum order quantity is about 50 peaces at the distributors
Probably the only place you'd be likely to get small quantities is from US Digital, but their shipping charge is way expensive.
Alternative suggestion: Ask on list and see if someone could shop @ US Digital on your behalf.
Imperator_: I got some LS7166 from farnell (wasn't cheap ... about 16 quid/piece)
don't know about LS7266 though :(
I thought they should have them too...
jep, they have the LS7166 but not the LS7266
paul_c: seems that pc104 board is for you only ;)
how many do you need for your PC104 board ??
2 pcs ;)
first I need some way to use them ;)
right now I ain't got the time to do that
to bild a machine ?
I just got home about (8:30 PM), was at a customer the whole day :)
probably this is how it'll look the next few weeks :((
btw. good design
Imperator_: USD list the LS7266R1-SOIC
* Imperator_ hangs on the phone
paul_c: started the download
hope it won't hang
hey alex_joni - If you are only using an 8-bit interface, you can do away with half the PC104 connector...
paul_c: what I am thinking about: wouldn't it be more usefull to make an emc-approved HW card?
I don't think I'll have use for the LS7266 card right now...
maybe you have some thoughts about the card (IO, AIO, enc-feedback...?)
should be something easy & cheap for the users who don't want to buy a STG
or anything like that
e.g. < 100$
* alex_joni will have a great night...
* alex_joni was busy welding today...
and I'm afraid sh&t happened :(
you should head back to work to check it out if it's not too far away
2 x 400 Amps was too much for my eyes
didnt you use a good screen?
or didnt it help?
I am writing a stupid function for the PLC's at work now..
paul_c: where do you get that CPLD from? I wouldn't be able to find it...
wouldnt a purpose built card be even better? although not cheaper..
I'm trying to find a link for a "Do anything" card that had an fpga on it...
an0n: the screen I used was 11, usually I use 14 for this job :(
alex_joni: I found somthing strange my stepper isnt missing steps, emc seems to add a offset in the middle of the program causing me to loose my position
I'll try updating my emc2 in a bit..
alex_joni: do you run one of the mirrors for BDI?
SWPadnos: yes, right now .. no :)
I'm just downloading the new BDI, so there isn't anything to download :(
an0n: did you use tool compensation?
OK. I'm trying to get a sense of the total amount of bandwidth used on the mirrors
I got plenty of bandwidth
it's at the local college
about 155 MBit in/out
I have the new image (4.16) on my website, but I want to be sure that I don't go over my 7.68GB/month
(transfer limits, I mean)
usually up to 60% load
do you know roughly how many people download monthly?
no idea ;)
I should add some stats...
alex_joni - I did make a doze zip file of 2D Synergy if you want to pick it up
OK - I'll keep asking around :)
I do want to try it out
how big did it grow?
errr.. shrink ;)
(oops - I mean 192GB/month :) )
ftp.webersys.com/Synergy2D.zip - 43 Mb
SWP: sounds more like it ;)
I'd assume that there are fewer than 250 or so downloads per month from each mirror :)
200/mirror/month is pretty much
I'd say 20 ?
that would fit nicely
I'll probably add my location as a mirror
nice... sherline is pretty loaded
any mirror will relief them
I just (finally) signed up for hosting - $16/month gets 7680MB storage, 192GB/mo transfer, 15 domains, unlimited subdomains, etc.
I should now add text other than "This will eventually be cool" to my sites :)
get your favorite html editor and do it (I use mc usually)
I used notepad for these :)
I should get my (graphic designer) wife involved
that helps ;)
if you're a doze user.. you'll find 1st Page 200 interesting
I use it pretty much
I'm breaking the habit :)
I'd be strictly Linux if the development tools would work properly (and have interchangeable data)
that's nice too ;)
I'm more the office man (at work) so I need (because of my customers) word&excel
yeah - I know the situation.
tried a few versions of OpenOffice... not very there yet
OpenOffice is getting much better these days, but you're right - not quite there yet.
works.. kinda.. on a fast machine (lots of mem)
still pretty away...
but then.. I have about 20 Gigs of tar.gz's packed with word, excel, ppt, etc.
don't wanna think about converting those
ahh.. and adjusting after an automatic conversion
well - you can load most any Office files with OOO (1.1.4, I think)
2.0 should be a nice upgrade
load is one thing
actually use them is another
Well - you have a point.
what I have seen so far, there are still minor problems with headers, images, tables, etc
I've been able to transfer in both directions, but the types of documents I use are not macro-laden, etc.
minor.. but I won't have time to fix those on every document
no macro here too
header / footer things got a lot better in 1.1.4 (vs. 1.1.2)
tbles and images as well.
I might try it again some day ;)
right now I got 10 M$Office licences :(
that's a lot of $$$
I think it's better than different versions of Word, but one single version of word works much with itself much better than anything else :)
alex_joni: I'll buy em from your for $0.99 USD each.
Jymmm: don't think you would pay 0.99 for them
hint: they are in romanian ;)
alex_joni: Did I say USD, sorry I meant pesos
i Lire, that's my final offer :)
alex_joni: Ok, you can pay ME $0.99 each and I'll take em off your hands
* alex_joni shall give it a thought
you guys were talking about pc104 boards earlier... how do they work in respect to I/O and things like HDD's etc?
PC104 = ISA
you need PC/104 I/O cards
only different board layout and connectors
PC/104+ = PC/AT, or is it PCI???
usually they are used on SBC's (Single Board Computers)
so is it one hdd per card?
and they can be stacked
no - it's a standard chipset, usually
Jymmm: nothing to do with hdd
you plug in a cable, and you can have the same two devices you would plug into a normal IDE connector
ok, so what does the backplane provide other than power?
you might have an hdd-controller on a pc104, but more likely a network card, a graphics card, or a IO-card
* Jymmm is confused.... isn't pc104(+) a SBC just sharing I/O thru a backplane?
SWPadnos: what are you talking about?
what do you mean?
Jymmm: pc104 is actually ISA (power+ISA signals)
the "no" wasn't intended for your statement, it was in response to "one hdd per card"
It's also a physical spec (4.5" square, or something like that)
Jymmm: pc104+ is actually PCI (power+PCI signals)
SWPadnos: what hdds are you talking about?
Many PC/104 embedded PC's have IDE connectors (or some provision for getting one)
Pluse VGA, serial, parallel, etc.
Those have the same IDE connector you'd find on a standard MB
SWP: right... but I still don't see what pc104 has to do with hdds ;)
Jymmm was asking if you could plug a hard drive into a PC/104 computer (I think)
alex_joni: it just started doing it in the middle of a program..
alex_joni: it was at -13...
ok, is there a PC104 for dummies somewhere?
[20:27:14] <SWPadnos> http://www.pc-104.org
alex_joni: it thought 0 was at -13
you can't plug an hdd to an isa connector...
SWPadnos: I dont think so =)
no, but PC/104 isn't just the bus description, it's the full spec for the electrical connections (ISA signals on a DIL header), physical size, etc.
If you have a computer module with an IDE connector, you can plug a HDD into a PC/104 card.
(it's like saying "can I plug a HDD into a PCI computer - probably, but you don't plug it into a PCI slot)
Jymmm: try the FAQ (though it's not quite for dumies :) )
so BASICALLY PC104 is just a different form factor alternative to AT/ATX ?
kind of, yes
There are environmental issues that PC manufacturers don't care about, that industrial board designers do care about.
Could I put 4 cards in a sngle box sharing a single video and kybd as example?
Not really meant for that
There are cases that are meant to hold a stack of cards
I don't think the spec is meant for multiple CPU cards though
(in a single stack)
check out http://www.ampro.com
- they have a large selection of embedded cards
* anonimasu yawns
alex_joni: your PC104 board is ecactly what I want to do on a ISA Board, but with a adidional 4x16bit DAC
and I have planned to use a CPLD for IO, but maybe the 8055 are also not that bad
Put the counters & IO in a single fpga, and there would be plenty of space for a D/A converter
jep, but I have no skills in FPGA programming
I am test running another program to see if emc does the same as last time..
has anyone done any robotic part's pickers sorta thing?
no, but I did find some in a surplus store a little north of you.
paul_c: Yeah? Where by chance?
Gizmos in Beaverton, OR.
ah, a LOT north of me =)
I'm trying to figure out how to "pick up" flat materials (12" x 12" max) thickness ranging from 1/8" to 1/2" in wood or plastic
i dont think there's any better way :)
I'm quite interested in the robotics thing as well.
I may suggest adding come independent axis moves to EMC (possibly at fest)
anonimasu: that should work, but it's the accurate placment of the piece that bothers me.
kinda like those claw vending machines with the stuffed animals
less the claw =)
yeah but that depends on how you build your machine..
you can have a L to align the pices with..
if you have your piece in place before you pick it up there's no reason for it to move
It would be stacks of raw materials being placed on the table, then routed, then removed
Think coffee vending machine.... you load up the stack of empty cups, drop one down, fill it with coffee, then let the person grab the cup.
or think of a cd bruning machien that can be loaded with 500 blanks.
or think of a cd burning machine that can be loaded with 500 blanks.
I prefer bruning machines :)
shush you =)
I shouldn't talk (type) - I've been Mr Typo the past few days.
no biggy =)
Vacuum (or magnets, depending) can work - you just need to be sure you're properly aligned first.
The other possibilities are dependent on your "blanks"
If there are holes, you can make a jig with pins to align it properly.
can you make some :)
not until AFTER it's been placed =)
think vending machine
who cares if there's a hole in the candy bar? (or coffee cup) :)
03paul_c 07bdi-4 * 10emc2/src/ (configure configure.in): Add an explicit test for CXX and abort if nothing found.
That should take care of SWPadnos' comments about g++ not being found.
configure tested for it, but didn't abort - It does now !
Of course, now that I tried logging as non-root, I can't run EMC :)
didya check the wiki pages ?
no - not yet
* SWPadnos goes to check the wiki pages
looks like a few CRs or && / ; are missing
* paul_c quickly updates something before SWPadnos sees it.
* SWPadnos isn't looking :)
do a refresh.
That looks like the series I had to do
What is the process for installing the newly compiled version as "the" emc on the system
did you do "make modules_install" ?
03paul_c 07bdi-4 * 10emc2/src/ (configure configure.in): Added a test for sudo and print a warning if it isn't found.
Or do you mean via the build instructions ?
I did a modules_install
I may have had a problem with the USC not being powered on
If the USC isn't detected, the kernel module won't load.
right - I"m trying to get the GSI to work, so things are moving around a bit.
I might actually move a motor today!
dmesg is your freind
yes, it is :)
if/when you get a little further with it, I'll show you how to use the proc interface to print loads of diagnostic info.
Cool - I hadn't checked for /proc entries
debug and status - great
I see the heartbeat going up and up - that's good
and raw data from the encoders
well - that's the problem I'm trying to rectify right now.
and axis enable/disable status
I have the Gecko Servo interface, and it's supposed to provide a fault manager and encoder power supply
but I don't seem to get any power to the encoder.
yep - G320
I haven't hooked the gecko up yet - I'm still working on the encoder interface
Is there a +5V terminal for the encoder ?
On which board?
yes. I'm using the Gecko Servo Interface though, so things get hooked up a little differently
[22:36:58] <SWPadnos> http://www.pico-systems.com/gecko.html
I see now - I'm going in the wrong direction :)
the wiring for this thing is a little weird - I'll have it in a minute
* SWPadnos goes to get wire cutters
On another note: the run script(s) may need to be changed for non-root use.
the script complains of not being able to create a backup .ini file, or the .var file
sudo chmod +x /usr/local/emc
OK - then the BDI default install may need to be changed for non-root EMC use :)
There are a couple of small tweaks that need to be made - At present, the icons use sudo to execute generic.run.
I'm seeing the errors when I do ./generic.run in the /usr/local/emc dir
works OK when I do sudo ./generic.run
SWPadnos, hey, got an avr design question. I've made a two stepper motors step/dir driver (166 bytes :D ), I'm wondering during a pulse, should I disable interrupts... but I'm think it's only going to be like 30 cycles from the trigger of the interrupt to completeion of the phase change.
should I disable interrupts while in the middle of a phase change...
depends on what a phase change is
if you just use sbi/cbi instructions, then the change is atomic
if youneed to change both axes simultaneously, then you may need to think about cli/sei
sorry - are you outputting phases or step/dir?
actually, bad... as then the other motor couldn't increment phase changes.
I'm outputting phase changes... input is step/dir.
Use a table of phase outputs and LPM
SWPadnos, I'll show you what I wrote already
OK - feel free to email it to me
[23:28:28] <A-L-P-H-A> http://www.pastebin.com/245185
I'm thinking as long as the pulses are long enough, I shouldn't really have that much of a problem.
(funny - 166 bytes is slightly larget than the interrupt table on a Mega162 :) )
smaller, I mean
Isn't an eseg in eeprom?
I could have put it in cseg, or eseg.
no real diff.
so the phases are in EEPROM, and therefore not accessible with LPM
hmm... they seem to be working in the simulator. :(
dseg wouldn't work, you'd have to initialize it yourself
simulator == crap (for some stuff)
I'll just leave them in cseg.
good plan :)
your Modulus_Phase routine could be rewritten as andi A, $07
(ie, don't use a subroutine)
I don't understand.
how does andi help me in this situation.
an AND instruction can be used as a modulo instruction when the base is a power of 2
A representing the position in the array.
if you and a value with 7, then it will be clipped to the range 0-7
(lights just came on :) )
this only works with 2^n-1 numbers (1,3,7,15,31,63,127,255 (255 is useless though))
So what happens when ldi a, $08; ANDI A, $07; A = $00?
So what happens when ldi a, $03; ANDI A, $07; A = $03?
or if a=0, you DEC A, then ANDI A, $07, you get 7
yes, if A=3 and you ANDI A, 7, you get 3
do you want me to chop up the code on pastebin.com?
really? how's that work? 0b00000011 and 0b0000
I'm usint windows calculator to varify.
bit operations are wonderful things
ANDI A, $07; modulus of $07
ret; rjmp Get_Phase
why am I making it a rcall now. :)
it's 1 line.
or just dump the calls, and do an ANDI ...
I noticed you have a comment "r26-r31 are taken by the processor"
that's not quite true
on the 2313, only the low bytes of the pointer registers are used (except Z, which can aaddress flash)
148 bytes! :)
words or bytes?
Next thing: the phase code
Segment Begin End Code Data Used Size Use%
[.cseg] 0x000000 0x000094 140 8 148 2048 7.2%
change the phases array so that the top and bottom nybbles have the same bit pattern
nevermind - swap is easier
swap was so neat to me.
yeah - that's one that a colleague of mine asked "WTF is this good for?"
then it was the first instruction he was glad to have
(doing decimal arithmetic)
144 used now... removed an unused function. :)
SWPadnos, anything to perhaps enhance this?
sorry - was away at the dorr
did you modify the code on that site?
One thing you can do to decrease the size of the Get_Phase routine.
use an ORG statement to put it on a 256-byte (128-word) boundary
then load ZH once, and put the index (A) into ZL (you can probably just rename ZL to A)
also, you can use R0 in bit operations (just not with immediates), so you can directly OR it into the output byte
(so you can then put Get_Phase inline like Modulus)
the rcall / ret takes 6 or 7 clock cycles, so it's a real performance killer
Also, the INT0/INT1 routines:
argh .... assembly language ..!!
* robin_sz runs off and hides
First, they need to save and restore the status register (the main loop uses breq, etc. you don't want the flags changing in mid-stream)