Search found 1300 matches

by pjw
Fri Apr 23, 2021 7:45 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77125

Re: QL / PASCAL

Thanks Tobias, you are a great resource here, y'know! While I was aware of the limitations of relative addressing (its been discussed here too, after all. And then theres those pesky doubly offset vectors..) I guess the main reason for my ignorance is that Ive never (knowingly) encountered it as a p...
by pjw
Fri Apr 23, 2021 10:49 am
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77125

Re: QL / PASCAL

Pardon my ignorance, but why is it so hard to make these compilers (FPC, C68,..) produce "pure" Qdos code, ie code that is non-self-modifying and position independent? AFAICS there is nothing inherent in the languages themselves that prevent it. Could it be fixed? Another question borne of...
by pjw
Mon Apr 12, 2021 1:36 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77125

Re: QL / PASCAL

FPC seems now to have the best QL job name facilities on the planet :)
by pjw
Sun Apr 11, 2021 8:50 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77125

Re: QL / PASCAL

Hhrmm, a wee correction. I think this is what you meant, Norm:

Code: Select all

      bra.s start
      dc.l 0
      dc.w $4afb
nam   dc.w namend-nam-2
      dc.b 'job name here'
namend equ *

Start ...
or

Code: Select all

      jmp.l start
      dc.w $4afb
nam   dc.w namend-nam-2
      dc.b 'job name here'
namend equ *

Start ...
by pjw
Sun Apr 11, 2021 12:55 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77125

Re: QL / PASCAL

I don't argue on that as well ;) There is quite good reasoning behind long job names in some cases (like QD incorporating the full file name of the file edited in its name, or a linker incorporating its command line,.... ). Such stuff can actually add valuable information to a job display. Im fully...
by pjw
Sun Apr 11, 2021 12:33 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77125

Re: QL / PASCAL

PS: Last year I sent a request to Wolfgang to expand the name allowance for SBASIC daughter jobs to 48 characters (the value chosen by TT for Things etc) but it seems to have got lost. The current 40 char limit is just a little too little to my mind, while 48 allows for the full 42 char file name an...
by pjw
Sun Apr 11, 2021 12:24 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77125

Re: QL / PASCAL

I dont argue with that, Tobias, I was just pointing out what I thought was a sensible figure that one could rely on. Its up to the individual programmer if he thinks he can make good use of other values, although he should not be surprised if other parts of the system wont cooperate: If you were to ...
by pjw
Sun Apr 11, 2021 9:30 am
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77125

Re: QL / PASCAL

<> I have another question: how long a job name is allowed to be? For now all generated executables have the job name "FPC" hardwired. It would be cool to have this set to something more meaningful compile time. But I need to know what's the longest name allowed. Im sure Marcel will answe...
by pjw
Tue Apr 06, 2021 10:52 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77125

Re: QL / PASCAL

<> On this point of detecting whether a valid directory-device has already been specified, what is the most robust/elegant way to validate this, given the ever-growing list of possible devices that a user may have installed? I guess QPAC has a way to build it's list of available devices for the 'Fi...
by pjw
Mon Apr 05, 2021 10:21 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77125

Re: QL / PASCAL

Unarguably intentional. Perhaps it was done to avoid a program halting unnecessarily for an unimportant "error". Job already done. Why make a fuss?