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
Dextile
Fri Jul 4 03:13:54 2025
from
Calgary, Ab
via
Telnet
Dextile
Thu Jul 3 23:38:08 2025
from
Calgary, Ab
via
Telnet
Dextile
Thu Jul 3 19:55:19 2025
from
Calgary, Ab
via
Telnet
Guest
Wed Jul 2 12:37:53 2025
from
Portsmouth, Hampshire
via
Telnet
System Info
Sysop:
deepend
Location:
Calgary, Alberta
Users:
270
Nodes:
10 (0
/
10)
Uptime:
17:19:57
Calls:
2,222
Files:
4,711
D/L today:
6 files
(1,604K bytes)
Messages:
422,339
Synchronet Oneliners
Darknetgirl@rdbbs Tue May 6 02:09:48 2025 Greetings from London/Milan. Getting back to real stuff
Vintagegeek@rdbbs Wed May 14 09:34:53 2025 Greetings from the ISS
Guest@rdbbs Sun May 18 09:30:17 2025 greetings from Poland / Europe
Vintagegeek@rdbbs Sat Jun 7 17:12:17 2025 Mars is busy today
Vintagegeek@rdbbs Tue Jun 24 16:54:23 2025 Leaving Mars at 17:15 on to Jupiter
Guest@rdbbs Wed Jul 2 12:37:39 2025 This is the good stuff