I'm using a widescreen laptop

when I use :

mov ax, 13h
int 10h


the screen went blank and beeps very loud ...

I think it's my hardware problem, so...

are there alternatives for asm to display full screen? thanks~
Posted on 2007-05-20 02:41:17 by celestial ceres
it always helps when you add to your pos:

1. what OS/VM you are using to execute your program
2. for what OS your program was assembled
3. what hardware do you have (ie graphics card, laptop)
Posted on 2007-05-20 03:18:04 by atcl
um, okay...

OS : Windows XP Home Edition
assembler: TASM
Graphic card: build-in nVidia GeForce Go 6150

at least I want to make it to work at my laptop for testing...
Posted on 2007-05-20 04:22:37 by celestial ceres
so since you used an interrupt you compiled for DOS right? DOS programs and winXP don't work very well together especially if you plan on using int 10h (VGA/VESA). Solution: Download a virtual machine ie: vrtual PC 2004/2007 make a virtual PC install DOS or win98 on it, try again, should work.
Posted on 2007-05-20 11:24:19 by atcl
Actually, I used to have absolutely no problems with 16BIT DOS programs that were compiled with ancient TASM and linked with TLINK. They were working fine and so was my graphics library.

I would suggest you fiddle around with your graphic adapter's settings in the Windows OS. Contact NVIDIA and ask for their insights.
Posted on 2007-05-20 12:15:48 by XCHG
Please do that, ask nvidia why your DOS16 program doesn't work in winXP. ;)

...

I am not saying int 10h is not working in win XP, and i don't doubt your gfx lib is working nicely, but there a lot of traps in programming dos16 stuff, that is supposed to function in winXP, in which you can step. Be it luck or your knowledge you didn't ran into them.

Posted on 2007-05-20 13:38:07 by atcl
1. Make sure that your laptop's display is not 16:9. These have very strange problems with DOS.
2. Try disabling "doublescan for lower resolution modes" (this can be found in windows' display settings in the control panel)
3. Forget about DOS and code for WIN32 ;)
Posted on 2007-05-20 17:24:12 by ti_mo_n
thanks ^^
I'll try all of them and see which works better, thanks again~!!
starting with VM.....
Posted on 2007-05-21 06:52:25 by celestial ceres
what I did:
1. install virtual pc 2007
2. get a win98se boot disk image
3. copy my files to a floppy image
4. run
and... it worked~!!!

Thanks again ^^ *kicks winXP*  8)
Posted on 2007-05-22 10:50:13 by celestial ceres