Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/virtualagc/virtualagc
25 December 2018, 16:55:25 UTC
  • Code
  • Branches (14)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/20080615
    • refs/heads/Fictitious-1201
    • refs/heads/block1
    • refs/heads/counters
    • refs/heads/empty
    • refs/heads/gh-pages
    • refs/heads/luminary130
    • refs/heads/master
    • refs/heads/scenarios
    • refs/heads/schematics
    • refs/heads/wiki
    • refs/import/raw
    • refs/tags/20100220
    No releases to show
  • 22dd35c
  • /
  • VisualDebugging.md
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:4c6cd4342d3ab635fb3a9452cf43fd53bc2e2050
origin badgedirectory badge
swh:1:dir:22dd35ca3bdb6355d3f9c5b92c85d524e80082ce
origin badgerevision badge
swh:1:rev:689b58c51d2268e9fc3a5c61aa74c9321891ddea
origin badgesnapshot badge
swh:1:snp:cdcd2bc43331a436e8c659ba93175ef7d7eb339b

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 689b58c51d2268e9fc3a5c61aa74c9321891ddea authored by Google Code Exporter on 07 April 2015, 19:26:57 UTC
Migrating wiki contents from Google Code
Tip revision: 689b58c
VisualDebugging.md
![http://virtualagc.googlecode.com/svn/trunk/Apollo32.png](http://virtualagc.googlecode.com/svn/trunk/Apollo32.png)
# Visual Debugging the AGC and AGS #

> | **NOTE:** This page does not yet provide fully for integration with the so-called **VirtualAGC** GUI front-end.  We'll have that info as soon as it's available!  For now, the non-integrated approach described below provides some guidance. |
|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|

One of the goals of this project is to fully enable the emulator to exhibit the GDB/MI behavior. Initially the focus will be on making the AGC behave like a gdb in debug mode by supporting the basic command line interface of the gdb. This capability will enable running the AGC and AGS under Graphical front-ends that can interact with the gdb. So far three environments have been successfully used to visually debug the AGC:

  * [Code::Blocks](http://www.codeblocks.org/) (Open Source IDE running on Linux, Windows and Mac OS)
  * [KDbg](http://www.kdbg.org/) (A KDE Graphical debugger)
  * [Emacs](http://www.gnu.org/software/emacs/) (GUB based debugging)

Supporting documentation for each of these Front-ends will be provided on a separate distinct Wiki page for each supporting IDE explaining how to setup the environment to use the respective IDE with the Virtual AGC tools. Over time the tool set will be made compatible with the gcc and gdb tool-set where possible to allow for seamless integrations with these third party tools. The following additional documentation exist:

  * [Development with Code Blocks](http://code.google.com/p/virtualagc/wiki/DevelopmentWithCodeBlocks)

Of course you don't need a debug front-end you can also just launch yaAGC in in debug mode and interact with the AGC using gdb command line options. Type help all for all supported commands and for detailed documentation refer to the [GDB Documentation](http://www.gnu.org/software/gdb/documentation/).

To actually debug the Luminary131 or Colossus249 code you must get a working copy of the source tree and build your own core-ropes image to load into the emulator. To verify you have correctly compiled the original AGC code you run the following from the command line:

```
  yaAGC --fullname Colossus249.bin
```

If you downloaded a binary distribution and did not compile the AGC sources your self (e.g. Colossus249) then you can use the option --directory=DIR to specify the location of the respective AGC code.

Below is an example of Luminary131 being debugged in the IDE Code::Blocks. Notice that the interrupts are showing up as separate threads in the debugger (with symbolic reference to the source of the interrupt in this case TIMER4). This example also shows the AGC syntax highlighting.
> ![http://virtualagc.googlecode.com/svn/trunk/doc/images/CodeBlocks.png](http://virtualagc.googlecode.com/svn/trunk/doc/images/CodeBlocks.png)

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API