No I did not run it in administrator mode. I will do that this evening.

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

I think we discussed it before that I can now disassemble stuff I am just curious to why I can't do it like Tursi did in the video.

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

When I put a breakpoint at main and step through on gdb command line it stops at main and a purple border pops up on my tv. I don't get that far with code::blocks. Or that never happens on my tv screen.

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

a31chris wrote:Another question, in the video Tursi, before he uploads anything he does a 'disas' and gets an assembly dump filled with zeroes. This is at around 10:20 in the 'using gdb with skunkboard' video:

I think we discussed it before that I can now disassemble stuff I am just curious to why I can't do it like Tursi did in the video.

I do not know how Tursi did it may be pervious GDB version had their own way.
in your case, to do a disas, you must have the proper registers setup. By using the 'C' continue command.
You can also open the disassemble window to see the code instead to type the disas command.
In theory, you can set a breakpoint at your crt0 entry point, if you want to disasm the entry point of your code.

Last edited by flynn on Tue Feb 24, 2015 1:15 am, edited 1 time in total.

a31chris wrote:When I put a breakpoint at main and step through on gdb command line it stops at main and a purple border pops up on my tv. I don't get that far with code::blocks. Or that never happens on my tv screen.

The change of color can only be done by either your own code, such as in the crt0 init stuff by example, or by the COF file used by jserve.
It worth to investigate for sure.
Questions: If you do not set any breakpoints, do the code change color appears?

I don't notice one a quick flash of color change. It just goes straight to white text on a black screen 'Hello Jag Users'. I will investigate later when I get off work.

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

No flash of color. Nothing. Goes straight to 'hello Jag users' without a breakpoint in command line gdb.

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

a31chris wrote:No flash of color. Nothing. Goes straight to 'hello Jag users' without a breakpoint in command line gdb.

Good, could you do the same action but within Code::Blocks now?
No breakpoints, just launching the code.

I have already done that a few times. It goes nowhere for some reason. Will do so again tonight.

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

flynn wrote:What do you mean by "nowhere"? What do you have on your screen? A Black screen?

Yes the black screen produced when Jserve is connected. Nothing beyond that happens on the tv screen.

Will run through this again in a couple hours.

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

flynn wrote:What do you mean by "nowhere"? What do you have on your screen? A Black screen?

Yes the black screen produced when Jserve is connected. Nothing beyond that happens on the tv screen.

Will run through this again in a couple hours.

Hum, ok. First time you use the 'c' continue command, it initializes stuff with GDB. Then to launch the code, you have to do a second 'c' continue.

I had a look at the jdb.cof source code, and I've found the switch of colors. It affects the background and the border colors. Turn 'black' when in run mode and should turn 'blue' when in trace mode.
Yes, I have written blue and not Purple/Pink color (the color we have actually). This is weird and I will investigate this. This coff file was generated with mac and aln in 2012 by Tursi (I guess), I will redo this coff with Smac / Vlink to see if there are any differences.

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

Odd thing is code::blocks is obviously working for you all the way through to display output.

Mine is just displaying simple text. I wonder why it's behaving this way with code::blocks on mine.

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

a31chris wrote:Odd thing is code::blocks is obviously working for you all the way through to display output.

Mine is just displaying simple text. I wonder why it's behaving this way with code::blocks on mine.

I do not have explanations at the moment, when I see your screenshots I see you are able to trace the code which is nice.
I have notice your debug windows are on the left, mine are movable (I use 2 screens but it doesn't matter).
If the GDB command line works fine with your code, there are may be an issue with Code::Blocks which I didn't encountered yet.
Could you drop your source code example? At least, I can try with your stuff.

a31chris wrote:Odd thing is code::blocks is obviously working for you all the way through to display output.

Mine is just displaying simple text. I wonder why it's behaving this way with code::blocks on mine.

I do not have explanations at the moment, when I see your screenshots I see you are able to trace the code which is nice.
I have notice your debug windows are on the left, mine are movable (I use 2 screens but it doesn't matter).
If the GDB command line works fine with your code, there are may be an issue with Code::Blocks which I didn't encountered yet.
Could you drop your source code example? At least, I can try with your stuff.

ok let me run through this again first though make sure I'm not missing anything.

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

There is no need for the jcp, only jserve is used.
Do you select the correct GDB debugger when selecting the Active Debugger?
Otherwise, I do not see solutions at time of writing, you can try the jserve 1.1a just in case of.

There is no need for the jcp, only jserve is used.
Do you select the correct GDB debugger when selecting the Active Debugger?
Otherwise, I do not see solutions at time of writing, you can try the jserve 1.1a just in case of.

Ok thanks Dillinger.

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman

What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman