Jump to content

Photo

Debugger cartridge? Suggestions please


11 replies to this topic

#1 FarmerPotato OFFLINE  

FarmerPotato

    Moonsweeper

  • 272 posts
  • Location:Austin, TX

Posted Fri Jan 25, 2019 11:40 AM

I need a monitor/debugger program that can fit in an 8k rom (maybe more.)
Any suggestions for source code to such a thing?  I have TI's RSBUG source code for starters.
 
I need the usual things like M)odify memory, C)RU, E)xecute.
Ideally I would incorporate the Line-by-line-assembler too. Is there source for that out there?
 
I've been living out of Mini Memory Easy Bug, and 32k, and would like to cobble together a 8k debugger utility cartridge.
 


#2 RXB OFFLINE  

RXB

    River Patroller

  • 3,513 posts
  • Location:Vancouver, Washington, USA

Posted Fri Jan 25, 2019 4:17 PM

 

I need a monitor/debugger program that can fit in an 8k rom (maybe more.)
Any suggestions for source code to such a thing?  I have TI's RSBUG source code for starters.
 
I need the usual things like M)odify memory, C)RU, E)xecute.
Ideally I would incorporate the Line-by-line-assembler too. Is there source for that out there?
 
I've been living out of Mini Memory Easy Bug, and 32k, and would like to cobble together a 8k debugger utility cartridge.
 

 

You do understand GROM single Cartridge has 40K vs just 8K in a ROM?

And you can ADD the 8K ROM to the GROM thus have 48K in the CARTRIDGE?

 

Remember I imbed Assembly in GROM and use it in RXB for SAMS support and CRU control and handing Interrupts from XB.

And all my Source code in RXB is free to use and read.



#3 FarmerPotato OFFLINE  

FarmerPotato

    Moonsweeper

  • Topic Starter
  • 272 posts
  • Location:Austin, TX

Posted Fri Jan 25, 2019 5:03 PM

You do understand GROM single Cartridge has 40K vs just 8K in a ROM?

And you can ADD the 8K ROM to the GROM thus have 48K in the CARTRIDGE?

 

Remember I imbed Assembly in GROM and use it in RXB for SAMS support and CRU control and handing Interrupts from XB.

And all my Source code in RXB is free to use and read.

 

Sorry, I don't have a GRAM device. Not interested in GROM.


  • RXB likes this

#4 FarmerPotato OFFLINE  

FarmerPotato

    Moonsweeper

  • Topic Starter
  • 272 posts
  • Location:Austin, TX

Posted Fri Jan 25, 2019 5:06 PM

Somehow I plain forgot that the E/A disk includes the debugger source code. Duh.

 

I have RSBUG, which is an RS232 debugger, and was thinking of using that.

 

This one:

       TITL '99/4A RS232 DEBUGGER V 2.4'
       IDT  'RSBUG2.4'
       DEF  RSBUG
*      AORG >F000
*(C)1983 Texas Instruments Inc.
*******************************************
* RS232 Debugger Version 2.4   (06/05/83) *
*******************************************
* enable one port and one baud rate
*CR9902 EQU  >1340        9902 address (port 1)
CR9902 EQU  >1380        9902  address (port 2)
*CR9902 EQU  >1540        9902 address (port 3)
*CR9902 EQU  >1580        9902 address (port 4)


#5 InsaneMultitasker OFFLINE  

InsaneMultitasker

    River Patroller

  • 2,365 posts

Posted Fri Jan 25, 2019 5:45 PM

Charles Earl's HOTBUG has an 8k supercart option.  No source that I'm aware of but if you are just trying to cobble together a debugger module, it might be an option for you. 



#6 senior_falcon OFFLINE  

senior_falcon

    Stargunner

  • 1,380 posts
  • Location:Lansing, NY, USA

Posted Fri Jan 25, 2019 8:12 PM

I need a monitor/debugger program that can fit in an 8k rom (maybe more.)

Any suggestions for source code to such a thing?  I have TI's RSBUG source code for starters.
 
I need the usual things like M)odify memory, C)RU, E)xecute.
Ideally I would incorporate the Line-by-line-assembler too. Is there source for that out there?
 
I've been living out of Mini Memory Easy Bug, and 32k, and would like to cobble together a 8k debugger utility cartridge.
 

How would this be different from MiniMemory? 

A long time ago I disassembled the LBLA and modified it to run from the 32K memory. There is a tiny chance I might be able to find the source code for that.



#7 Stuart OFFLINE  

Stuart

    Dragonstomper

  • 833 posts
  • Location:Southampton, UK

Posted Sat Jan 26, 2019 7:28 AM

 

I need a monitor/debugger program that can fit in an 8k rom (maybe more.)
Any suggestions for source code to such a thing?  I have TI's RSBUG source code for starters.
 
I need the usual things like M)odify memory, C)RU, E)xecute.
Ideally I would incorporate the Line-by-line-assembler too. Is there source for that out there?
 
I've been living out of Mini Memory Easy Bug, and 32k, and would like to cobble together a 8k debugger utility cartridge.
 

 

 

Sounds like my http://www.stuartcon...mbler_cartridge might be what you're after?


Edited by Stuart, Sat Jan 26, 2019 7:28 AM.


#8 TheBF ONLINE  

TheBF

    Dragonstomper

  • 923 posts
  • Location:The Great White North

Posted Sat Jan 26, 2019 6:34 PM

 

I need a monitor/debugger program that can fit in an 8k rom (maybe more.)
Any suggestions for source code to such a thing?  I have TI's RSBUG source code for starters.
 
I need the usual things like M)odify memory, C)RU, E)xecute.
Ideally I would incorporate the Line-by-line-assembler too. Is there source for that out there?
 
I've been living out of Mini Memory Easy Bug, and 32k, and would like to cobble together a 8k debugger utility cartridge.
 

 

 

Sounds Stewart has what you need.

 

I can cross compile a little Forth kernel that lives at $6000 with dump and ? to examine memory.   ! can write to memory.

If you just needed the interpreter I can remove the branching and looping stuff to make room for the tools.

 

I have never made a cartridge but it's on my todo list.  Let me know if that's useful.



#9 FarmerPotato OFFLINE  

FarmerPotato

    Moonsweeper

  • Topic Starter
  • 272 posts
  • Location:Austin, TX

Posted Mon Jan 28, 2019 11:49 AM

How would this be different from MiniMemory? 

A long time ago I disassembled the LBLA and modified it to run from the 32K memory. There is a tiny chance I might be able to find the source code for that.

 

I don't so much need the 4K RAM and would rather have LBLA built in. 



#10 FarmerPotato OFFLINE  

FarmerPotato

    Moonsweeper

  • Topic Starter
  • 272 posts
  • Location:Austin, TX

Posted Mon Jan 28, 2019 11:50 AM

 

Sounds like my http://www.stuartcon...mbler_cartridge might be what you're after?

 

Yes, thank you, that should do everything I need.



#11 F.G. Kaal OFFLINE  

F.G. Kaal

    Space Invader

  • 46 posts

Posted Sat Feb 2, 2019 5:13 AM

 

I need a monitor/debugger program that can fit in an 8k rom (maybe more.)
Any suggestions for source code to such a thing?  I have TI's RSBUG source code for starters.
 
I need the usual things like M)odify memory, C)RU, E)xecute.
Ideally I would incorporate the Line-by-line-assembler too. Is there source for that out there?
 
I've been living out of Mini Memory Easy Bug, and 32k, and would like to cobble together a 8k debugger utility cartridge.
 

 

Just for fun I disassembled the Line-By-Line assembler 3 years ago because I wanted something like this to run in the E/A environment. I have added comments and did the bugfixes as suggested by Stuart Conner. Maybe you can use this.

 

PS: Interesting technique how all opcodes are stored in some kind of compressed table.

 

Fred ;-)

Attached Files

  • Attached File  Lbla.zip   2.99MB   10 downloads

Edited by F.G. Kaal, Sat Feb 2, 2019 5:32 AM.


#12 BeeryMiller OFFLINE  

BeeryMiller

    Dragonstomper

  • 818 posts
  • Location:Campbellsburg, KY

Posted Sat Feb 2, 2019 10:19 AM

FYI,

 

There is the Geneve RSBug code that was built into the boot eprom well less than 8K.  It was configured to use an RS232 port.

 

Code is already out there, let me know if that is something that may be of interest.

Beery






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users