| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Porting DirMenu to PET: n |
Hi! Recently, somebody e-mailed me a request for a PET version of DirMenu. I
started work on it but am having a problem: when I try to read the directory, I
get a ?Syntax Error. I don't know what's causing this, but the following code
seems to cause
the problem (I'm using cc65):
----------------------------
__asm__ (
//Set LFNs.
"\tlda\t#1\n"
"\tldx\t#8\n"
"\tldy\t#0\n"
"\tsty\t_c\n"
"\tsty\t_e\n"
"\tjsr\t$FFBA\n"
//Set name ("$", as above in dire).
"\tldx\t#<_dire\n"
"\tldy\t#>_dire\n"
"\tjsr\t$FFBD\n"
//Open directory.
"\tjsr\t$FFC0\n"
);
----------------------------
Can you help me out?
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3) |
|
| SOURCE: echomail via QWK@docsplace.org | |
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™.