BasicDebug Methods Fling OS

The BasicDebug type exposes the following members.

Methods

  Name Description
Public method Static member ClearMessage
Clears the screen
Public method Static member DisplayMessage
Displays the specified message to the screen.
Private method Static member EnableDebug
Enables the debug interrupt handler
Private method Static member Execute
The main execute method for the basic debugger
Public method Static member Init
Initialises the basic debugger
Private method Static member InitSerial
Initialises COM1 as serial connection to debug over
Private method Static member InsertCommandsList
Inserts the debug commands into the ASM.
Private method Static member InterruptHandler
Inserts the plug for the Int1 and Int3 interrupt handler.
Private method Static member SendArguments
Sends the arguments values as they were before the interrupt. Requires the debugger to send it how many bytes for the arguments there are.
Private method Static member SendBreakAddress
Sends the address of the last instruction that executed when the break occurred.
Private method Static member SendBreakCmd
Sends the Break command.
Private method Static member SendLocals
Sends the locals values as they were before the interrupt. Requires the debugger to send it how many bytes for the arguments there are.
Private method Static member SendRegisters
Sends the register values as they were before the interrupt.
Public method Static member Serial_ReadByte
Reads a byte from the debug serial port
Public method Static member Serial_ReadUInt16
Reads a UInt16 from the debug serial port
Public method Static member Serial_ReadUInt32
Reads a UInt32 from the debug serial port
Public method Static member Serial_WriteByte
Writes the specified value to the debug serial port
Public method Static member Serial_WriteString
Writes the specified value to the debug serial port
Public method Static member Serial_WriteUInt16
Writes the specified value to the debug serial port
Public method Static member Serial_WriteUInt32
Writes the specified value to the debug serial port
Private method Static member WaitForCommand
Waits for a command from the debugger.
Top
See Also