-
Notifications
You must be signed in to change notification settings - Fork 3
Function Index
Joshua Riek edited this page Feb 23, 2020
·
25 revisions
Functions relating to the file cli.asm
- cliLoop - Main loop for the command line interface
- doDir - Command to show the contents of the a directory
- doRename - Command to rename a file
- doDel - Command to delete a file
- doType - Command to show the contents of a file
- doCopy - Command to copy one file to another
- doCls - Command to clear the screen
- doTime - Command to show the system time
- doDate - Command to show the system date
- doHelp - Command to display the available cli commands
- doCd - Command to change the current directory
- doMd - Command to make a new directory
- doRd - Command to remove a directory
Functions relating to the file cmos.asm
- cmosRead - Read the contents from a chosen CMOS register
- cmosWrite - Write to the chosen CMOS register
- cmosReadDate - Get the system date from the CMOS
- cmosReadTime - Get the system time from the CMOS
- cmosDelay - Use the CMOS to wait a period of time in seconds
- bcd - Convert a value into a binary-coded decimal (BCD)
Functions relating to the file disk.asm
- setupDisk - Setup values for the bios paramater block
- readSectors - Read sectors from the disk
- writeSectors - Write sectors to the disk
- loadCwd - Allocate and load the cwd
- unloadCwd - Unallocate and free the cwd
- readCwd - Read the cwd into memory
- writeCwd - Write the cwd to the disk
- allocCwd - Allocate the cwd into memory
- freeCwd - Free the cwd from memory
- loadFat - Allocate and load the FAT
- unloadFat - Unallocate and free the FAT
- readFat - Read the FAT into memory
- writeFat - Write the FAT to the disk
- allocFat - Allocate the FAT into memory
- freeFat - Free the FAT from memory
- searchDir - Search a loaded dir for an 8.3 filename
- changeDir - Change and set the cwd
- createDir - Create an empty directory
- removeDir - Remove an empty directory
- fileSize - Get the size of a file
- fileExists - Check to see if a file exists
- createFile - Create an empty file
- renameFile - Rename an existing file
- deleteFile - Delete a single file
- readFile - Read the contents of a file
- writeFile - Write data to a file
Functions relating to the file fat.asm
- readClustersFAT12 - Read the data from FAT12 clusters into memory
- readClustersFAT16 - Read the data from FAT16 clusters into memory
- readClusters - Use FAT12 or FAT16, then read the clusters
- removeClustersFAT12 - Remove FAT12 clusters from the FAT table
- removeClustersFAT16 - Remove FAT16 clusters from the FAT table
- removeClusters - Determine to use FAT12 or FAT16, then remove the clusters
- writeClustersFAT12 - Write new FAT12 clusters and data to the disk
- writeClustersFAT16 - Write new FAT16 clusters and data to the disk
- writeClusters - Determine to use FAT12 or FAT16, then write the clusters
Functions relating to the file kernel.asm
- entryPoint - Primary entrypoint into the operating system
Functions relating to the file keyboard.asm
- setupKbdCtrl - Set my own kbd controller interrupt
- kbdCtrlRead - Read a byte from the kbd controller
- kbdCtrlWrite - Send a byte to the kbd controller
- kbdCtrlSendCmd - Send a command to the kbd controller
- kbdCtrlSelfTest - Preform a kbd controller self test
- kbdCtrlSetLeds - Set the kbd leds
- kbdCtrlWaitUntillKey - Wait untill a key is pressed
- kbdCtrlCaptureInput - Get input from kbd and fill into buffer
- kbdCtrlHandler - Custom handler for the kbd controller
- kbdEncSendCmd - Send a command to the kbd encoder
- scanToAscii - Translate scan code to ascii and set flags
- kbdBiosFlushBuffer - Flush key from BIOS kbd buffer
- kbdBiosCheckBuffer - Check the BIOS kbd buffer for a key
- kbdBiosGetChar - Grab a char from the BIOS kbd buffer
- kbdBiosStoreKey - Shove char into the BIOS kbd buffer
- kbdBiosWaitUntillKey - Wait untill a key is in the BIOS kbd buffer
- kbdBiosCaptureInput - Get input from BIOS kbd and fill into buffer
Functions relating to the file memory.asm
- setupMemory - Get the inital low memory and allocate areas into the memory map
- memBytesToBlocks32 - Calculate how many blocks from the size in bytes
- memBlockToAddress - Convert the block into a segment and offset address
- memAddressToBlock - Convert the segment and offset address into a block
- memAllocNextBlock - Allocate the next available block in memory
- memAllocBlocks - Allocate the next available blocks in memory
- memAllocBytes - Allocate the next available bytes in memory
- memFreeBlock - Free the block in memory related to the address
- memFreeBlocks - Free the blocks in memory related to the address
- memFreeBytes - Free the bytes in memory related to the address
- allocMemAddress - Manually allocate an address into memory
Functions relating to the file serial.asm
- initSerial - Setup the serial (com1) port
- writeSerial - Write some data to the serial port
- readSerial - Read some data from the serial port
- writeSerialStr - Write a string to the serial port
- writeSerialNumPadding32 - Write a formatted number to the serial port
Functions relating to the file string.asm
- itoa - Converts a 32-bit number and base to a string
- atoi - Converts a string and base to a 16-bit number
- convertFilename83 - Convert the filename into a fat formatted filename
- padStr - Pad a string with Ascii characters
- parseStr - Split the string into tokens
- strCmp - Checks to see if the two passed strings are equal
- strLen - Get the length of a string
- charToLower - Convert an Acsii letter to a lowercase character
- charToUpper - Convert an Acsii letter to a uppercase character
Functions relating to the file video.asm
- setupVideo - Get the cursor position from the BIOS, then save for use
- videoWriteChar - Write a character into video memory
- videoWriteStr - Write a string into video memory
- videoWriteNumPadding32 - Write a 32-bit number into video memory with padding
- videoWriteNumPadding - Write a 16-bit number into video memory with padding
- videoWriteNum32 - Write a 32-bit number into video memory
- videoWriteNum - Write a 16-bit number into video memory
- videoScroll - Scroll the screen up one line, if cursor is on the last available line.
- videoClearScreen - Clear the screen of text
- videoSaveScreen - Save the contents of the screen into memory
- videoRestoreScreen - Restore the contents of the screen from memory
- videoUpdateBiosCur - Update the BIOS cursor
- videoUpdateCur - Update the hardware cursor