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
Vintagegeek
Tue Jun 30 17:50:07 2026
from
Swarthmore, Pa
via
Telnet
Vintagegeek
Sun Jun 28 10:34:10 2026
from
Swarthmore, Pa
via
Telnet
Deepend
Fri Jun 26 10:17:21 2026
from
Calgary, Ab
via
HTTP
Vintagegeek
Thu Jun 25 19:54:41 2026
from
Swarthmore, Pa
via
Telnet
System Info
Sysop:
deepend
Location:
Calgary, Alberta
Users:
315
Nodes:
10 (0
/
10)
Uptime:
26:57:20
Calls:
2,574
Files:
6,178
D/L today:
45 files
(15,424K bytes)
Messages:
480,050
Synchronet Oneliners
Lord Jord@rdbbs Sat May 23 15:08:21 2026 hello from olds!!
Vintagegeek@rdbbs Sun May 31 06:45:26 2026 No one cares anymore. Congress is a Sinkhole
Regen@rdbbs Tue Jun 9 09:36:17 2026 Knowledge is Good
Vintagegeek@rdbbs Wed Jun 10 15:01:58 2026 Hey Crazy Man. Do a little dance...
Vintagegeek@rdbbs Thu Jun 11 10:12:20 2026 Let the dogs out !!
Vintagegeek@rdbbs Thu Jun 25 19:54:33 2026 The Discovery of Witches