Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Apple » Apple II » Debugging Z80 code?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Debugging Z80 code? [message #369252] Thu, 21 June 2018 19:39 Go to next message
Steve Nickolas is currently offline  Steve Nickolas
Messages: 2036
Registered: October 2012
Karma: 0
Senior Member
One thing I realized was one of the reasons I was more comfortable dinking
around on the Apple ][ than other systems was the intuitive debugger built
into the ROM, coupled with the BASIC interpreter.

For some time I've been wanting to try some stuff involving (an emulation
of) a sprite card, and most of the code for the hardware in question is
Z80 code, not 6502. I figure slapping a Softcard in the system would at
least allow the code to run, but my ability to *test* the code is limited
by not being able to *debug* it.

I guess having a BASIC and a machine-code monitor in *Z80* space (it could
still run on the 6502 if need be) would make it a lot easier to experiment
with the stuff I'm trying to run - SG1000 code, MSX code, ColecoVision
code - than just shooting in the dark.

I kindasorta got a BASIC working (Grant Searle's genericized version of
Microsoft BASIC) a couple years ago. Doesn't really feel as useful as I'd
like, though.

-uso.
Re: Debugging Z80 code? [message #369420 is a reply to message #369252] Sat, 23 June 2018 08:48 Go to previous messageGo to next message
Steven Hirsch is currently offline  Steven Hirsch
Messages: 798
Registered: October 2012
Karma: 0
Senior Member
On 06/21/2018 07:39 PM, Steve Nickolas wrote:
> One thing I realized was one of the reasons I was more comfortable dinking
> around on the Apple ][ than other systems was the intuitive debugger built
> into the ROM, coupled with the BASIC interpreter.
>
> For some time I've been wanting to try some stuff involving (an emulation of)
> a sprite card, and most of the code for the hardware in question is Z80 code,
> not 6502.  I figure slapping a Softcard in the system would at least allow the
> code to run, but my ability to *test* the code is limited by not being able to
> *debug* it.
>
> I guess having a BASIC and a machine-code monitor in *Z80* space (it could
> still run on the 6502 if need be) would make it a lot easier to experiment
> with the stuff I'm trying to run - SG1000 code, MSX code, ColecoVision code -
> than just shooting in the dark.
>
> I kindasorta got a BASIC working (Grant Searle's genericized version of
> Microsoft BASIC) a couple years ago.  Doesn't really feel as useful as I'd
> like, though.

Not sure about traditional softcard compatibility, but years ago I had good
luck using the Enhanceware 'Maxwell's Demon' debugger with PCPI Applicard /
Starcard CP/M. I paid a few bucks extra for a source license and assembled it
to run in an otherwise unused area of memory.

Interestingly, I have never seen this application in the wild.
Re: Debugging Z80 code? [message #369474 is a reply to message #369420] Sun, 24 June 2018 05:41 Go to previous messageGo to next message
Antoine Vignau is currently offline  Antoine Vignau
Messages: 1860
Registered: October 2012
Karma: 0
Senior Member
A red label... I think I have the software
av
Re: Debugging Z80 code? [message #369483 is a reply to message #369474] Sun, 24 June 2018 09:06 Go to previous messageGo to next message
Steven Hirsch is currently offline  Steven Hirsch
Messages: 798
Registered: October 2012
Karma: 0
Senior Member
On 06/24/2018 05:41 AM, Antoine Vignau wrote:
> A red label... I think I have the software
> av

I have the application and source diskettes imaged if you want to host them.
Just shoot me a private e-mail with location to upload.
Re: Debugging Z80 code? [message #369484 is a reply to message #369483] Sun, 24 June 2018 09:36 Go to previous messageGo to next message
David Schmidt is currently offline  David Schmidt
Messages: 993
Registered: October 2012
Karma: 0
Senior Member
On 6/24/2018 9:06 AM, Steven Hirsch wrote:
> On 06/24/2018 05:41 AM, Antoine Vignau wrote:
>> A red label... I think I have the software
>> av
>
> I have the application and source diskettes imaged if you want to host
> them. Just shoot me a private e-mail with location to upload.

FTP to:
ftp.apple.asimov.net/pub/apple_II/incoming
Re: Debugging Z80 code? [message #369490 is a reply to message #369483] Sun, 24 June 2018 11:01 Go to previous messageGo to next message
Antoine Vignau is currently offline  Antoine Vignau
Messages: 1860
Registered: October 2012
Karma: 0
Senior Member
On Sunday, June 24, 2018 at 3:06:38 PM UTC+2, Steven Hirsch wrote:
> On 06/24/2018 05:41 AM, Antoine Vignau wrote:
>> A red label... I think I have the software
>> av
>
> I have the application and source diskettes imaged if you want to host them.
> Just shoot me a private e-mail with location to upload.

David is right, please upload to Asimov,
av
Re: Debugging Z80 code? [message #369491 is a reply to message #369484] Sun, 24 June 2018 12:01 Go to previous messageGo to next message
Steven Hirsch is currently offline  Steven Hirsch
Messages: 798
Registered: October 2012
Karma: 0
Senior Member
On 06/24/2018 09:36 AM, David Schmidt wrote:
> On 6/24/2018 9:06 AM, Steven Hirsch wrote:
>> On 06/24/2018 05:41 AM, Antoine Vignau wrote:
>>> A red label... I think I have the software
>>> av
>>
>> I have the application and source diskettes imaged if you want to host them.
>> Just shoot me a private e-mail with location to upload.
>
> FTP to:
> ftp.apple.asimov.net/pub/apple_II/incoming

Anonymous ftp, I assume? Is there a standard method for annotating what an
upload is?
Re: Debugging Z80 code? [message #369495 is a reply to message #369491] Sun, 24 June 2018 12:27 Go to previous messageGo to next message
David Schmidt is currently offline  David Schmidt
Messages: 993
Registered: October 2012
Karma: 0
Senior Member
On 6/24/2018 12:01 PM, Steven Hirsch wrote:
> On 06/24/2018 09:36 AM, David Schmidt wrote:
>> On 6/24/2018 9:06 AM, Steven Hirsch wrote:
>>> On 06/24/2018 05:41 AM, Antoine Vignau wrote:
>>>> A red label... I think I have the software
>>>> av
>>>
>>> I have the application and source diskettes imaged if you want to
>>> host them. Just shoot me a private e-mail with location to upload.
>>
>> FTP to:
>> ftp.apple.asimov.net/pub/apple_II/incoming
>
> Anonymous ftp, I assume?  Is there a standard method for annotating what
> an upload is?

Anonymous it is. There really aren't any standards - just a descriptive
file name. Sometimes folks upload a little bit of text along with the
main zip to explain what it is and/or where it should be sorted to.
Re: Debugging Z80 code? [message #369496 is a reply to message #369495] Sun, 24 June 2018 12:55 Go to previous message
Antoine Vignau is currently offline  Antoine Vignau
Messages: 1860
Registered: October 2012
Karma: 0
Senior Member
I add a short text file of the same name of the disk image or archive I upload, with a path to where it should be put,

av
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: A new emulator
Next Topic: Star Trek First Contact by Jim Royal - Bootable Image?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Mar 29 11:15:06 EDT 2024

Total time taken to generate the page: 0.05343 seconds