I'm about to finish my lunch break, sorry if I sound slightly short...

1) is there any pattern or logic to the values placed on the bus
during interrupts? I guess an equivalent question is: what realistic
options do I have on the Sam for catching and processing interrupts?

2) are there any non-obvious tricks for fast access to a table
containing 16bit words, indexed by an 11bit (signed) integer? At the
minute I'm essentially doing:

[stuff to work out offset into table in hl]
ld bc, <address of middle of table - which is aligned to a two-byte boundary>
add hl, hl
add hl, bc
ld e, (hl)
inc l
ld d, (hl)

Reply via email to