This commit is contained in:
GutPuncher 2023-03-13 17:49:32 -04:00
parent 225905eba4
commit 438a904b91
No known key found for this signature in database
GPG key ID: 38CE0A7B6841D1C7
5 changed files with 4563 additions and 4568 deletions

0
src/Home/Net/Drivers/PCNet.ZC Normal file → Executable file
View file

View file

@ -15,7 +15,7 @@ U0 LoadDocDefines()
//$LK,"DD_BOOT_HIGH_LOC_DVD",A="FF:::/System/Boot/BootDVD.ZC,DD_BOOT_HIGH_LOC_DVD"$ //$LK,"DD_BOOT_HIGH_LOC_DVD",A="FF:::/System/Boot/BootDVD.ZC,DD_BOOT_HIGH_LOC_DVD"$
$TR,"LineRep"$ $TR,"LineRep"$
$ID,2$DefinePrint("DD_ZEALOS_LOC","98,709"); $ID,2$DefinePrint("DD_ZEALOS_LOC","98,756");
$ID,-2$ $ID,-2$
DefinePrint("DD_MP_VECT", "%08X", MP_VECT_ADDR); 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); DefinePrint("DD_MP_VECT_END", "%08X", MP_VECT_ADDR + COREAP_16BIT_INIT_END - COREAP_16BIT_INIT - 1);

View file

@ -395,16 +395,11 @@ U0 GrUpdateScreen32()
while (src < size) //draw 2 pixels at a time while (src < size) //draw 2 pixels at a time
*dst++ = gr_palette[*src++ & 0xFF] | gr_palette[*src++ & 0xFF] << 32; *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; GrCalcScreenUpdates;
}
if (LBtr(&sys_semas[SEMA_FLUSH_VBE_IMAGE], 0))
MemCopy(text.fb_alias, text.raw_screen, text.buffer_size);
} }
U0 GrUpdateScreen() U0 GrUpdateScreen()