Mail Archives: djgpp/1997/03/10/08:34:58
Well some problem when using dj asm in g++.
I where suppose to make a test, how making g++ with asm as a part, like
this.
#pragma inline
includes
main ()
unsigned short tax;
asm ("
push %ax;
movw $µ0,%ax;
mov %ax,tax;
pop %ax;
");
do something else
;
well compiling this is okay, but when running gxx, it complain about missing
object reference, why an how doing this.
another little problem is that I dont know how to do when using the BC
"getvector", "setvector", in g++.
I tryed the command in dpmi.h..
_dpmi_...real_mode_set/get_vector( ....,...);
but I wonder if it's the way to do it?.
Ole Winther
Roskilde university center, department of computer science.
- Raw text -