🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.asm.x86
Article #36

Re: Disassembling a ROM for TASM 3.2

#36
From: Nathan
Date: Sun, 23 Jan 2011 23:41
37 lines
3387 bytes
On Jan 23, 2:14 pm, Ruud <ruud.baltis...@nospicedham.gmail.com> wrote:
> Hello,
>
> The Commodore CBM 720 is a 6502 machine (http://www.6502.org/users/
> sjgray/computer/cbm2/index.html) and can be equiped with a 8088 card
> (http://www.6502.org/users/sjgray/computer/cbm2/pic-8088board.jpg).
> I'm busy disassembling the onboard EPROM. I assemble the result using
> TASM 3.2. The last time I wrote for the 8088 is twenty years ago. The
> disassembling goes well with one exception and I have two questions:
> - I assemble and create a COM file at the end. The file doesn't
> contain an ORG statement but fortunately no long jumps etc. have been
> used so the COM file ends up the same as the original BIN file. My
> question: what parameters are needed so I can tell TASM to create a
> BIN file directly from the source file containing "ORG = 0F000h"?
> - I have two lines and I know what they do but I don't know how to
> translate it in assembler:
> ;               mov     dl,low  offset serv220
>                 mov     dl,61h                              ; original disassembly
> ;               mov     dh,high offset serv220
>                 mov     dh,0F1h                           ; original disassembly
> ....
> serv220:                                                   ; = 0F161H
> ....
> What is the correct syntax?
>

Well, since I don't have a Turbo Assembler User's Manual handy, I
would simply append 61184 ($F000 - $100) 'NOP' instructions in front
of the code. {or 61537 ($F161 -$100)}

Alternatively, find yourself a copy of that Manual.

Nathan.
[borland.public.tasm added]
Technical Details
Message-ID: <b2d376e6-1f2c-49af-9d93-84b2630813b2@y31g2000vbt.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <2548072f-afd5-461b-9074-4e2f0ae6f9de@d8g2000yqf.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feaef,54d66198aa2904f1,start
X-Google-NewGroupId: yes
X-Google-Attributes: gidfbd1940eb5,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 23 Jan 2011 17:41:25 -0600
From: Nathan <nathancbaker@gmail.com>
Subject: Re: Disassembling a ROM for TASM 3.2
Message-ID: <b2d376e6-1f2c-49af-9d93-84b2630813b2@y31g2000vbt.googlegroups.com>
Date: Sun, 23 Jan 2011 15:41:00 -0800 (PST)
Organization: http://groups.google.com
References: <2548072f-afd5-461b-9074-4e2f0ae6f9de@d8g2000yqf.googlegroups.com>
User-Agent: G2/1.0
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Newsgroups: comp.lang.asm.x86,borland.public.tasm
Approved: nathancbaker@nospicedham.gmail.com - comp.lang.asm.x86 moderation team.
Lines: 38
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-d7PES+Shl/Jw5ZlgA+ocazoPEvoMlyetxRkCD2sK0ufZss3Px4m8z5jxZ0W+JbzTDNy6nUdqSA/0KNp!K6CcBo9UGF/lwFYAeDZPfvwNILltvf+z6xGlLegSCufddgZIzEVC4j7D7FlgPyc3WHPrKWzRxJ4V!Ux1FFL63yu2z8c1DvByDkY4SYg==
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
X-Original-Bytes: 3091