Search found 354 matches
- Thu Jan 11, 2024 1:19 am
- Forum: The Off-Topic Section
- Topic: C++ Initialised Static (Class) Variables with Source and Explanation
- Replies: 5
- Views: 784
C++ Initialised Static (Class) Variables with Source and Explanation
Believe it or not, it's not possible in C++ before version 17 (inline). But you can simulate it (I think, this should have had worked even in the first versions C++). Proud to present a new article on my homepage ([at least] currently only available in English): http://peter-sulzer.bplaced.net/htdoc...
- Mon Dec 18, 2023 2:29 am
- Forum: Software & Programming
- Topic: QUESTION: Branch Size on QPC2 (68020+)?
- Replies: 16
- Views: 2430
QUESTION: Branch Size on QPC2 (68020+)?
On 68000/8 branches can only be +/-32K (16 bit).
I think I have heard since 020 branches can be 32 bit.
Is this true?
This would be great. But even if the 020+ (e.g. QPC2) supports it:
Does the MAC (CST MACro Assembler) support it (which was
developed for a QL with 68008)?
I think I have heard since 020 branches can be 32 bit.
Is this true?
This would be great. But even if the 020+ (e.g. QPC2) supports it:
Does the MAC (CST MACro Assembler) support it (which was
developed for a QL with 68008)?
- Mon Dec 11, 2023 9:34 pm
- Forum: Software & Programming
- Topic: Has anyone ever tried "long filenames" from H.P.Recktenwald?
- Replies: 16
- Views: 1600
Re: Has anyone ever tried "long filenames" from H.P.Recktenwald?
Of course you're right. But there are a lot of other programs, which will not run on a QL just because of the (now!) too short pathname length. The problem is of course, that this limit is not in the physical layer of directory device drivers, but in the access layer. In fact I think this is a real ...
- Sat Dec 09, 2023 3:15 pm
- Forum: Software & Programming
- Topic: Has anyone ever tried "long filenames" from H.P.Recktenwald?
- Replies: 16
- Views: 1600
Re: Has anyone ever tried "long filenames" from H.P.Recktenwald?
Thank you, looks interesting. But it's a work of your own right? Not "long filenames" from Recktenwald, which claims to support pathname length up to 255 characters.
- Sat Dec 09, 2023 2:11 am
- Forum: Software & Programming
- Topic: Has anyone ever tried "long filenames" from H.P.Recktenwald?
- Replies: 16
- Views: 1600
Has anyone ever tried "long filenames" from H.P.Recktenwald?
It's on Dilwyns page . Search for "qvfs06.zip". I have never tried it albeit I know the author. But if it works, it would be the MOST IMPORTANT feature, which should be implemented into QDOS (SMS and how they are all named). It's most probably not possible to port a C++ Compiler, because...
- Thu Dec 07, 2023 8:17 pm
- Forum: Software & Programming
- Topic: What is really in the header of binary files?
- Replies: 28
- Views: 9640
Re: What is really in the header of binary files?
My own workflow involves using SMSQmulator which has a virtual drive watching a native system directory. I copy the executable there and then create the resource fork (as it would be known on a Mac) to give the memory size. BTW: This is also possible on Windows if you are using the NTFS file system...
- Thu Dec 07, 2023 7:29 pm
- Forum: Software & Programming
- Topic: What is really in the header of binary files?
- Replies: 28
- Views: 9640
Re: What is really in the header of binary files?
toolkit prior to actually loading it to memory, then reboot. NEVER EVER! The QL is a (was the first affordable) Multitasking computer. You normally shouldn't need to reboot a multitasking system. I have had running my QL (in my days) often nearly a week without rebooting AND thereby also writing pr...
- Thu Dec 07, 2023 12:53 am
- Forum: Software & Programming
- Topic: What is really in the header of binary files?
- Replies: 28
- Views: 9640
Re: What is really in the header of binary files?
Hi Peter, think I should join t.lienhard forum. toolkit prior to actually loading it to memory, then reboot. NEVER EVER! The QL is a (was the first affordable) Multitasking computer. You normally shouldn't need to reboot a multitasking system. I have had running my QL (in my days) often nearly a wee...
- Wed Dec 06, 2023 11:44 pm
- Forum: Software & Programming
- Topic: Qptr WMAN simple example
- Replies: 21
- Views: 4639
Re: Qptr WMAN simple example
First of all, read the official manual for the Pointer Interface and the Window Manager (wman) here (thank you Dilwyn!): https://dilwyn.qlforum.co.uk/docs/manuals/index.html#techguides then look for "QPTR MANUAL" (use the search function of your browser [CTRL-F in firefox]). It's originall...
- Wed Dec 06, 2023 10:42 pm
- Forum: Software & Programming
- Topic: What is really in the header of binary files?
- Replies: 28
- Views: 9640
Re: What is really in the header of binary files?
I think Dilwyn's answer is one of the best: fl = (length of executable program in bytes) base=respr(fl) LBYTES mdv1_no_header_prog_exe,base dataspace_value = (your best guess if you don't know it) SEXEC mdv1_fixed_exe,base,fl,dataspace_value If you make dataspace_value too small, the program won't...