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
Sat Nov 7 14:37:06 2026
from
Swarthmore, Pa
via
Telnet
morphBBS
Sat Nov 7 13:34:59 2026
from
Saskatoon, Sk
via
HTTPS
morphBBS
Sat Nov 7 01:17:35 2026
from
Saskatoon, Sk
via
HTTPS
Vintagegeek
Fri Nov 6 11:28:37 2026
from
Swarthmore, Pa
via
Telnet
System Info
Sysop:
deepend
Location:
Calgary, Alberta
Users:
326
Nodes:
10 (0
/
10)
Uptime:
40:09:57
Calls:
2,747
Calls today:
3
Files:
6,650
D/L today:
23 files
(7,859K bytes)
Messages:
496,384
Synchronet Oneliners
User Fx@rdbbs Sun Oct 4 21:01:03 2026 idek. thank you, from hashnix.club peace. ~ufx
Dustman@rdbbs Wed Oct 7 11:32:39 2026 Howdy all :)
Vintagegeek@rdbbs Wed Oct 14 10:53:35 2026 The Price is Wrong Now
Dundee@rdbbs Mon Oct 19 16:38:50 2026 The Dude abides...
Vintagegeek@rdbbs Sun Nov 1 13:54:14 2026 November is here
Vintagegeek@rdbbs Fri Nov 6 11:28:18 2026 His r Hers Golf Clubs