forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 451 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Speaking of stacks....
wahorger

Replies: 27
Views: 847

PostForum: Support   Posted: Mon Apr 30, 2018 2:53 pm   Subject:
Paul, thanks for taking a look at the includes.

Resolved: Routine names missing at link time. I have tried to replicate the issue with the routine names not linking to the executable. I have tried ...
  Topic: Speaking of stacks....
wahorger

Replies: 27
Views: 847

PostForum: Support   Posted: Mon Apr 30, 2018 4:45 am   Subject:
Paul, it seems to scan C:\Windows\System32\OpenGL32.dll. It is listed in the linker map. That doesn't mean, however, that those routines are actually there. On my laptop, there are two different Openg ...
  Topic: Speaking of stacks....
wahorger

Replies: 27
Views: 847

PostForum: Support   Posted: Sun Apr 29, 2018 5:28 am   Subject:
After correcting the opengl.ins issues (local copy with edits), I got the following results.

1. Three routines in opengl.ins are not found in the opengl32.dll. This is odd, but Dan doesn't use thes ...
  Topic: Speaking of stacks....
wahorger

Replies: 27
Views: 847

PostForum: Support   Posted: Sat Apr 28, 2018 4:06 am   Subject:
Paul, thanks for the update.

I tried including the opengl.ins, but my source is .for, with wide_source enabled and the include file doesn't support this. I've run into this before, and could use so ...
  Topic: Speaking of stacks....
wahorger

Replies: 27
Views: 847

PostForum: Support   Posted: Fri Apr 27, 2018 4:01 pm   Subject:
So, here is an example of what can happen with a messed up stack pointer.

The code segments below were run under Plato as Release WIN32 with the options: /SAVE /WIDE_SOURCE /EXPLIST /FPP /CFPP

...
  Topic: Speaking of stacks....
wahorger

Replies: 27
Views: 847

PostForum: Support   Posted: Fri Apr 27, 2018 2:00 pm   Subject:
Thanks, mecej4,

There can be negative ramifications for the stack pointer being manipulated/"adjusted" while the current routine is running. If the stack pointer is incremented (equivalen ...
  Topic: Speaking of stacks....
wahorger

Replies: 27
Views: 847

PostForum: Support   Posted: Thu Apr 26, 2018 5:26 pm   Subject:
Just as another possible reason why I can get things to crash (or not), it appears that the HEAP and STACK are allocated after the .reloc (reference the Section Map), and in that order, HEAP first, th ...
  Topic: Speaking of stacks....
wahorger

Replies: 27
Views: 847

PostForum: Support   Posted: Wed Apr 25, 2018 8:38 pm   Subject:
N.B.: When I moved the looped sections of OpenGL from the Main to a subroutine (so the routine will get called 360 times), the program crashed after the first iteration. Moving the code back into Main ...
  Topic: Speaking of stacks....
wahorger

Replies: 27
Views: 847

PostForum: Support   Posted: Wed Apr 25, 2018 5:58 pm   Subject: Speaking of stacks....
I was befuddled by a OpenGL error. The program would crash when a Fortran I/O statement was executed after about 150 iterations. If I removed the I/O statement, it works well. I suspected a stack issu ...
  Topic: OpenGL Versaion
wahorger

Replies: 8
Views: 416

PostForum: General   Posted: Tue Apr 24, 2018 9:00 pm   Subject:
Dan,

I've found a few examples from DJIP, but it's usually a comment or a forum response. No coding examples.

I was "successful" in getting my application to write the graphics to the ...
  Topic: OpenGL Versaion
wahorger

Replies: 8
Views: 416

PostForum: General   Posted: Mon Apr 23, 2018 6:41 pm   Subject:
Thanks, Paul. Very helpful.
  Topic: How program knows that it is 64bit or 32bit?
wahorger

Replies: 9
Views: 332

PostForum: 64-bit   Posted: Mon Apr 23, 2018 6:40 pm   Subject:
Dan, yes, I was also unable to get the value to "show up". Also, the SPECIAL PARAMETER statement does no eliminate the error if IMPLICIT NONE is specified.

That said, the #ifdef and #endi ...
  Topic: How program knows that it is 64bit or 32bit?
wahorger

Replies: 9
Views: 332

PostForum: 64-bit   Posted: Sat Apr 21, 2018 11:21 pm   Subject:
Examples:

This one allows me to set a parameter that defines an array size. The variable named, if it is NOT a /VPARAM, sets the parameter via the #else side.

#ifdef RESTRICTED
INTEGER*4,PARAM ...
  Topic: How program knows that it is 64bit or 32bit?
wahorger

Replies: 9
Views: 332

PostForum: 64-bit   Posted: Sat Apr 21, 2018 10:56 pm   Subject:
You could use /VPARAM and set the variable to a value when it is compiled.

In the Help file, under the 64 bit ClearWin+ section (Parallel Development using FTN95) is also described how one can use ...
  Topic: OpenGL Versaion
wahorger

Replies: 8
Views: 416

PostForum: General   Posted: Fri Apr 20, 2018 10:39 pm   Subject:
Digging in to the .ins file and not finding some higher version parameters, it would appear that the version is 1.1.

But, that is simply a guess!
 
Page 1 of 31 Goto page 1, 2, 3 ... 29, 30, 31  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group