Tridim - the 3D modelling program
-
- Aurora
- Posts: 970
- Joined: Tue Dec 17, 2013 1:17 pm
Re: Pyramide Software - Some Freeware
I have been trying again to get Tridim to run in QPC2. I can get the Manipulation program to run. But I am having problems with the main Tridim program.
Tridim crashes at odd places, and does not usually finish starting itself up by drawing the menus.
I have a couple of questions I was wondering if anyone could answer.
1. Does SMSQ/E have any problems with old Supercharged Basic programs.
2. Tridim makes use of a couple of previously unused system variables $28024 and $28028, which in SMSQ/E are sys_mxfr and sys_rtc. Maximum free memory and real time in seconds.
sys_mxfr has a value set and sys_rtc always seems to be zero. Can changing these system variables cause SMSQ/E to crash? I know that in the compiled program, Tridim loads a couple of files, But I don't know to what addresses, and how it allocates memory for these files. Does SMSQ/E use sys_mxfr for allocating memory?
Tridim crashes at odd places, and does not usually finish starting itself up by drawing the menus.
I have a couple of questions I was wondering if anyone could answer.
1. Does SMSQ/E have any problems with old Supercharged Basic programs.
2. Tridim makes use of a couple of previously unused system variables $28024 and $28028, which in SMSQ/E are sys_mxfr and sys_rtc. Maximum free memory and real time in seconds.
sys_mxfr has a value set and sys_rtc always seems to be zero. Can changing these system variables cause SMSQ/E to crash? I know that in the compiled program, Tridim loads a couple of files, But I don't know to what addresses, and how it allocates memory for these files. Does SMSQ/E use sys_mxfr for allocating memory?
-
- Aurora
- Posts: 970
- Joined: Tue Dec 17, 2013 1:17 pm
Re: Pyramide Software - Some Freeware
I have been working on getting the Manipulation program to work in SMSQ/E
Here is the current program, It is still a work in progress, Let me know if you have any problems with it.
It has only been tested in QPC2, and you will need to edit line 210 for your device. Note this is for SMSQ/E. It should work in QDOS, but you would have to find replacement commands for some of the SBASIC ones.
Here is the current program, It is still a work in progress, Let me know if you have any problems with it.
It has only been tested in QPC2, and you will need to edit line 210 for your device. Note this is for SMSQ/E. It should work in QDOS, but you would have to find replacement commands for some of the SBASIC ones.
- Attachments
-
- Manip3.zip
- (4.59 KiB) Downloaded 153 times
-
- RWAP Master
- Posts: 2893
- Joined: Sun Nov 28, 2010 4:51 pm
- Location: Stone, United Kingdom
- Contact:
Re: Pyramide Software - Some Freeware
This is excellent work.
Can the admins split off the topic to create a new topic about Tridim please (as original topic was all about Pyramide releasing some programs as freeware).
Can the admins split off the topic to create a new topic about Tridim please (as original topic was all about Pyramide releasing some programs as freeware).
Rich Mellor
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module - add a USB printer to your QL
Also Involved in:
Icephorm
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module - add a USB printer to your QL
Also Involved in:
Icephorm
-
- Aurora
- Posts: 970
- Joined: Tue Dec 17, 2013 1:17 pm
Re: Pyramide Software - Some Freeware
This is Tridim 3 for SMSQ/E systems.
I have decompiled the original Tridim program back to SuperBASIC and made it work in SMSQ/E.
This version could do with a little more work, but I am releasing it for testing and feedback.
Things I know that need more work are:
System 4 views, inverting the screen with 'N' does not work properly.
Saving a screen dump only works in QL screen modes.
Having Tridim in a subdirectory can cause problems. Unless you use something like a DEV device.
I have put quite a lot of time and effort into this program, and I fancy a break from it for a while. If anyone feels like picking up the reins and running with it. Please feel free.
I have decompiled the original Tridim program back to SuperBASIC and made it work in SMSQ/E.
This version could do with a little more work, but I am releasing it for testing and feedback.
Things I know that need more work are:
System 4 views, inverting the screen with 'N' does not work properly.
Saving a screen dump only works in QL screen modes.
Having Tridim in a subdirectory can cause problems. Unless you use something like a DEV device.
I have put quite a lot of time and effort into this program, and I fancy a break from it for a while. If anyone feels like picking up the reins and running with it. Please feel free.
- Attachments
-
- Tridim3_Docs.zip
- (155.21 KiB) Downloaded 175 times
-
- Tridim3.zip
- (15.6 KiB) Downloaded 164 times
-
- Font of All Knowledge
- Posts: 4684
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: Pyramide Software - Some Freeware
Hi Martin,
Great work, I have had a quick look at the Manip and updated Tridim programme.
I was interested in this comment:
Great work, I have had a quick look at the Manip and updated Tridim programme.
I was interested in this comment:
Did you decompile a Supercharged programme.Martin_Head wrote: I have decompiled the original Tridim program back to SuperBASIC and made it work in SMSQ/E.
Regards,
Derek
Derek
- vanpeebles
- Commissario Pebbli
- Posts: 2852
- Joined: Sat Nov 20, 2010 7:13 pm
- Location: North East UK
Re: Pyramide Software - Some Freeware
Done!RWAP wrote:This is excellent work.
Can the admins split off the topic to create a new topic about Tridim please (as original topic was all about Pyramide releasing some programs as freeware).

Great work too!
-
- Aurora
- Posts: 970
- Joined: Tue Dec 17, 2013 1:17 pm
Re: Pyramide Software - Some Freeware
Yes. At the moment the decompiler can only decompile the Tridim program. It was written especially to decompile Tridim, It needs some work to make it a bit more versatile.Derek_Stewart wrote:Hi Martin,
Great work, I have had a quick look at the Manip and updated Tridim programme.
I was interested in this comment:Did you decompile a Supercharged programme.Martin_Head wrote: I have decompiled the original Tridim program back to SuperBASIC and made it work in SMSQ/E.
Due to the way SuperCharge codes the original SuperBASIC program, I doubt that my program would ever be fully automated and able to de compile without human intervention.
-
- Font of All Knowledge
- Posts: 4684
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: Tridim - the 3D modelling program
Hi Martin,
I was trying to reverse engineer the the Turbo compile process, by disassembling the Turbo object code and produce the intermediate code, then make a look up table to list all the Superbasic commands with links to the libraries.
You seem to of done a better job than me.
I was trying to reverse engineer the the Turbo compile process, by disassembling the Turbo object code and produce the intermediate code, then make a look up table to list all the Superbasic commands with links to the libraries.
You seem to of done a better job than me.
Regards,
Derek
Derek
-
- Aurora
- Posts: 970
- Joined: Tue Dec 17, 2013 1:17 pm
Re: Tridim - the 3D modelling program
I don't know how close Turbo is to SuperCharge. In SuperCharge the "coded" version of the original SuperBASIC program is mainly a list of references to machine code routines (libraries?). Which of these routines, and the order they appear depends on the original SuperBASIC program. So I had to manually look at these routines to determine what each one did. So the decompiler program would know how to interpret it. This is why the decompiler only works for Tridim at the moment. Because it only knows how to deal with the routines that exist (and in that order) in that particular program.Derek_Stewart wrote:Hi Martin,
I was trying to reverse engineer the the Turbo compile process, by disassembling the Turbo object code and produce the intermediate code, then make a look up table to list all the Superbasic commands with links to the libraries.
You seem to of done a better job than me.
To decompile another program, requires manually going through the routines again. This is why I doubt that my program could be fully automated, unless someone could write some clever code that could that could identify what the routines did. It could perhaps compare the routines with some kind of a reference library.
-
- Font of All Knowledge
- Posts: 4684
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: Tridim - the 3D modelling program
Hi Martin,
I have compared a Supercharge and Turbo compiled programme, the SuperBasic commands look to appear at the same point. There maybe be some sort of common data structure between the two. Since Turbo is supposed to be an enhanced Supercharge Compiler.
I was reading the Turbo manuals when I was in disposed, I will resume this and get a better insight into the way Turbo is structured.
I do not have any Supercharge manuals except for the Updates in the DP Collection, do you have the Surpercharge that I could scan?
I have compared a Supercharge and Turbo compiled programme, the SuperBasic commands look to appear at the same point. There maybe be some sort of common data structure between the two. Since Turbo is supposed to be an enhanced Supercharge Compiler.
I was reading the Turbo manuals when I was in disposed, I will resume this and get a better insight into the way Turbo is structured.
I do not have any Supercharge manuals except for the Updates in the DP Collection, do you have the Surpercharge that I could scan?
Regards,
Derek
Derek