English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 28 June 2010, 00:30   #1
vriviere
 
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.
 
Old 01 July 2010, 14:27   #2
Toni Wilen
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.
Toni Wilen is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:12.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11935 seconds with 13 queries