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 456 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Stack problem
wahorger

Replies: 22
Views: 627

PostForum: 64-bit   Posted: Wed Aug 08, 2018 2:34 am   Subject:
Without a stack, recursion would be near impossible. I remember writing a "re-entrant" routine years ago as part of my CS degree. This predated stack oriented processors, so we had to handle ...
  Topic: Stack problem
wahorger

Replies: 22
Views: 627

PostForum: 64-bit   Posted: Wed Aug 08, 2018 2:34 am   Subject:
Without a stack, recursion would be near impossible. I remember writing a "re-entrant" routine years ago as part of my CS degree. This predated stack oriented processors, so we had to handle ...
  Topic: CALLBACK_REASON response ? in %gr callback
wahorger

Replies: 31
Views: 2564

PostForum: ClearWin+   Posted: Thu Jul 12, 2018 5:07 pm   Subject:
I did not know about the %id, so this is good. For simple selections, I can see that this would be helpful.

Personally, I use a specific value, and have a set of generic callback functions (1 throu ...
  Topic: CALLBACK_REASON response ? in %gr callback
wahorger

Replies: 31
Views: 2564

PostForum: ClearWin+   Posted: Thu Jul 12, 2018 3:42 pm   Subject:
From my experience, the use of %bt without providing a call back, %bt will always return a zero.
  Topic: changing the stack at runtime?
wahorger

Replies: 5
Views: 374

PostForum: Support   Posted: Fri May 25, 2018 5:12 pm   Subject:
So, this is a 64-bit application, right? Just curious...
  Topic: Speaking of stacks....
wahorger

Replies: 27
Views: 1641

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: 1641

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: 1641

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: 1641

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: 1641

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: 1641

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: 1641

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: 1641

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: 1641

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: 785

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 ...
 
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