~rabbits/uxn

2 2

Uxn step debugger that works in all emulators

Details
Message ID
<CAE2DaSSVG8CKHF4+YZfC1UYmCX=Cx2dPwi10TcM+AP==k2=E2A@mail.gmail.com>
DKIM signature
pass
Download raw message
Hey everyone,

From time to time, someone asks if there's something like Uxn32's
debugger planned for the other emulators, and since we can't quite all
agree on the API needed to make this happened, I went ahead and wrote
a uxn emulator, in uxn itself.

source: https://git.sr.ht/~rabbits/beetbug/tree/main/item/src/emulator.tal

This allows anyone to step through their program and follow the stack
states and follow the PC around, it's totally portable, it doesn't
make use of any special System port. I'm sure there's still some
improvements to be made for it, but I've used it today to step through
a bunch of routines I was implementing and it delivered.

demo: https://merveilles.town/web/@neauoire/109469602162823321

I hope you find a use for this too, I will work on properly
documenting this one in the next couple of days, but in the meantime,
have a play with it!

Have a good day :)

Dll
Derek Stevens <nilix@nilfm.cc>
Details
Message ID
<2WWYPP9R263Y0.3UPR7SKALVX57@ksatrya.nilfm.local>
In-Reply-To
<CAE2DaSSVG8CKHF4+YZfC1UYmCX=Cx2dPwi10TcM+AP==k2=E2A@mail.gmail.com> (view parent)
DKIM signature
pass
Download raw message
Devine Lu Linvega <aliceffekt@gmail.com> wrote:

> From time to time, someone asks if there's something like Uxn32's
> debugger planned for the other emulators, and since we can't quite all
> agree on the API needed to make this happened, I went ahead and wrote
> a uxn emulator, in uxn itself.
> [...]
> 
> demo: https://merveilles.town/web/@neauoire/109469602162823321

This is epic - the missing piece of the uxn DX!

Mad props as always Devine!

-Derek
Details
Message ID
<CAKis=aETz4-S9LVEBOodSLew5_KHetvYsFQ=CMT1L+NXyK=ZMw@mail.gmail.com>
In-Reply-To
<2WWYPP9R263Y0.3UPR7SKALVX57@ksatrya.nilfm.local> (view parent)
DKIM signature
pass
Download raw message
Thanks to @tbsp on mastodon, uxnasm also outputs a symbols file upon assembly!

demo: https://merveilles.town/web/@neauoire/109485713584294162
*.sym details: http://wiki.xxiivv.com/site/symbols.html

Next step will be for uxnemu and uxncli to make use of these symbol
files to print better errors :)
Reply to thread Export thread (mbox)