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 RayeR(R) Homepage, CZ, 17.02.2015, 18:09

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

---
DOS gives me freedom to unlimited HW access.

 

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