On Tuesday 31 July 2001 12:24, you wrote:

> - Obtain the slot currently switched on page 1 by reading the slot
> selction register, connecting the slot of page 1 into page 3 and reading
> address #FFFF. Save this slot+subslot value on OLDSLOT.

You should ofcourse complement what you read from #FFFF. I assume your code 
does, but you didn't mention it here.

> - Save contents of work area #FCC5 to #FCC8 (the sublot  registers
> saving area) as OLDSUB

What are these for, anyway?

> - Switch NestorMan slot on page 1 with ENASLT

Watch out: ENASLT does an EI.
Since you store values on fixed addresses, the interrupt handler is not 
re-entrant. You have to guard against interrupt-within-interrupt. The 
previous code you sent to the list did that (interrupt in progress flag).

Bye,
                Maarten
--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html

Reply via email to