Pat pridgen writes:
PP> ;***************************
PP> ; Attempt to Clear Screen
PP> ;
PP> ; NASM 0.95
PP> BITS 16
PP> ORG 0x100
^^^^^^^^^
Shouldn't this be org 100h? My guess is this is your problem.
PP>
PP> SECTION .text
PP>
PP> mov cx,0 ;upper left corner of 80x25 screen
PP> mov dx,184fh ;lower right corner dh = Row, dl= Col.
PP> mov al,0 ; Clear entire region
PP> mov bh,07h ;Program Attribute for blanked lines
PP> mov ah, 06h ; Video service 6: Initialize/scroll
PP> int 10h ; call video
This certainly seems right.
PP> I thought I saw something once about an AMI Bios
PP> (I have one) if that helps.
My reference mentions a bug in AMI Bios for int 10h function 1. For function
6 it says nothing about AMI Bios, but does say that "some implementations
ave
a bug which destroys BP".
--- Maximus/2 3.01
---------------
* Origin: Madman BBS * Chico, California * 916-893-8079 * (1:119/88)
|