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
Evander
Fri Apr 24 14:44:42 2026
from
Usa
via
Telnet
Fort
Thu Apr 23 23:17:20 2026
from
Cougar, Washington
via
Telnet
Fort
Thu Apr 23 17:34:55 2026
from
Cougar, Washington
via
Telnet
Fort
Thu Apr 23 17:27:23 2026
from
Cougar, Washington
via
Telnet
System Info
Sysop:
deepend
Location:
Calgary, Alberta
Users:
303
Nodes:
10 (0
/
10)
Uptime:
02:46:41
Calls:
2,530
Files:
5,890
D/L today:
245 files
(66,023K bytes)
Messages:
470,282
Synchronet Oneliners
Kat@rdbbs Wed Mar 11 14:52:38 2026 Hello erryone!
Jmay@rdbbs Fri Mar 13 20:32:57 2026 Burning the oatmeal
Tsukaj@rdbbs Tue Mar 17 22:27:28 2026 hell yeah this is so cool
Ecjonas@rdbbs Tue Mar 31 06:08:47 2026 Fedora be nice, i think
Vintagegeek@rdbbs Wed Apr 1 09:46:05 2026 Happy April 1st