On Fri, Nov 19 1999, Gordon Matzigkeit wrote:

> >>>>> Goran Koruga writes:
> 
>  >> >>>>> Goran Koruga writes:
>  >> 
>  GK> So I wrote dumb "stage1" which just told me whether the value in
>  GK> DX is >= 80 or not. And it wasn't.
>  >>  Do you mean that you put this dumb stage1 on the hard disk, and
>  >> booted it from the BIOS?  What value did %dl actually have?
> 
>  GK> dl has value 1. I wrote another dumb stage1 to test it. I forgot
>  GK> asm source for it at home (unfortunatelly) - I will send it next
>  GK> week.
> 
> Well, I guess that settles it... just one more question: what kind of
> SCSI controller do you have (since that may also contribute to the
> problem)?

It's Adaptec 2940, here's info from lunux kernel:

(scsi0) <Adaptec AIC-7880 Ultra SCSI host adapter> found at PCI 2/0
(scsi0) Narrow Channel, SCSI ID=7, 16/255 SCBs
(scsi0) BIOS disabled, IO Port 0xf800, IRQ 9
(scsi0) IO Memory at 0xfffdc000, MMAP Memory at 0x6805000

Nothing special there...

Goran

PS. I have attached my assembler program which I have used to determine
the value in dl register (just to let you all check it out). Sorry for
using format understood by DOS assemblers only, I am not familiar
with gas' format.

Goran

> 
> -- 
>  Gordon Matzigkeit <[EMAIL PROTECTED]>  //\ I'm a FIG (http://www.fig.org/)
> Committed to freedom and diversity \// I use GNU (http://www.gnu.org/)

--

Writing about music is like dancing about architecture.
    -- Frank Zappa 
        cli
loop1:
        xor ah,ah
        mov al,dl
        mov cl,10
        div cl
        mov dl,al
        mov al,ah
        add al,30h
        mov ah,0eh
        mov bh,0
        int 10h
        cmp dl,0
        jne loop1
done:
        jmp done

Reply via email to