Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

VESAMTTR (recovered from Google) (DOSX)

posted by RayeR Homepage, CZ, 04.09.2007, 20:25

> The "pusha/popa" is harmless and shouldn't crash. :-D
> If you want you can send me a version which crashes. Might be interesting
> to find out why.

Do you have DJGPP to compile it or do you want both binaries with compiled debug info? I also wonder about that when commented this lines it stops crashing...
Maybe it's due to I don't fully understand the inline assembler parameter hadling, especially 3rd section clobbered_registers
asm ( "statements" : output_registers : input_registers : clobbered_registers);
maybe when I list my used registers here i don't need to push/pop anything. Maybe I should add save/restore EDI or as you said rewite to use only EAX,EDX,ECX. Can I expect that this regs will not change when entering ring0 and return back?

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

 

Complete thread:

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