swapd0 Posted May 9, 2018 Share Posted May 9, 2018 (edited) 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 May 9, 2018 by swapd0 Quote Link to comment Share on other sites More sharing options...
Tursi Posted May 15, 2018 Share Posted May 15, 2018 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. 2 Quote Link to comment Share on other sites More sharing options...
LinkoVitch Posted May 16, 2018 Share Posted May 16, 2018 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 HTH 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.