www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/08/07:45:51

Date: Mon, 08 Apr 1996 13:44:18 +0000
From: peter DOT stebej AT guest DOT arnes DOT si
Subject: ES:EDI
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Message-Id: <01I3AU7E6F8I0003ZH@arnes.si>
Comments: Authenticated sender is <ssdpsteb AT pop3-srv DOT arnes DOT si>

Hi, 
   my name is Bostjan and i'm a bit new to DJGPP(i was using BCC) and
 i have a small problem. I'm writing this program and i'm suppose to give a
 routine a pointer to buffer with ES:DI in real mode. I tryed with 
putting DS in ES and a linear addres of buffer into EDI but it doesn't work.

This is my code: mov $0x4f01, %ax  ;vesa funct.
                           mov $0x101,  %cx  ;video mode number

                           mov _Addr, %edi   ;Addr is defined like: char *Addr;

                          int $0x10


The buffer is the same after int $0x10  as it was before.

This is my version of go32(i was running windows when i took this
screen):

go32 version 1.12.maint3 Copyright (C) 1994 DJ Delorie
Lowest version I can run is 1.08
go32.exe usage: go32 [-d {debugger}] [{program} [{options} . . . ]]
go32.exe build time was Sun Dec 18 16:36:42 1994 DPMI memory
available: 8804 Kb Swap space available: 21872 Kb

I hope that you can find the time to help me.

                                             Greetings from Slovenia
         
             

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019