Difference between revisions of "83Plus:Software:usb8x/Asm Interface/SetupLog"
From WikiTI
m (typo) |
m (alphabeta) |
||
Line 26: | Line 26: | ||
== See Also == | == See Also == | ||
− | |||
* [[../LogCustom|LogCustom]] - Add a custom entry to the log file | * [[../LogCustom|LogCustom]] - Add a custom entry to the log file | ||
+ | * [[../StopLog|StopLog]] - Stop logging |
Revision as of 23:52, 15 July 2006
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
- [[../LogCustom|LogCustom]] - Add a custom entry to the log file
- [[../StopLog|StopLog]] - Stop logging