forked from KolibriOS/kolibrios
fixed address bug in sysfn_saveramdisk()
git-svn-id: svn://kolibrios.org@471 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
fd4f9bc59f
commit
614fe2dab1
@ -12,14 +12,14 @@ saverd_fileinfo:
|
|||||||
dd 0 ; (reserved)
|
dd 0 ; (reserved)
|
||||||
dd 0 ; (reserved)
|
dd 0 ; (reserved)
|
||||||
dd 1440*1024 ; size 1440 Kb
|
dd 1440*1024 ; size 1440 Kb
|
||||||
dd 0x100000 - std_application_base_address ; base address
|
dd RAMDISK
|
||||||
db 0
|
db 0
|
||||||
.name:
|
.name:
|
||||||
dd ?
|
dd ?
|
||||||
endg
|
endg
|
||||||
sysfn_saveramdisk: ; 18.6 = SAVE FLOPPY IMAGE (HD version only)
|
sysfn_saveramdisk: ; 18.6 = SAVE FLOPPY IMAGE (HD version only)
|
||||||
call restorefatchain
|
call restorefatchain
|
||||||
mov eax, saverd_fileinfo - std_application_base_address
|
mov eax, saverd_fileinfo
|
||||||
mov [saverd_fileinfo.name], ebx
|
mov [saverd_fileinfo.name], ebx
|
||||||
pushad
|
pushad
|
||||||
push eax
|
push eax
|
||||||
|
Loading…
Reference in New Issue
Block a user