tiny serial bootloader with support for remote debugging

Programming the 6502 microprocessor and its relatives in assembly and other languages.
User avatar
tius
Posts: 41
Joined: 05 Nov 2021

Re: tiny serial bootloader with support for remote debugging

Post by tius »

barnacle wrote:
The same concept of bare-bone computers with bit-bang Rx code in 22V10 was implemented in Z80 as well as 68008. I think it should work for other retro computers.
Bill
I like it and am very tempted to try it out straight away. There are so many exciting new developments!
Last edited by tius on Mon Jan 20, 2025 12:14 pm, edited 1 time in total.
barnacle
Posts: 1831
Joined: 19 Jan 2004
Location: Potsdam, DE
Contact:

Re: tiny serial bootloader with support for remote debugging

Post by barnacle »

I think the quotes got misaligned; I know nothing about this development.

Neil
User avatar
tius
Posts: 41
Joined: 05 Nov 2021

Re: tiny serial bootloader with support for remote debugging

Post by tius »

barnacle wrote:
I think the quotes got misaligned; I know nothing about this development.

Neil
oops, fixed :)
barnacle
Posts: 1831
Joined: 19 Jan 2004
Location: Potsdam, DE
Contact:

Re: tiny serial bootloader with support for remote debugging

Post by barnacle »

:mrgreen:
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: tiny serial bootloader with support for remote debugging

Post by BigDumbDinosaur »

barnacle wrote:
I think the quotes got misaligned; I know nothing about this development.

As long as the stars weren’t misaligned.  :D
x86?  We ain't got no x86.  We don't NEED no stinking x86!
barnacle
Posts: 1831
Joined: 19 Jan 2004
Location: Potsdam, DE
Contact:

Re: tiny serial bootloader with support for remote debugging

Post by barnacle »

Completely off topic, but last night we had Venus and Saturn in close conjunction, _and_ Jupiter and Mars all visible. Nice cold clear night, very nice, all stars properly aligned.

Neil
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: tiny serial bootloader with support for remote debugging

Post by BigDumbDinosaur »

barnacle wrote:
Completely off topic, but last night we had Venus and Saturn in close conjunction, _and_ Jupiter and Mars all visible. Nice cold clear night, very nice, all stars properly aligned.

Last night, with the temperature around here going into the negative side of the Fahrenheit scale, I stayed indoors and did some programming.  :D  Much too cold for this old guy to be standing outside in a stiff breeze at meat locker temperatures staring at celestial objects.  Revised firmware for POC V1.3 coming up.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
GARTHWILSON
Forum Moderator
Posts: 8773
Joined: 30 Aug 2002
Location: Southern California
Contact:

Re: tiny serial bootloader with support for remote debugging

Post by GARTHWILSON »

Back on topic everyone please, of a tiny 65xx serial bootloader with support for remote debugging.

tius, I, and I'm sure many others, read with interest, but just have not been able to give it the time for close examination and significant contribution, so we sit back, quietly.  Keep up the good work though.
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
User avatar
tius
Posts: 41
Joined: 05 Nov 2021

Re: tiny serial bootloader with support for remote debugging

Post by tius »

GARTHWILSON wrote:
tius, I, and I'm sure many others, read with interest, but just have not been able to give it the time for close examination and significant contribution, so we sit back, quietly.  Keep up the good work though.
Thank you very much Garth!

The bootloader should be complete and include all the necessary functions for initial code upload, vector management, system interrupt, memory and register reads and writes, breakpoint management and debug output and requires about 220 bytes of ROM and two I/O lines on the target system for the full version.

However, the host component has so far been limited to an absolute minimum. It only allows programs to be uploaded and downloaded and interrupts and register dumps to be tested.

I am now somewhat undecided as to which direction I should take. It would be conceivable for me to further develop the host component in the direction of a minimal monitor and debugger.

At the moment, however, it seems to make more sense to me to develop a debug adapter for vscode. This would enable testing and debugging directly in a modern development environment. However, I have no experience with this.

So the next step was to familiarize myself with vscode-cc65-debugger. This is an extension for vscode that allows debugging with an emulator (vice). Then I can perhaps better judge whether this is a sensible and viable approach.

As always, I am very grateful for feedback and input!
Post Reply