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(R) Homepage E-mail, FRANCE [Jura], 20.02.2015, 07:57

> 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...


@bretjohn Thank you for your explications, I understand better how this work.
I have delete all subroutines on this ISR, and put other operations instead of, and this work :-) Thank!



@RayeR, I will keep you informed for this function
Best regards.

FAVIER Sébastien

---
FAVIER Sébastien
http://cpcdos.fr.nf/

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

 

Complete thread:

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