Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #1606 > unrolled thread

New disassembler for 6502 & 65816

Started byspectrumdaddy@nospam.com (Ewen)
First post2015-04-18 08:39 +0100
Last post2015-04-29 18:52 -0500
Articles 9 — 8 participants

Back to article view | Back to comp.sys.apple2.programmer


Contents

  New disassembler for 6502 & 65816 spectrumdaddy@nospam.com (Ewen) - 2015-04-18 08:39 +0100
    Re: New disassembler for 6502 & 65816 ivanx%ivanx.com@gtempaccount.com - 2015-04-19 20:01 -0700
    Re: New disassembler for 6502 & 65816 xorxif <-@-.-> - 2015-04-26 20:22 -0700
      Re: New disassembler for 6502 & 65816 Steve Nickolas <usotsuki@buric.co> - 2015-04-27 05:59 +0200
      Re: New disassembler for 6502 & 65816 spectrumdaddy@nospam.com (Ewen) - 2015-04-27 07:25 +0100
        Re: New disassembler for 6502 & 65816 markpmlim@yahoo.com.sg - 2015-04-27 19:15 -0700
        Re: New disassembler for 6502 & 65816 Hugh Hood <hughhood@earthlink.net> - 2015-04-28 23:01 -0500
          Re: New disassembler for 6502 & 65816 D Finnigan <dog_cow@macgui.com> - 2015-04-29 19:40 +0000
            Re: New disassembler for 6502 & 65816 Michael J. Mahon <mjmahon@aol.com> - 2015-04-29 18:52 -0500

#1606 — New disassembler for 6502 & 65816

Fromspectrumdaddy@nospam.com (Ewen)
Date2015-04-18 08:39 +0100
SubjectNew disassembler for 6502 & 65816
Message-ID<1m32fyd.1fvz0qjgjwgsmN%spectrumdaddy@nospam.com>
Announcing a new Disassembler for the IIgs.

As my tribute to OZ Kfest, I am announcing my latest project…

BrkDown is a desktop WYSIWYG disassembler for the IIgs, and disassembles
to source code from both the 8 data forks, and 16 bit multi-segmented
data and resource forks, of an application or binary file. The output is
optionally in either ORCA/M or Merlin 16 compatible format.

Powerful Functions allow manipulating of the resulting source, so it can
be worked up into valid source code that can be later reassembled.

Many other tools are provided to make working with source files as
painless as possible.

Please download and read the BrkDown PDF Manual for more information on
how BrkDown works, and how to use it.

Both the PDF manual, and the application archive, as well as all my
other software, can be downloaded from my web site:

http://www.speccie.co.uk

Ewen Wannop

[toc] | [next] | [standalone]


#1613

Fromivanx%ivanx.com@gtempaccount.com
Date2015-04-19 20:01 -0700
Message-ID<3f3c7050-7b45-49cb-8dd7-a3e62851eec7@googlegroups.com>
In reply to#1606
On Saturday, April 18, 2015 at 3:39:22 AM UTC-4, Ewen wrote:
> Announcing a new Disassembler for the IIgs.
> 
> As my tribute to OZ Kfest, I am announcing my latest project...

Cool!

[toc] | [prev] | [next] | [standalone]


#1623

Fromxorxif <-@-.->
Date2015-04-26 20:22 -0700
Message-ID<mhka1b$682$1@speranza.aioe.org>
In reply to#1606
> BrkDown is a desktop WYSIWYG disassembler for the IIgs, and disassembles
> to source code from both the 8 data forks, and 16 bit multi-segmented
> data and resource forks, of an application or binary file. The output is
> optionally in either ORCA/M or Merlin 16 compatible format.
>
> Powerful Functions allow manipulating of the resulting source, so it can
> be worked up into valid source code that can be later reassembled.
>
> Many other tools are provided to make working with source files as
> painless as possible.

What would be the most equivalent thing to BrkDown that runs in Windows? 
I've been wanting to explore the inner workings of a lot of Apple II 
game code for years. While I suppose I could run BrkDown in an Apple 
IIGS emulator, I would prefer the speed of my PC and the quick access to 
programs like Ciderpress.

- xorxif

[toc] | [prev] | [next] | [standalone]


#1624

FromSteve Nickolas <usotsuki@buric.co>
Date2015-04-27 05:59 +0200
Message-ID<alpine.DEB.2.02.1504270558570.28664@ks3374488.kimsufi.com>
In reply to#1623
On Sun, 26 Apr 2015, xorxif wrote:

>> BrkDown is a desktop WYSIWYG disassembler for the IIgs, and disassembles
>> to source code from both the 8 data forks, and 16 bit multi-segmented
>> data and resource forks, of an application or binary file. The output is
>> optionally in either ORCA/M or Merlin 16 compatible format.
>> 
>> Powerful Functions allow manipulating of the resulting source, so it can
>> be worked up into valid source code that can be later reassembled.
>> 
>> Many other tools are provided to make working with source files as
>> painless as possible.
>
> What would be the most equivalent thing to BrkDown that runs in Windows? I've 
> been wanting to explore the inner workings of a lot of Apple II game code for 
> years. While I suppose I could run BrkDown in an Apple IIGS emulator, I would 
> prefer the speed of my PC and the quick access to programs like Ciderpress.
>
> - xorxif
>

Maybe something like IDA?

That's what I use for 8-bit stuff.

-uso.

[toc] | [prev] | [next] | [standalone]


#1625

Fromspectrumdaddy@nospam.com (Ewen)
Date2015-04-27 07:25 +0100
Message-ID<1m3j0in.ognkeldnh3qqN%spectrumdaddy@nospam.com>
In reply to#1623
xorxif <-@-.-> wrote:

> What would be the most equivalent thing to BrkDown that runs in Windows?
> I've been wanting to explore the inner workings of a lot of Apple II 
> game code for years. While I suppose I could run BrkDown in an Apple 
> IIGS emulator, I would prefer the speed of my PC and the quick access to
> programs like Ciderpress.

Why not do as I do, disassemble with BrkDown in your IIgs emulator, then
edit the files in a word processor on the PC? I use TextWrangler on the
Mac, but presumably there is an equivalent word processor designed for
program code on the PC.

Cheers - Ewen

[toc] | [prev] | [next] | [standalone]


#1626

Frommarkpmlim@yahoo.com.sg
Date2015-04-27 19:15 -0700
Message-ID<12100964-5685-4cf6-88d5-f83873dd0c09@googlegroups.com>
In reply to#1625
Notepad++ for Windows is better than TextWrangler.

Regards.

Mark

[toc] | [prev] | [next] | [standalone]


#1627

FromHugh Hood <hughhood@earthlink.net>
Date2015-04-28 23:01 -0500
Message-ID<D165C1D8.11074%hughhood@earthlink.net>
In reply to#1625
I'll agree with Ewen.

Mark Lim is recommending Notepad++ for Windows for code editing, but if
you're using a Mac with your Apple II stuff, BBEdit/TextWranger make
excellent Apple II assembler editors, particularly if you take advantage of
the custom syntax coloring afforded by using a 'codeless language module'.

Ivan Drucker came up with a fine codeless language module for generic 65C02
assembly. I used it as a starting point (thanks a MEG Ivan!) to add in some
Merlin opcodes and a few other enhancements.

Here's a screen shot of some Merlin code from BBEdit with the
'MerlinAssembler' codeless language module in effect:

<http://home.earthlink.net/~hughhood/MerlinInBBEdit.jpg>


And, here's the language module itself for BBEdit and TextWranger:

<http://home.earthlink.net/~hughhood/MerlinAssembler.plist>

You'll notice that it's XML, and again, that's mostly Ivan's work. I'm
grateful he shared it.



Since Merlin files are 'goofy' text files, I set up a couple of unix filters
to go to and from regular text files within BBEdit.

'Merlin2Txt' looks like:

#!/bin/bash

# Convert Merlin format to tab-delimited source
#  (tabs for high bit spaces; low bit characters)
# Ensure that "Use UTF-8 for Unix Script I/O" if OFF in Text Encodings Prefs

tr '\240' '\011' < "$1" | tr '\200-\377' '\000-\177'


'Txt2Merlin' looks like

#!/bin/bash

# Convert tab-delimited source to Merlin format
#  (high bit spaces for tabs; high bit characters)
# Ensure that "Use UTF-8 for Unix Script I/O" if OFF in Text Encodings Prefs

tr '\011' '\240' < "$1" | tr '\000-\037' '\200-\337' | tr '\041-\177'
'\241-\377' | tr '\212' '\215' | tr '\012' '\215'


If you haven't lost interest yet, you'll want to set up an AppleScript to
run the filter and set the tab setting at 15 spaces as well as a few other
interface settings. A hotkey works nicely for all of that in one swoop. I
won't bore you with my AppleScript here.

Finally, don't forget to go into the Preferences for the language module
settings to make sure everything is to your liking. You can change colors
and the like. 

We've come a long, long way from the Merlin editor on an Apple II. Thank
goodness!

BTW, don't you just love octals? Just when you've got Hex all figured out.
:-)




Hugh Hood







in article 1m3j0in.ognkeldnh3qqN%spectrumdaddy@nospam.com, Ewen at
spectrumdaddy@nospam.com wrote on 4/27/15 1:25 AM:

> xorxif <-@-.-> wrote:
> 
>> What would be the most equivalent thing to BrkDown that runs in Windows?
>> I've been wanting to explore the inner workings of a lot of Apple II
>> game code for years. While I suppose I could run BrkDown in an Apple
>> IIGS emulator, I would prefer the speed of my PC and the quick access to
>> programs like Ciderpress.
> 
> Why not do as I do, disassemble with BrkDown in your IIgs emulator, then
> edit the files in a word processor on the PC? I use TextWrangler on the
> Mac, but presumably there is an equivalent word processor designed for
> program code on the PC.
> 
> Cheers - Ewen

[toc] | [prev] | [next] | [standalone]


#1628

FromD Finnigan <dog_cow@macgui.com>
Date2015-04-29 19:40 +0000
Message-ID<dog_cow-1430336502@macgui.com>
In reply to#1627
Hugh Hood wrote:
> 
> We've come a long, long way from the Merlin editor on an Apple II. Thank
> goodness!

Bah, I use the Merlin line editor to write Marina on my platinum Apple IIe.

> 
> BTW, don't you just love octals? Just when you've got Hex all figured out.
> :-)

Bah!

-- 
]DF$
The Marina IP stack for Apple II--
http://marina.a2hq.com/

[toc] | [prev] | [next] | [standalone]


#1629

FromMichael J. Mahon <mjmahon@aol.com>
Date2015-04-29 18:52 -0500
Message-ID<1980846492452043565.271881mjmahon-aol.com@news.giganews.com>
In reply to#1628
D Finnigan <dog_cow@macgui.com> wrote:
> Hugh Hood wrote:
>> 
>> We've come a long, long way from the Merlin editor on an Apple II. Thank
>> goodness!
> 
> Bah, I use the Merlin line editor to write Marina on my platinum Apple IIe.
> 
>> 
>> BTW, don't you just love octals? Just when you've got Hex all figured out.
>> :-)
> 
> Bah!

Agreed!  I have no problem with the Merlin editor, and I consider octal a
relic from the pre-8-bit byte era. 

Anything that slows down the code edit/compile/test cycle allows more time
for thinking, which is the real "secret sauce" of programming!

Put another way:

More code ~= better code. 

(I'm not *completely* serious, but I'm not just kidding, either. ;-)
-- 
-michael - NadaNet 3.1 and AppleCrate II: http://home.comcast.net/~mjmahon

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.apple2.programmer


csiph-web