Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The light of a hundred stars does not equal the light of the moon.


devel / comp.os.cpm / Looking for a Z180 disassembler that will run on 64 bit windows...

SubjectAuthor
* Looking for a Z180 disassembler that will run on 64 bit windows...Mike Morris
+- Re: Looking for a Z180 disassembler that will run on 64 bit windows...Mark Ogden
`* Re: Looking for a Z180 disassembler that will run on 64 bit windows...Steven Hirsch
 `- Re: Looking for a Z180 disassembler that will run on 64 bit windows...Roger Hanscom

1
Looking for a Z180 disassembler that will run on 64 bit windows...

<45cd9673-b654-4d71-b0ef-197aab433b33n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4561&group=comp.os.cpm#4561

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:4a0a:0:b0:406:94da:5abd with SMTP id x10-20020ac84a0a000000b0040694da5abdmr35712qtq.12.1698395601036;
Fri, 27 Oct 2023 01:33:21 -0700 (PDT)
X-Received: by 2002:a05:6870:618f:b0:1ea:973:51da with SMTP id
a15-20020a056870618f00b001ea097351damr959385oah.0.1698395600754; Fri, 27 Oct
2023 01:33:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 27 Oct 2023 01:33:18 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=71.83.164.157; posting-account=1EVQYQoAAADHyKI6rfPHvCn99svFcxbp
NNTP-Posting-Host: 71.83.164.157
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <45cd9673-b654-4d71-b0ef-197aab433b33n@googlegroups.com>
Subject: Looking for a Z180 disassembler that will run on 64 bit windows...
From: wa6...@gmail.com (Mike Morris)
Injection-Date: Fri, 27 Oct 2023 08:33:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3862
 by: Mike Morris - Fri, 27 Oct 2023 08:33 UTC

I have an abandonware industrial device that runs a Z180 with a 27c512 for the firmware (64kb), a 43256 RAM (32kb) and an - and a Exar 88C681 I/O expander.
I have supposedly full schematics and an image file (a .bin) of the firmware.

There is a slave processor - a 68HC11 with a 27c256 and a SCN2681 I/O expander. The CPUs talk to each other both with parallel latches both ways and by a internal serial port both ways. Why? I just want to know how and why it does what it does.

Legalities: I own the hardware - several pieces of it.
The manufacturer can't be contacted (disconnected phone), no email.
There is no support for it.

My platforms that I have available are Win10-64 bit, Win10 32bit, Win7-64 bit and Win7-32 bit.

I'd like to disassemble the firmware with several objectives:

1) I'm curious how it does it's internal functions.
2) the serial port on the unit presently runs at 1200 or 2400 baud (selected by a 1-bit dip switch)
I'd like to patch the 1200 baud position to at least 9600 if not 19.2k.
3) the I/O uses Televideo 920 cursor addressing.
I'd like to rewrite that subroutine to ANSI / VT102.
4) there's a display routine that summarizes the ongoing processes.
One of the fields maxes out at 65k counts (i.e. 16 bits). As a result I have to download the log files every few weeks. I'd like to make that 24 bits so I can dump it quarterly.

As I said, I just want to know how it does what it does.

30 years ago I learned more about multiprocess programming by reading the listings of the Univac 1108 OS and poking around with the monitor/debugger than any textbook of the time. I also replaced the idle routine in the OS with a routine that displayed the total clock ticks used by each process.
Nowadays it's called reverse engineering the software.

Likewise I learned more about real-time programming by reading the assembly code listings of Data General's RealTimeOS and writing a routine that replaced the idle routine (two JMP instructions that ping-ponged back and forth) with a routine that ran 1, 2, 3, 4 or 5 dots back and forth across a 16-bit LED light bar... The number of lit dots showed the number of active processes, and the less time the CPU spent in the idle loop the slower the LEDs swept back and forth...

30+ years ago I disassembled 40kb of Z80 code back to 27000+ lines of Z80 assembly using Dazzlestar. I hope the tools are more advanced now.

I just hope it's assembled code rather than compiled code...

I'm doing this out of pocket just for the learning... I can't afford a copy of IDA Pro, and neither the teaser version or the free version does Z180 (or Z80).
Thanks in advance for any help / pointers / ideas.

Mike

Re: Looking for a Z180 disassembler that will run on 64 bit windows...

<608b4e48-5dc3-492a-b7b4-9aa2a4cdc9den@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4562&group=comp.os.cpm#4562

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:6d04:0:b0:41b:7fa1:ab34 with SMTP id o4-20020ac86d04000000b0041b7fa1ab34mr36946qtt.0.1698402134537;
Fri, 27 Oct 2023 03:22:14 -0700 (PDT)
X-Received: by 2002:a05:6808:199e:b0:3ae:c95:ad2c with SMTP id
bj30-20020a056808199e00b003ae0c95ad2cmr736263oib.0.1698402134364; Fri, 27 Oct
2023 03:22:14 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 27 Oct 2023 03:22:13 -0700 (PDT)
In-Reply-To: <45cd9673-b654-4d71-b0ef-197aab433b33n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23c8:4e06:7501:91ee:f6d0:d35a:f840;
posting-account=7LAplAoAAAByKIXUc8acNTC_dUp06kdO
NNTP-Posting-Host: 2a00:23c8:4e06:7501:91ee:f6d0:d35a:f840
References: <45cd9673-b654-4d71-b0ef-197aab433b33n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <608b4e48-5dc3-492a-b7b4-9aa2a4cdc9den@googlegroups.com>
Subject: Re: Looking for a Z180 disassembler that will run on 64 bit windows...
From: ogde...@gmail.com (Mark Ogden)
Injection-Date: Fri, 27 Oct 2023 10:22:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 63
X-Received-Bytes: 4402
 by: Mark Ogden - Fri, 27 Oct 2023 10:22 UTC

On Friday, 27 October 2023 at 09:33:22 UTC+1, Mike Morris wrote:
> I have an abandonware industrial device that runs a Z180 with a 27c512 for the firmware (64kb), a 43256 RAM (32kb) and an - and a Exar 88C681 I/O expander.
> I have supposedly full schematics and an image file (a .bin) of the firmware.
>
> There is a slave processor - a 68HC11 with a 27c256 and a SCN2681 I/O expander. The CPUs talk to each other both with parallel latches both ways and by a internal serial port both ways. Why? I just want to know how and why it does what it does.
>
> Legalities: I own the hardware - several pieces of it.
> The manufacturer can't be contacted (disconnected phone), no email.
> There is no support for it.
>
> My platforms that I have available are Win10-64 bit, Win10 32bit, Win7-64 bit and Win7-32 bit.
>
> I'd like to disassemble the firmware with several objectives:
>
> 1) I'm curious how it does it's internal functions.
> 2) the serial port on the unit presently runs at 1200 or 2400 baud (selected by a 1-bit dip switch)
> I'd like to patch the 1200 baud position to at least 9600 if not 19.2k.
> 3) the I/O uses Televideo 920 cursor addressing.
> I'd like to rewrite that subroutine to ANSI / VT102.
> 4) there's a display routine that summarizes the ongoing processes.
> One of the fields maxes out at 65k counts (i.e. 16 bits). As a result I have to download the log files every few weeks. I'd like to make that 24 bits so I can dump it quarterly.
>
> As I said, I just want to know how it does what it does.
>
> 30 years ago I learned more about multiprocess programming by reading the listings of the Univac 1108 OS and poking around with the monitor/debugger than any textbook of the time. I also replaced the idle routine in the OS with a routine that displayed the total clock ticks used by each process.
> Nowadays it's called reverse engineering the software.
>
> Likewise I learned more about real-time programming by reading the assembly code listings of Data General's RealTimeOS and writing a routine that replaced the idle routine (two JMP instructions that ping-ponged back and forth) with a routine that ran 1, 2, 3, 4 or 5 dots back and forth across a 16-bit LED light bar... The number of lit dots showed the number of active processes, and the less time the CPU spent in the idle loop the slower the LEDs swept back and forth...
>
> 30+ years ago I disassembled 40kb of Z80 code back to 27000+ lines of Z80 assembly using Dazzlestar. I hope the tools are more advanced now.
>
> I just hope it's assembled code rather than compiled code...
>
> I'm doing this out of pocket just for the learning... I can't afford a copy of IDA Pro, and neither the teaser version or the free version does Z180 (or Z80).
> Thanks in advance for any help / pointers / ideas.
>
> Mike
Mike
Ghidra (free) and IDA Pro (paid) both support the Z180.
Mark

Re: Looking for a Z180 disassembler that will run on 64 bit windows...

<eRicnR1PfIokWKb4nZ2dnZfqn_WdnZ2d@giganews.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4571&group=comp.os.cpm#4571

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!usenet.network!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!69.80.99.27.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 27 Oct 2023 14:14:17 +0000
Date: Fri, 27 Oct 2023 10:14:17 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0
Subject: Re: Looking for a Z180 disassembler that will run on 64 bit windows...
Content-Language: en-US
Newsgroups: comp.os.cpm
References: <45cd9673-b654-4d71-b0ef-197aab433b33n@googlegroups.com>
From: snhir...@gmail.com (Steven Hirsch)
In-Reply-To: <45cd9673-b654-4d71-b0ef-197aab433b33n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <eRicnR1PfIokWKb4nZ2dnZfqn_WdnZ2d@giganews.com>
Lines: 14
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-yCGIjyvOQfS5XYehDs7CjzV73VuKayWGf8vQT1cx8Zc++K6jFs0yaE6Ybzhk18r0qnNf349dcHMcxOM!aPsKCk2ysA2YQPU1/aV50BNLNJVY/YmeVBI29B+7BAIdohOgbppE5ptFYGLx7sr2D0xijccxGB9t
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Steven Hirsch - Fri, 27 Oct 2023 14:14 UTC

On 10/27/23 04:33, Mike Morris wrote:
> I have an abandonware industrial device that runs a Z180 with a 27c512 for the firmware (64kb), a 43256 RAM (32kb) and an - and a Exar 88C681 I/O expander.
> I have supposedly full schematics and an image file (a .bin) of the firmware.
>
> There is a slave processor - a 68HC11 with a 27c256 and a SCN2681 I/O expander. The CPUs talk to each other both with parallel latches both ways and by a internal serial port both ways. Why? I just want to know how and why it does what it does.
>
> Legalities: I own the hardware - several pieces of it.
> The manufacturer can't be contacted (disconnected phone), no email.
> There is no support for it.
>
> My platforms that I have available are Win10-64 bit, Win10 32bit, Win7-64 bit and Win7-32 bit.

Hi, Mike! Ghidra should do what you're looking for.

Re: Looking for a Z180 disassembler that will run on 64 bit windows...

<3081e746-4522-430a-8437-d065adae63efn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4578&group=comp.os.cpm#4578

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:6214:8d2:b0:66d:3d6:2d10 with SMTP id da18-20020a05621408d200b0066d03d62d10mr52859qvb.11.1698420430871; Fri, 27 Oct 2023 08:27:10 -0700 (PDT)
X-Received: by 2002:a4a:d38b:0:b0:581:d9c6:79be with SMTP id i11-20020a4ad38b000000b00581d9c679bemr882352oos.1.1698420430568; Fri, 27 Oct 2023 08:27:10 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!69.80.99.15.MISMATCH!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 27 Oct 2023 08:27:10 -0700 (PDT)
In-Reply-To: <eRicnR1PfIokWKb4nZ2dnZfqn_WdnZ2d@giganews.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:601:4280:1439:b73d:f8e7:7846:503a; posting-account=IYDgigoAAAB4mts9mgmb0hp0ep-DoTY7
NNTP-Posting-Host: 2601:601:4280:1439:b73d:f8e7:7846:503a
References: <45cd9673-b654-4d71-b0ef-197aab433b33n@googlegroups.com> <eRicnR1PfIokWKb4nZ2dnZfqn_WdnZ2d@giganews.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3081e746-4522-430a-8437-d065adae63efn@googlegroups.com>
Subject: Re: Looking for a Z180 disassembler that will run on 64 bit windows...
From: norwest...@gmail.com (Roger Hanscom)
Injection-Date: Fri, 27 Oct 2023 15:27:10 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 12
 by: Roger Hanscom - Fri, 27 Oct 2023 15:27 UTC

Hi Mike,

>> I'm doing this out of pocket just for the learning... I can't afford a copy of IDA Pro,
>> and neither the teaser version or the free version does Z180 (or Z80).
>> Thanks in advance for any help / pointers / ideas.

I have a version of a Z180 assembler, written in C, that I use quite a lot. Nothing fancy, but being written in C, I find it highly portable. It is derived from an assembler for the Z80 ("AZ80") that appeared in one of the "public domain" archives.

Do you have a C compiler for any of your Win installs?

It used to be available for easy download on my Web site (www.hanscom.us), but since google "upgraded" it (and destroyed it in the process) that will not work anymore. Contact me if you want, and I can send you the .zip file.

Roger

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor