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
el3ctron
Sat Jul 25 11:06:11 2026
from
Macondo, CO.
via
Telnet
morphBBS
Fri Jul 24 01:11:53 2026
from
Saskatoon, Sk
via
Telnet
Vintagegeek
Wed Jul 22 09:31:30 2026
from
Swarthmore, Pa
via
Telnet
Vintagegeek
Tue Jul 21 16:09:37 2026
from
Swarthmore, Pa
via
Telnet
System Info
Sysop:
deepend
Location:
Calgary, Alberta
Users:
318
Nodes:
10 (0
/
10)
Uptime:
09:02:48
Calls:
2,593
Files:
6,272
D/L today:
111 files
(22,056K bytes)
Messages:
483,923
Synchronet Oneliners
Duke@rdbbs Sun Jul 19 08:58:12 2026 I almost made it
morphBBS@rdbbs Mon Jul 20 23:32:53 2026 can you see me?
el3ctron@rdbbs Tue Jul 21 02:46:45 2026 twitter is a oneliner copyy
Vintagegeek@rdbbs Wed Jul 22 09:31:05 2026 Left Right March
morphBBS@rdbbs Fri Jul 24 01:06:24 2026 Movies: The greatest nose job man in the universe & beverly hills