Jump to content
IGNORED

Debugging with a skunkboard


Recommended Posts

Why when I call skunkCONSOLEWRITE some times I don't get the string on the PC?

 

I've tried to put a skunkNOP at the beginning of the code, and also before and after the skunkCONSOLEWRITE but I still have some missing strings.

 

By the way I'm using vbcc with jaglib.

 

Boot version 02.00.05, Serial 2043

 

Maybe I need to update the skunkboard bios.

Edited by swapd0
Link to comment
Share on other sites

The BIOS isn't involved in the Skunklib functions - all the involved code lives in JCP and Skunklib.s

 

In general all it does is operate using the same two buffers that are used for file transfers. I never hit it very hard but I never had any problems with lost data - if you write too quickly it's supposed to block, but we've seen bugs in that code before.

  • Like 2
Link to comment
Share on other sites

At the start of my debug code library I use I have an init function that just does:

bsr             skunkRESET
bsr             skunkNOP
bsr             skunkNOP

Before attempting to do any console writes, has always (IIRC) been reliable for me.

 

need to remember to enable console on jcp or you end up with a Jag sat waiting for the console :D

 

HTH

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...