🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #6582

Printer Drivers using Manx 5.0

#6582
From: Kent D. Polk
Date: Mon, 12 Nov 1990 19:40
47 lines
2394 bytes
I need to create a 1.3 compatible printer driver for a Mitubishi G500
printer. I wrote a printer driver for the C.Itoh Prowriter a while back
based on the Commodore 1.3 developer's stuff which I compiled & linked
it with an old copy of Lattice 1.2 after trying to use Manz 3.6.
(system calls such as AllocMem weren't handled correctly) I thought
that it would be a good place to start with 5.0, but still am having
problems (though many less than with 3.6).

Can printer drivers be written with Manx 5.0 using the Commodore
developers source for printer drivers? If so, how do I accomplish it?

With 5.0b, I can compile and link the existing software using the
makefile contained below. The driver currently gurus with
#00000004.00C91C08.

Without the -lc I get the following link errors (as would be expected):

(17)Undefined symbol: _LVOCloseLibrary.
(17)Undefined symbol: _LVOOpenLibrary.
(17)Undefined symbol: _AbsExecBase.
(17)Undefined symbol: .divs.
(17)Undefined symbol: .mods.
(17)Undefined symbol: _AllocMem.
(17)Undefined symbol: _FreeMem.
(17)Undefined symbol: .mulu.

-------------------------------------------------
# Prowriter Printer Driver Makefile for Aztec 5.0
CFLAGS = -m0b -mc -md
AFLAGS = -Idh0:Aztec/asm

all = init.o printertag.o data.o dospecial.o density.o render.o transfer.o

prtdrv:  $(all)
	 ln +cdb -o prtdrv $(all) -lc

-------------------------------------
Lattice 1.2 produced Printer driver:
	Prowriter ----rwed 4624  10  29-Mar-90 01:39:19
Manx 5.0b produced Printer driver:
	prtdrv    ----rwed 4272   9  07-Nov-90 21:48:35

Any comments on how to do this would be greatly appreciated,
====================================================================
Kent Polk - Southwest Research Institute - kent@swrinde.nde.swri.edu
        "Well... can't you get a Novell card for your Cray ?"
====================================================================
Technical Details
Message-ID: <29391@swrinde.nde.swri.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!portal!fernwood!uunet!zaphod.mps.ohio-state.edu!swrinde!kent

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!portal!fernwood!uunet!zaphod.mps.ohio-state.edu!swrinde!kent
From: kent@swrinde.nde.swri.edu (Kent D. Polk)
Newsgroups: comp.sys.amiga.tech
Subject: Printer Drivers using Manx 5.0
Keywords: Manx compiler, Printer Drivers
Message-ID: <29391@swrinde.nde.swri.edu>
Date: 12 Nov 90 19:40:04 GMT
Distribution: usa
Organization: Southwest Research Institute, San Antonio, Texas
Lines: 47