TempleOSCD_140715.ISO
This commit is contained in:
1 parent
7ef616a20e
commit
64f679eeb9
1095 files changed
+24814
-221011
No files matched your search
@@ -7,8 +7,6 @@ U0 PlotXY(I64 x,I64 y)
|
||||
LBts(VGA_GRAPHIC_MEM_BASE,y*GR_WIDTH+x^7);
|
||||
}
|
||||
|
||||
|
||||
|
||||
U0 Main()
|
||||
{
|
||||
I64 i;
|
||||
@@ -33,8 +31,7 @@ U0 Main()
|
||||
OutU8(VGA_SC_DATA,BLUE);
|
||||
for (i=0;i<200;i++)
|
||||
PlotXY(200-i,i);
|
||||
/*
|
||||
If you want a mixed color select multiple planes
|
||||
/*If you want a mixed color select multiple planes
|
||||
but you have to be sure the unselected planes
|
||||
are zero, so select them and make them zero.
|
||||
You can't do reads on VGA memory, by the way.
|
||||
@@ -44,9 +41,9 @@ That means no read-modify-writes, too.
|
||||
|
||||
Preempt(old_preempt);
|
||||
|
||||
//TempleOS has a 4 plane memory duplicate of the screen, $LK,"gr_screen_image",A="MN:gr_screen_image"$,
|
||||
//TempleOS has a 4 plane memory duplicate of the screen, $LK,"gr.screen_image",A="MN:CGrGlbls"$,
|
||||
//and only writes actual changes. See $LK,"GrUpdateVGAGraphics",A="MN:GrUpdateVGAGraphics"$().
|
||||
//<CTRL-ALT-F> will flush screen VGA cache.
|
||||
//<CTRL-ALT-f> will flush screen VGA cache.
|
||||
VGAFlush;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user