delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/13/09:47:47

From: Corelli Marco <mcorelli AT gtwparc DOT padova DOT ccr DOT it>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Accesing from 0xFFFF:F000 to 0xFFFF:FFFF physical memory address
Date: Fri, 13 Oct 2000 15:12:57 +0200
Organization: IUnet
Lines: 50
Message-ID: <39E70A59.1ABE9F69@gtwparc.padova.ccr.it>
References: <39E5E00A DOT 39A80E46 AT gtwparc DOT padova DOT ccr DOT it> <7263-Thu12Oct2000193356+0300-eliz AT is DOT elta DOT co DOT il> <39E6C1EB DOT 58AED5F3 AT gtwparc DOT padova DOT ccr DOT it> <8011-Fri13Oct2000132503+0300-eliz AT is DOT elta DOT co DOT il>
NNTP-Posting-Host: proxy.iperv.it
Mime-Version: 1.0
X-Trace: serv1.iunet.it 971442463 20089 151.4.122.158 (13 Oct 2000 13:07:43 GMT)
X-Complaints-To: newsmaster AT iunet DOT it
NNTP-Posting-Date: 13 Oct 2000 13:07:43 GMT
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

sorry,
this is correct:

-----------------------------
Exiting due to signal SIGSEV
Page fault at eip=00003dba, error=0004
eax=000000c7 ebx=00010000 ecx=00000003 edx=00000000
esi=00000054 edi=00011dac ebp=00091ba8 esp=00091ba8 program=xxxx

cs : sel=00a7 base=10000000 limit=0009ffff
ds : sel=00af base=10000000 limit=0009ffff
es : sel=00af base=10000000 limit=0009ffff
fs : sel=00c7 base=fffc0000 limit=0003ffff
gs : sel=00bf base=00000000 limit=0010ffff
ss : sel=00af base=10000000 limit=0009ffff

call frame traceback EIPc:
0x00003cda __farpeehb+10
0x00001c4d _flash_write_to_file+222, line 125 of ATA49F020.C
0x00001906 _main+440, line 89 of FLASHUP.C
0x00003512 __crt1_startup+178
-----------------------------

and code is :

-----------------------------
line 89 of FLASHUP.C

if ( flash_write_to_file( BACKUP_FILE, FLASH_BASE ) == FALSE )
-----------------------------
line 125 of ATA49F020.C

byte_read = _farpeekb ( selector, i ) ;
-----------------------------

where
    i:
        for ( i=0; i<0x40000; i++ )

    selector:
        mem.address = 0xFFFC0000 ;
        mem.size = 0x40000 ;
        __dpmi_physical_address_mapping( &mem ) ;
        selector = __dpmi_allocate_ldt_descriptors ( 1 ) ;
        __dpmi_set_segment_base_address ( selector, mem.address ) ;
        __dpmi_set_segment_limit ( selector, mem.size - 1 ) ;


Bye Marco.

- Raw text -


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