Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

CLI and STI (asm) in my ISR ? (Announce)

posted by cpcdos E-mail, FRANCE [Lyon], 23.02.2015, 15:59

> Do you use DJGPP for your code? I remeber the caution about a need to lock
> memory that belongs to ISR (and all routines it may call and all data it
> may manipulate) to prevent being swapped out from RAM (in case you use
> swapping-enabled DPMI server like cwsdpmi)
> see functions:
> int _go32_dpmi_lock_code( void *_lockaddr, unsigned long _locksize);
> int _go32_dpmi_lock_data( void *_lockaddr, unsigned long _locksize);
> But it would be probably something else...


@RayeR : Thank you this work perfectly :-)


Best regards

---
Sébastien FAVIER

ps: Excuse me for my English level, I'm a French student

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 388 users online (0 registered, 388 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum