28 June 2010, 00:30 | #1 |
Posts: n/a
|
Debug log trap
Hello.
Is there a way to output some text to the UAE debug log from a 68000 program ? I can't use any AmigaOS feature since I work inside an alternative ROM. I saw there was some specific UAE traps, but I didn't find any debug log feature. |
01 July 2010, 14:27 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
Something like this should work:
86 (decimal) -> -(a7) "pointer to string that goes to log window/file" -> -(a7) jsr $f0ff60 addq.l #8,sp if UAE boot rom is installed (it isn't unless configuration requires it, like >2M chip ram, uaeserial etc.. is enabled) EDIT: actually it does not work as expected, unicode translation is missing.. It might work if strings are formatted as a\0b\0c\0\0\0.. Last edited by Toni Wilen; 01 July 2010 at 15:56. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hisoft C++ Debug | AlfaRomeo | Coders. General | 0 | 13 October 2008 21:17 |
FIXED: Venus The Fly Trap (TRAP #0) & NOVBRMOVE INFO | Retro-Nerd | project.Killergorilla's WHD packs | 10 | 01 November 2007 23:42 |
Mame32 Debug | redblade | Retrogaming General Discussion | 4 | 10 October 2005 05:43 |
Debug ? | mtb | support.WinUAE | 8 | 19 December 2002 12:19 |
ANy news on Treasure Trap / Death Trap | tomcat666 | request.Old Rare Games | 2 | 26 March 2002 07:08 |
|
|