Jump to content

Recommended Posts

This is a command line tool for uploading and executing files on the JagGD.

 

Usage:

jaggd [commands]

-r          Reboot
-rd         Reboot to debug stub

From stub mode (all ROM, RAM > $2000) --
-u[x] file[,a:addr,s:size,o:offset,x:entry]
            Upload to address with size and file offset and optionally execute.
            Prefix numbers with $ for hex, otherwise decimal assumed.
-x addr     Execute from address

 

So, for example, if you had a bin file which loaded and executed at $4000 with no header, you'd load and execute it like this:

jaggd -rd -ux myfile.bin,a:$4000,x:$4000

 

I will be expanding development and debug type support as I get the time. It's something I want myself, so it will happen eventually. :)

jaggd.zip

  • Like 6
  • Thanks 1

Share this post


Link to post
Share on other sites

Thank you for sharing this.

Do you plan to release the sources in the future?

Share this post


Link to post
Share on other sites
2 hours ago, dilinger said:

Thank you for sharing this.

Do you plan to release the sources in the future?

I’m sure at some point. I also need to get together some code showing how to use the other features of the jaggd in your own code. So many things on my todo list! 😆

  • Like 1

Share this post


Link to post
Share on other sites

On my phone or I'd look in the zip to be sure it isn't there already, but I have to second the request for source and/or a Linux build.  Source is best since I don't like running a USB cable across my floor (there are small children who like to trip over such things running around), so I use a raspberry pi/arm board to connect to my Jag, so x86 binaries make things hard.  No rush, tend to your pre-orders and family stuff first, just noting where the request is coming from.  My skunk and BJL options are working fine for now 🙂. Also happy to help port to Linux if you just want to share the source.  My day job is writing Linux drivers. I can't test until GD's are available to people not on the pre-order list in the US though, so it might take a while 🙂

 

And speaking of Linux and/or OS X support, it's hard to type '$' on the command line there, so supporting a '0x' prefix as well for hex would be another nice feature.

  • Like 2

Share this post


Link to post
Share on other sites

I imagine using something like libusb will probably hide most of the USB magic and make it portable to any other platform that supports that, rather than natively try and support say, Linux and OS X's different USB frameworks.

 

Typing a $ isn't hard, it's just that the shell will try and interpolate a matching environment variable, so either escape it with a \ or quote it with single quotes so there's no interpolation. Having said that, I also prefer 0x notation to denote hexadecimal numbers 😉

  • Like 1

Share this post


Link to post
Share on other sites

Yes, typing it is hard because you have to remember to escape it. 🙂

 

Agreed use of portable libraries when possible is ideal.

  • Like 1

Share this post


Link to post
Share on other sites
On 6/13/2020 at 4:51 PM, cubanismo said:

On my phone or I'd look in the zip to be sure it isn't there already, but I have to second the request for source and/or a Linux build.

I assume you have since seen that the zip only has a Windows executable, as we expected. I would buy this as soon as it had Linux support for game dev. Source would be ideal, but I'll take an x86 bin; however, having an ARM bin in addition would be extra nice, in lieu of source.

 

I have some specific Jaguar dev tools and games I've been meaning to create. I had an official Jag DevKit back in 95, but was too busy with my web startup. I'm ready, now. ;)

  • Like 2

Share this post


Link to post
Share on other sites
3 minutes ago, pedalpowered said:

I have some specific Jaguar dev tools ... I've been meaning to create.

If someone were to write a replacement for the Atari+Alpine debugger that could break, disassemble, and single step the 68k AND RISC processors, I'd get pretty excited.  Also, if there were ponies to be had, I wouldn't say no.

  • Haha 2

Share this post


Link to post
Share on other sites

Thanks for all your work on this @SainT!

 

I am also interested in Linux support if possible, or at least sources so I can build the tools myself.  It has been great to be able to do Jag dev in Linux with the Skunkboard, and it would be great to add the Jag GD to my little workforce.

 

  • Like 1

Share this post


Link to post
Share on other sites

I will sort out source at some point for this, needs a bit of a tidy first, then it should be easy to port to other platforms.

  • Like 2
  • Thanks 1

Share this post


Link to post
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.

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...