Remove DriveMap()

This commit is contained in:
VoidNV 2021-01-24 02:19:02 -06:00
parent de1878c1f7
commit b7ad56489f
5 changed files with 10 additions and 24 deletions

Binary file not shown.

View file

@ -374,8 +374,6 @@ $ID,-5$
$FG,5$$TX+CX,"Test"$$FG$
* $LK,"SpriteBitMap",A="FI:::/Zenith/Gr/SpriteBitMap.CC"$: Grabscroll?
* $LK,"DriveMap",A="MN:DriveMap"$() in $LK,"MountFile",A="MN:MountFile"$().
* Return ress for $LK,"GrBlot",A="MN:GrBlot"$, $LK,"GrRect",A="MN:GrRect"$, $LK,"GrPutChar",A="MN:GrPutChar"$?
* Collision counts for $LK,"GrBlot",A="MN:GrBlot"$, $LK,"GrRect",A="MN:GrRect"$, $LK,"GrPutChar",A="MN:GrPutChar"$?
@ -456,7 +454,7 @@ Not rich, nor poor, but my portion $TX,"Proverbs 30:8",HTML="http://www.bibleg
Be hot or cold. Lukewarm I spit you out $TX,"Revelation 3:16",HTML="http://www.biblegateway.com/verse/en/Revelation%203:16"$
$TX,"Linus Torvalds (Dec 28, 1969)",HTML="https://en.wikipedia.org/wiki/Linus_Torvalds"$
$TX,"John Carmack (Aug 20, 1970)",HTML="https://en.wikipedia.org/wiki/John_Carmack"$
$TX,"John Carmack (Aug 20, 1970)",HTML="https://en.wikipedia.org/wiki/John_Carmack"$
$TX,"Terry A. Davis (Dec 15, 1969)",HTML="https://motherboard.vice.com/en_us/article/gods-lonely-programmer"$
$TX,"Dr. David Pheanis",HTML="https://webapp4.asu.edu/directory/person/77201"$
$TX,"Dr. Konstantinos S. Tsakalis",HTML="http://ecee.engineering.asu.edu/directory/tenured-and-tenure-track-faculty/kostantinos-s-tsakalis"$

View file

@ -1,4 +1,10 @@
$WW,1$$FG,5$$TX+CX,"ChangeLog"$$FG$
$IV,1$----01/24/21 01:51:12----$IV,0$
* Removed DriveMap().
$IV,1$----12/23/20 18:27:18----$IV,0$
* Reformatting of files is now virtually complete.
$IV,1$----01/11/21 23:39:21----$IV,0$
* Restored "Daemon" -> "Seth".
@ -49,7 +55,7 @@ $IV,1$----04/02/20 01:50:52----$IV,0$
* 'Fixed' $LK,"Varoom",A="FF:::/Demo/Games/Varoom.CC,kbd.down_bitmap"$ window lock up on exit. Brute-forcing zero, but somewhere $LK,"mp_not_done_flags",A="FF:::/Demo/Games/Varoom.CC,mp_not_done_flags"$ isn't getting cleared when shift-esc is entered with the new key implementation.
$IV,1$----04/01/20 01:49:47----$IV,0$
* Made the boats in $LK,"Talons",A="FI:::/Demo/Games/Talons.CC"$ brown instead of black.
* Changed boat color in $LK,"Talons",A="FI:::/Demo/Games/Talons.CC"$ from black to brown.
$IV,1$----04/01/20 01:42:55----$IV,0$
* Cleaned up $LK,"Varoom",A="FF:::/Demo/Games/Varoom.CC,kbd.down_bitmap"$ control fix some. Bug remains: run from Menu, ESC out, ESC again; a window locks up.
@ -106,7 +112,7 @@ $IV,1$----03/16/20 14:44:00----$IV,0$
$IV,1$----03/12/20 22:00:36----$IV,0$
* Added $LK,"PaletteSetGruvboxDark",A="MN:PaletteSetGruvboxDark"$().
* Remove shift-space, as we use tab indentation now. $LK,"S2T",A="MN:S2T"$() is still present if needed.
* Removed shift-space, as we use tab indentation now. $LK,"S2T",A="MN:S2T"$() is still present if needed.
$IV,1$----02/24/20 00:42:00----$IV,0$
$BK,1$* Zenith 1.1 released.$BK,0$
@ -146,7 +152,7 @@ $BK,1$* Zenith 1.0 released.$BK,0$
* Updated $LK,"MemRep",A="MN:MemRep"$() to report on VBE variables.
* Renamed VGAFlush() -> $LK,"LFBFlush",A="MN:LFBFlush"$().
* Updated $LK,"Palette Demo",A="FI:::/Demo/Graphics/Palette.CC"$ to use current palette environment.
* Shorten $LK,"CheckPtr",A="MN:"$() and $LK,"CheckCodePtr",A="MN:CheckCodePtr"$(). Even though boolean expressions outside of $HL$if$HL,0$ statements are compiled inefficiently, clarity and low line count is more important.
* Shortened $LK,"CheckPtr",A="MN:"$() and $LK,"CheckCodePtr",A="MN:CheckCodePtr"$(). Even though boolean expressions outside of $HL$if$HL,0$ statements are compiled inefficiently, clarity and low line count is more important.
* $LK,"RawDr",A="MN:RawDr"$() is 40 columns off the right of the screen, instead of fixed at column 40.
* Windows start at $LK,"4/5th the screen height",A="FF:::/Kernel/KTask.CC,text.rows"$ instead of row 13. Zenith task window is $LK,"1/5th the screen height",A="FF:::/StartOS.CC,text.rows"$.
* $LK,"R",A="MN:R"$("RLf_VGA", "$LK,"RLf_VESA",A="MN:RLf_VESA"$");

View file

@ -43,7 +43,6 @@ U0 DrivesRelease()
CDrive *DriveMakeFreeSlot(U8 drv_let)
{//Make a slot free for a new drv, like during $LK,"Mount",A="MN:Mount"$().
//!!! drv_let is not a $LK,"remapped",A="MN:DriveMap"$ drv.
I64 i = Letter2Letter(drv_let) - 'A';
CDrive *res;
@ -57,7 +56,6 @@ CDrive *DriveMakeFreeSlot(U8 drv_let)
U8 DriveNextFreeLet(U8 first_drive_let='C')
{//Locate free slot for new drv, like during $LK,"Mount",A="MN:Mount"$().
//!!! first_drive_let is not a $LK,"remapped",A="MN:DriveMap"$ drv.
I64 i = Letter2Letter(first_drive_let) - 'A', type = Letter2BlkDevType(first_drive_let);
if (!(0 <= i < DRIVES_NUM))
@ -285,19 +283,6 @@ U0 DiskChange(U8 drv_let=0)
RedSeaFreeFreeList(drive);
}
Bool DriveMap(U8 drv_let, CDrive *drive)
{//Make drive letter map to another.
drv_let = Letter2Letter(drv_let);
if ('A' <= drv_let <= 'Z')
{
blkdev.let_to_drive[drv_let - 'A'] = drive;
drive->drv_let = drv_let;
return TRUE;
}
else
return FALSE;
}
Bool Drive(U8 drv_let)
{//Change drive. You can set drive with $LK,"Cd",A="MN:Cd"$() as well.
CDrive *drive = Letter2Drive(drv_let);

View file

@ -269,9 +269,6 @@ public extern Bool Drive( U8 drv_let);
public extern U0 DiskChange(U8 drv_let=0);
public extern U0 HomeSet(U8 *dirname);
#help_index "File/Cmd Line (Typically);Cmd Line (Typically);Install"
public extern Bool DriveMap(U8 drv_let, CDrive *drive);
#help_index "File/FileNames"
extern CDirEntry *Cd2DirEntry(CDirEntry *tmpde, U8 *abs_name);
public extern U8 *DirCur(CTask *task=NULL, CTask *mem_task=NULL);