From: Spiro Trikaliotis (trik-news_at_gmx.de)
Date: 2003-10-21 17:07:41
Hello Ruud, On Tue, Oct 21, 2003 at 12:48:07PM +0200, Baltissen, GJPAA (Ruud) wrote: > I want to assemble the re-engineered PC20 ASM file. The problem is that I > don't know how to tell my assembler, Turbo Assembler 3.2, to generate a ROM > or BIN file. TASM makes an OBJ. TLINK makes an EXE and EXE2BIN makes a COM > of it. If I tell EXE2BIN to make a BIN of it, it says "insufficient memory". > Having 606 KB free I have my doubts. > > My questions: > - is anybody familiar with TASM and/or EXE2BIN and can tell me what to do? > - does anybody know/have another program that could create the needed ROM? I once had the same problem. I helped myself with debug (this is from memory): 1. Generate the needed EXE (for example, BIOS.EXE) 2. load it into debug: DEBUG BIOS.EXE 3. first of all, rename the file: N BIOS.BIN 4. set the length of the file to save into the BX:CX register pair: r bx 0 (<--- HIGH word; I assume it is not bigger than 64 KB, is it?) r cx xxxx (<--- LOW word) 5. Now, save the file to disc: W CS:0000 After this, you have a file BIOS.BIN which has exactly the needed information. HTH, Spiro. Message was sent through the cbm-hackers mailing list
Archive generated by hypermail pre-2.1.8.