View Single Post
Old 29 November 2023, 00:00   #31
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,622
BSS symbols addresses must still be relocated, Execute() requires C:Run on 1.3, and yes.

I had a little time now. I've started from scratch and gave LoadSeg a fixed string for now, and gave jsr 4(a3) a copy of the entry registers. This works and I can ponder what else I should fix to make it proper. I already do folder navigation and stuff in another part of the program I'll plug this into, so I don't need that.

I guess the jsr 4(a3) needs the same stuff you get on CLI program entry, but I haven't seen it documented exactly. a2/a5/a6 comes from an offset in dosbase, and maybe some process / CLI struct. And a stack. But I'll avoid fixed-size stackframes as in System0.

Have a good one. Gn o/
Photon is online now  
 
Page generated in 0.06511 seconds with 11 queries