Results 1 to 10 of 10

Thread: Chankast & Debug Console

                  
   
  1. #1

    Default Chankast & Debug Console

    Hi, not sure this is the right place, but I want good coverage

    I primarily use Chankast now for all of my development work, it is great and does make the turnaround of code much quicker - but for one thing, there is no debug console output (printf would go to it normally)...

    There was some talk about this at one stage - but I never saw a good response about setting it up - has anyone done this / does anyone know if the Chankast team are going to support this?

  2. #2
    DCEmu Coder GPF's Avatar
    Join Date
    Apr 2004
    Location
    Texas
    Age
    53
    Posts
    796
    Rep Power
    82

    Default

    yeah that would be very cool and usefull, I usually use dcemu for checking serial output, even though its about 1000% slower ,when something wont work in Chankast, I use it to debug where its crashing so i can fix it so it works in CHankast.

    I played around with those game cheat search tools to see if i could find a memory location within Chankast to maybe write a hook that could display the output, only problem was it was found in multiple locations and different depending on my program i was testing. Maybe this is a valid route if they dont release a version with a built in debugger?

    I also was looking into a writing a debug handler that would redirect serial output to a vmu file since those can be viewed in a hex editor , text editor etc. But with the changes to the debug handling in Kos 1.3 I wasnt able to get it to work.

    Troy

  3. #3

    Default

    OK - I guess that using the DC is my only current option. Shame.

  4. #4
    Sir Digby Chicken Caesar Darksaviour69's Avatar
    Join Date
    Mar 2004
    Location
    Armagh, Ireland
    Age
    42
    Posts
    7,005
    Rep Power
    50

    Default

    http://boob.co.uk/cgi-bin/ikonboard3...ff;act=SF;f=10

    zezu is still working on Icarus, and has been active on the forums for that last few weeks, you could ask him about adding such a feature to Icarus

  5. #5
    DCEmu Coder GPF's Avatar
    Join Date
    Apr 2004
    Location
    Texas
    Age
    53
    Posts
    796
    Rep Power
    82

    Default

    Quote Originally Posted by GPF
    yeah that would be very cool and usefull, I usually use dcemu for checking serial output, even though its about 1000% slower ,when something wont work in Chankast, I use it to debug where its crashing so i can fix it so it works in CHankast.

    I played around with those game cheat search tools to see if i could find a memory location within Chankast to maybe write a hook that could display the output, only problem was it was found in multiple locations and different depending on my program i was testing. Maybe this is a valid route if they dont release a version with a built in debugger?

    I also was looking into a writing a debug handler that would redirect serial output to a vmu file since those can be viewed in a hex editor , text editor etc. But with the changes to the debug handling in Kos 1.3 I wasnt able to get it to work.

    Troy
    Well i posted a message over on emutalk.net chankast forum to see if I get any response.

  6. #6
    DCEmu Coder GPF's Avatar
    Join Date
    Apr 2004
    Location
    Texas
    Age
    53
    Posts
    796
    Rep Power
    82

    Default

    Quote Originally Posted by Darksaviour69
    http://boob.co.uk/cgi-bin/ikonboard3...ff;act=SF;f=10

    zezu is still working on Icarus, and has been active on the forums for that last few weeks, you could ask him about adding such a feature to Icarus
    Ok started a thread over there as well.

    Troy (GPF)

  7. #7
    DCEmu Coder GPF's Avatar
    Join Date
    Apr 2004
    Location
    Texas
    Age
    53
    Posts
    796
    Rep Power
    82

    Default

    well on this thread over on talfi.net . There is a screenshot that shows Chankast with a debugger. Dont know if there is someway we can enable it or if we just have to wait till they release it/source etc. Hopefully Soon

    http://babelfish.altavista.com/babel...35778&lp=es_en


    BTW- Anyone know of anyway to tell your running within Chankast instead of on a real dreamcast, since code could be altered with different workaround for each platform.

    Thanks,
    Troy (GPF)

  8. #8

    Default Debugger

    For what I want, that's the wrong kind of debugger - I want a console window that is written to by the 'printf' functions in KOS - those windows seem to be debuggers for the actual CHANKAST itself - which might be useful too, but not quite how I need them.

  9. #9
    DCEmu Coder GPF's Avatar
    Join Date
    Apr 2004
    Location
    Texas
    Age
    53
    Posts
    796
    Rep Power
    82

    Default

    Quote Originally Posted by warmtoe
    For what I want, that's the wrong kind of debugger - I want a console window that is written to by the 'printf' functions in KOS - those windows seem to be debuggers for the actual CHANKAST itself - which might be useful too, but not quite how I need them.
    Yeah me too. I downloaded the video where they displayed the debugger, but since I my understanding of spanish is next to none, I couldn't understand what they were saying LOL.


    Like I said play around with those cheat search utilities or some kind of opensource windows hook code that could maybe display it. I wrote a little program that continuely printed 2 string "Hello" and "World" that I concatenated and then printf to the serial port. I then ran it in Chankast and used a program called Memware Trial version to search Chankast memory for the String "Hello World" and it would find it in 2 locations. Like I said the memory locations would change depending on the program, but maybe there is some way to figure it out and write a program the displays that memory location to a window like we want

    Troy

  10. #10

    Default

    Quote Originally Posted by GPF
    Yeah me too. I downloaded the video where they displayed the debugger, but since I my understanding of spanish is next to none, I couldn't understand what they were saying LOL.


    Like I said play around with those cheat search utilities or some kind of opensource windows hook code that could maybe display it. I wrote a little program that continuely printed 2 string "Hello" and "World" that I concatenated and then printf to the serial port. I then ran it in Chankast and used a program called Memware Trial version to search Chankast memory for the String "Hello World" and it would find it in 2 locations. Like I said the memory locations would change depending on the program, but maybe there is some way to figure it out and write a program the displays that memory location to a window like we want

    Troy
    I only just saw this - It must be possible to do... Hmmmm...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •