Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

User exception handler in C (Developers)

posted by marcov, 18.08.2020, 12:23

> > Aha, it was not so hard.
> >
> > My implementation in FreePascal:
> > (not the mentioned SSE check but a very simple example how to catch out
> the
> > division by zero and how to revert the handler to original state)
>
> Okay, but technically, just to determine something like SSE support, you
> should probably use unit
> mmx
> (is_sse2_cpu) instead.

Undocumented unit cpu has some functions too, and might be more maintained.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 241 users online (1 registered, 240 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum