home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!destroyer!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!venus.iucf.indiana.edu!graham
- From: graham@venus.iucf.indiana.edu (JIM GRAHAM)
- Subject: TurboDEX, a SIMPLE but elusive problem...
- Message-ID: <BxvtnJ.IwA@usenet.ucs.indiana.edu>
- News-Software: VAX/VMS VNEWS 1.3-4
- Sender: news@usenet.ucs.indiana.edu (USENET News System)
- Nntp-Posting-Host: venus.iucf.indiana.edu
- Reply-To: graham@venus.iucf.indiana.edu
- Organization: Somewhere in Bloomington, Indiana
- Distribution: world
- Date: Tue, 17 Nov 1992 22:36:39 GMT
- Lines: 38
-
- This is driving me nuts!
-
- As those of you who are familiar with TurboDEX know, you can access the
- custom registers simply by specifying their uppercase names.
-
- Here's an example of what I would like to do...
-
- Suppose I want to read the value in INTREQR. Then I wish to write that
- value to the current cli from which I ran the program.
-
- How do I do it?
-
- I've tried the following:
-
- PROC main()
- DEF reg:LONG
- reg := INTREQR
- write 'reg = \n',reg
- ENDPROC
-
- What I get is a guru. If I look at the assemly source created by
- DEX, INTREQR does indeed equal $DFF01E.
-
- What am I doing wrong?
-
- Thanks,
-
-
- Jim Graham
-
- -> ->Disclaimer: I do not speak for my company. <- <-
- Neither do they speak for me.
- ______________________________________________________________________
- | Internet: graham@venus.iucf.indiana.edu |
- | dolmen!jgraham@moose.cs.indiana.edu |
- | BBS: The PORTAL DOLMEN BBS/ParaNet ALPHA-GAMMA (sm) (9:1012/13) |
- | (812) 334-0418, 24hrs. |
- |______________________________________________________________________|
-