Hello Hidasi,
Hidasi Jozsef wrote to Peter Magnusson :
HJ> I've a big probelm:
HJ> I would like to access the memory >1Mb, but there's no
HJ> HIMemory
HJ> handler in the memory... So Could you help me a short source
HJ> how to
HJ> read it? Do I have to use Protected Mode for it???
Maybe you can use Int 15h AH 87h.....
>>> File: /tmp/b-1587.dat <<<
Interrupt Helper v1.0 B-1587
INT 15 - SYSTEM - COPY EXTENDED MEMORY
AH = 87h
CX = number of words to copy (max 8000h)
ES:SI -> global descriptor table (see #0403)
Return: CF set on error
CF clear if successful
AH = status (see #0402)
Notes: copy is done in protected mode with interrupts disabled by the
efault
BIOS handler; many 386 memory managers perform the copy with
interrupts enabled
this function is incompatible with the OS/2 compatibility box
SeeAlso: AH=88h,AH=89h,INT 1F/AH=90h
(Table 0402)
Values for extended-memory copy status:
00h source copied into destination
01h parity error
02h interrupt error
03h address line 20 gating failed
80h invalid command (PC,PCjr)
86h unsupported function (XT,PS30)
Format of global descriptor table:
Offset Size Description (Table 0403)
00h 16 BYTEs zeros (used by BIOS)
10h WORD source segment length in bytes (2*CX-1 or greater)
12h 3 BYTEs 24-bit linear source address, low byte first
15h BYTE source segment access rights (93h)
16h WORD zero
18h WORD destination segment length in bytes (2*CX-1 or greater)
1Ah 3 BYTEs 24-bit linear destination address, low byte first
1Dh BYTE destination segment access rights (93h)
1Eh 18 BYTEs zeros (used by BIOS)
>>> EndFile <<<
Have a nice day Hidasi. - Jan Wagemakers -
--- FEddi 0.9pl7 via ifcico
---------------
* Origin: -=- Debian GNU Linux - i586 -=- (2:292/854.19)
|