83Plus:Software:usb8x/Asm Interface/SetupLog
From WikiTI
Revision as of 23:50, 15 July 2006 by Dan Englender (Talk | contribs)
Synopsis
Name: SetupLog
Minimum usb8x version: 0.09
Starts logger
Inputs
- B: RAM page on which to store log
- HL: Address of log buffer
Outputs
None
Destroys
- IX
Notes
This entry point has no effect if logging has not been compiled into the usb8x binary. Each log entry is four bytes long and there is no bound checking. Make sure your log buffer wont overflow or the calculator will most likely crash. Make sure to call [[../DriverInit|DriverInit]] before calling SetupLog.
Example
U_CALL DriverInit ld hl,8000h ld b,82h U_CALL SetupLog
See Also
- [[../StopLog|StopLog]] - Stop logging
- [[../LogCustom|LogCustom]] - Add a custom entry to the log file