TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: all
from: JOSEPH CONSUGAR 73007,3264
date: 1993-08-27 06:37:50
subject: #BASIC to Assem prob

#: 18609 S3/Languages
    27-Aug-93  06:37:50
Sb: #BASIC to Assem prob
Fm: JOSEPH CONSUGAR 73007,3264
To: all

I hope someone here can help me with the problem I am having.

I am trying to write an assembly language program that will print a string
passed to it from BASIC09.  The problem I am having deals with the routine
I$WritLn.

I am loading the X register as:     LDX [param1,s] and the Y register as:
LDY len1,s and the path as:                    LDA #1

When I try to call I$Writln with this setup, I get an error #244, which at
first glance, has nothing to do with writing to the screen.

The routine works fine if I reference X and Y to constants located in the data
area, and I still get the error if I specifically load Y with a constant (e.g.
LDY #4).

I my problem with the way parameters are passed from BASIC09 on the stack?  Or
is it some simple thing I am overlooking?

Any help will be much appreciated.

Joe Consugar


There is 1 Reply.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.