🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Calling TC function from TASM

#119
From: David Lindauer
Date: Wed, 13 Jan 1999 00:00
31 lines
1890 bytes

Charlie McIver wrote:

> Hi,
>
> I've used TC and TASM before and as I recall it wasn't too hard, but how do
> I do the initital jump from
> Assembler to C?

generally you do this through a call to the _main function (e.g. call _main).
In an embedded project it is also possible to jump directly to main, if you are
sure main isn't going to return.

>
>
> Also, does anyone know of any good Serial Comms libraries that do not use
> BIOS/DOS, but simple talk to the UART?

Did you look around on simtelnet?   I was told there is example code therefor
handling uarts directly.

David

--
---------------------------------------------------------------
David Lindauer    mailto:camille@bluegrass.net     ICQ: 8699592

http://www.ladsoft.com/index.htm                           (computer page)
http://www.geocities.com/Area51/Station/5196/index.html    (home page)
http://www.geocities.com/Area51/Station/5196/ttc.html      (tao te ching)
Technical Details
Message-ID: <77ikbv$5cs$1@winter.news.rcn.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <77if4s$96q$1@winter.news.rcn.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: feaef,a5e6f895a74f130f
X-Google-Attributes: gidfeaef,public
X-Google-Thread: 114917,a5e6f895a74f130f
X-Google-Attributes: gid114917,public
From: David Lindauer <camille@bluegrass.net>
Subject: Re: Calling TC function from TASM
Date: 1999/01/13
Message-ID: <77ikbv$5cs$1@winter.news.rcn.net>
X-Deja-AN: 432188424
Cache-Post-Path: news.bluegrass.net!unknown@dial91.telco.bluegrass.net
Content-Transfer-Encoding: 7bit
Approved: <johnfine@erols.com>
References: <77if4s$96q$1@winter.news.rcn.net>
Content-Type: text/plain; charset=us-ascii
X-Mozilla-Status: 0801
X-Complaints-To: abuse@rcn.com
X-Trace: 1zfzeg1MW1JJoUumMMJWXCtJKioOibf1BOhlb3QhuV4=
Organization: Bluegrass Net
X-Cache: nntpcache 2.3.2 (see http://www.nntpcache.org/)
Mime-Version: 1.0
NNTP-Posting-Date: 13 Jan 1999 17:15:43 GMT
Newsgroups: comp.lang.asm.x86,borland.public.tasm