Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2528

programming • Re: Using OSFIND end in channel error

$
0
0
You don't mention which assembler you're using, but almost certainly you want more hashes, in BASIC's assembler syntax

Code:

lda #&80ldy #filename DIV256ldx #filename MOD256jsr osfind
otherwise you're loading the contents of memory location &80 into A, rather than the immediate (constant) &80.
I've looked at [...] search for file with File$Path [...] path pointed to by R2.
That looks like a description of the OS_Find SWI for RISC OS (on an Arm, with registers R0-R15) which is probably just muddying the water here,
Sprow.

Statistics: Posted by rps102 — Sun Mar 23, 2025 2:44 pm



Viewing all articles
Browse latest Browse all 2528

Trending Articles