mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +00:00
Update
This commit is contained in:
parent
225905eba4
commit
438a904b91
5 changed files with 4563 additions and 4568 deletions
0
src/Home/Net/Drivers/PCNet.ZC
Normal file → Executable file
0
src/Home/Net/Drivers/PCNet.ZC
Normal file → Executable file
|
@ -15,7 +15,7 @@ U0 LoadDocDefines()
|
|||
//$LK,"DD_BOOT_HIGH_LOC_DVD",A="FF:::/System/Boot/BootDVD.ZC,DD_BOOT_HIGH_LOC_DVD"$
|
||||
|
||||
$TR,"LineRep"$
|
||||
$ID,2$DefinePrint("DD_ZEALOS_LOC","98,709");
|
||||
$ID,2$DefinePrint("DD_ZEALOS_LOC","98,756");
|
||||
$ID,-2$
|
||||
DefinePrint("DD_MP_VECT", "%08X", MP_VECT_ADDR);
|
||||
DefinePrint("DD_MP_VECT_END", "%08X", MP_VECT_ADDR + COREAP_16BIT_INIT_END - COREAP_16BIT_INIT - 1);
|
||||
|
|
|
@ -395,16 +395,11 @@ U0 GrUpdateScreen32()
|
|||
while (src < size) //draw 2 pixels at a time
|
||||
*dst++ = gr_palette[*src++ & 0xFF] | gr_palette[*src++ & 0xFF] << 32;
|
||||
|
||||
if (LBtr(&sys_semas[SEMA_FLUSH_VBE_IMAGE], 0))
|
||||
{
|
||||
MemCopy(text.fb_alias, text.raw_screen, text.buffer_size);
|
||||
src -= GR_WIDTH * GR_HEIGHT; // Reset src ptr
|
||||
MemCopy(gr.screen_cache, src, GR_WIDTH * GR_HEIGHT);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
GrCalcScreenUpdates;
|
||||
}
|
||||
|
||||
if (LBtr(&sys_semas[SEMA_FLUSH_VBE_IMAGE], 0))
|
||||
MemCopy(text.fb_alias, text.raw_screen, text.buffer_size);
|
||||
}
|
||||
|
||||
U0 GrUpdateScreen()
|
||||
|
|
Loading…
Reference in a new issue