RE: [OT] 8088 assembler

From: Baltissen, GJPAA (Ruud) (ruud.baltissen_at_abp.nl)
Date: 2003-10-22 11:37:01

Hallo Spiro,


> I suspect you generated a COM file, didn't you? In this case, 
> it is loaded starting at cs:100h

I can generate a COM when org = $0100. But then all JMPs and CALLs are
wrong. 
So I have to set the org of the file to $8000 as it is a 32 KB ROM. Then
EXE2BIN says it cannot create a COM because of the wrong address. Telling it
to create a BIN instead, it says it has insufficient memory ????


> An EXE file should not have this behaviour, DEBUG should load it
> "correctly" if you have a CS and an org 8000h inside of it.

It does indeed. After "debug PC20.EXE" and "d" after the "-" prompt, it
neatly starts with:
 182C:8000  EB 02 ....
which is absolutely correct. But for one or another reason it saves from
182C:0100 on in this case. So I changed CS to 201C in this case and now it
saves the right part.

I still encounter one small problem: I loose the very last two bytes
somewhere in the proces. But I can live with that.


--
    ___
   / __|__
  / /  |_/     Groetjes, Ruud
  \ \__|_\
   \___|       http://Ruud.C64.org



=====DISCLAIMER=================================================================

De informatie in dit e-mailbericht is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoeken wij u contact op te nemen met de afzender per kerende e-mail. Verder verzoeken wij u in dat geval dit e-mailbericht te vernietigen en de inhoud ervan aan niemand openbaar te maken. Wij aanvaarden geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige overbrenging van de inhoud van een verzonden e-mailbericht, noch voor daarbij overgebrachte virussen.

The information contained in this e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail; please delete in this case the e-mail and do not disclose its contents to any person. We don't accept liability for any errors, omissions, delays of receipt or viruses in the contents of this message which arise as a result of e-mail transmission.


       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.