From Jcurtis@VERT to ALL on Tue Jun 24 20:27:48 2025
By trial and error I discovered EMM calls enable interrupts. This can
cause havoc in a TSR where you need interrupts disabled. Finding these
bugs is not easy. My TSR enables interrupts part of the time, so I do
EMM calls there. Here's an example with comments.
void
next_irq (void)
{
int x;
next:
x = next (); /* service IRQs with */
enable (); /* interrupts enabled */
# ifndef noemm /* EMM call enables interrupts, do */
emm_get_page_map (e1); /* not do it before enable () above */ # endif
if (x) {
service_com_irqs (x);
} else
service_ticktock ();
# ifndef noemm
emm_set_page_map (e1);
# endif
disable ();
if (x)
mask_irq (NO, x);
if (iq[iz])
goto next;
}
* SLMR 2.1a *
* SLMR 2.1a *
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
Who's Online
Recent Visitors
Ragnarok
Sat Sep 13 04:32:13 2025
from
Dock Sud
via
Telnet
Gus8027
Sat Sep 13 03:35:28 2025
from
Buenos Aies
via
Telnet
Ragnarok
Sat Sep 13 01:51:04 2025
from
Dock Sud
via
HTTP
Ragnarok
Sat Sep 13 01:50:17 2025
from
Dock Sud
via
SSH
Guest
Sat Sep 13 00:25:47 2025
from
Linuxshell
via
Raw
Damian Kleiman
Fri Sep 12 22:55:56 2025
from
Rosario, Sf
via
Telnet
Ragnarok
Fri Sep 12 09:09:14 2025
from
Dock Sud
via
NNTP
Ragnarok
Thu Sep 11 20:41:27 2025
from
Dock Sud
via
SSH
Damian Kleiman
Thu Sep 11 00:01:30 2025
from
Rosario, Sf
via
Telnet
Ragnarok
Wed Sep 10 22:41:23 2025
from
Dock Sud
via
SSH