delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/30/02:11:08

From: bodfish AT austen DOT notis DOT com (John Bodfish)
Subject: Converting Assembler programs
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Tue, 29 Nov 94 18:09:32 CST

Help!

I am trying to convert a free shareware graphics library (expressly designed
for writing games) called Yak Icons which is written for Borland C++.
The C++ code conversion seems pretty easy, so far (which means I haven't
actually *run* it yet :) 

Yak Icons runs on top of xlib, a VGA Xmode library which is mostly written
in assembler; I suppose it's Borland's Turbo Assembler (TASM ?).
I suppose I will need to either re-assemble this source or somehow
convert the object modules in the xlib library.

As for the first choice: I don't know, and would rather not know, 8086
assembler coding. Is there a tool that'll help me (meaning: *magically* do
it) convert the assembler code I've got to something djgpp's "as" will
accept? 

As for the second choice: if I've got the object modules from the xlib
library, is there a way to coerce djgpp's "objcopy" to translate
those modules to something I can link to the gcc-compiled C++ modules?
I'd rather have the source in a form I can re-assemble, but for now I'd
settle for being able to link.

Heck, right now I'd settle for going home.

John Bodfish
bodfish AT notis DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019