Jump to content
IGNORED

SpartaDOS symbol lookup problems in Action


Pab

Recommended Posts

I'm working on rewriting my Action! library of SpartaDOS routines to use calls under SDX 4.4+ instead of the old "under OS" vectors and the link.

 

The problem is that when I look up the symbols for most calls (U_GETPAR, U_GEFINA, U_GETADR, U_GONOFF, U_SLASH, U_TOKEN, U_GETATR, and U_EXPAND) it seems that none of them are in the symbol table.

 

This is the ML code I'm using to lookup a symbol (pointed to by A and X registers as passed through Action!):

	JSR $07EB
	BPL OUT
ERR	LDA #$00
	LDX #$00
OUT	STA $A0
	STX $A1
	RTS

 

And here are the byte arrays passed to look up each symbol:

BYTE ARRAY t_igettd(9)=['I '_ 'G 'E 'T 'T 'D 32 0]
BYTE ARRAY t_isettd(9)=['I '_ 'S 'E 'T 'T 'D 32 0]
BYTE ARRAY t_ugetpar(9)=['U '_ 'G 'E 'T 'P 'A 'R 0]
BYTE ARRAY t_ugetnum(9)=['U '_ 'G 'E 'T 'N 'U 'M 0]
BYTE ARRAY t_ugetadr(9)=['U '_ 'G 'E 'T 'A 'D 'R 0]
BYTE ARRAY t_ugonoff(9)=['U '_ 'G 'O 'N 'O 'F 'F 0]
BYTE ARRAY t_uslash(9)=['U '_ 'S 'L 'A 'S 'H 32 0]
BYTE ARRAY t_utoken(9)=['U '_ 'T 'O 'K 'E 'N 32 0]
BYTE ARRAY t_ugefina(9)=['U '_ 'G 'E 'F 'I 'N 'A 0]
BYTE ARRAY t_ugetatr(9)=['U '_ 'G 'E 'T 'A 'T 'R 0]
BYTE ARRAY t_file_p(9)=['F 'I 'L 'E '_ 'P 32 32 0]
BYTE ARRAY t_uexpand(9)=['U '_ 'E 'X 'P 'A 'N 'D 0]

 

When I do the lookups, all the symbols except I_GETTD, I_SETTD, and FILE_P show up as missing.

 

What am I doing wrong?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...